Privacy policy

How XiangqiHub handles your data. Last updated 7 November 2026.

We collect as little as possible. This page describes what XiangqiHub stores, why, and what you can do about it. It applies to xiangqihub.com. You can use the lessons, openings, puzzles, analysis board and the computer opponent without an account.

What we collect

Cookies and browser storage

We use only strictly necessary cookies and browser storage, the minimum the site needs to work. When you sign in we set a session cookie named __Host-session: it is HttpOnly, Secure and SameSite=Lax, and it identifies your session only. Short-lived cookies are used during sign-in (__Host-login and __Host-idnonce). Your browser also keeps a few items in local storage: a saved-for-later game when you are not signed in, and display preferences such as the theme. We use no advertising cookies and no analytics or third-party trackers, and we show no ads.

How we use data

Who else handles data

We share data with these providers only so they can run the site for us, and with authorities when the law requires it. The public parts of your profile (display name, public number and saved games) can be seen by anyone.

How long we keep data

Account data is kept while your account exists. Sessions expire after 30 days, or after 7 days without use. Server logs are kept for a short period. We take daily database backups and keep the 14 newest, so data you delete can remain in a backup for up to about two weeks. If you delete your account we delete your personal data, although games stay without your name (see how deletion works).

Your rights

You can see, correct and download your data in Settings: edit your profile and display name, and use Download my data for a JSON file with your profile, up to 1000 recent games and up to 5000 recent puzzle attempts. You can delete your account there too. For anything else, or if you cannot sign in, write to [email protected] from the email address on your account. See how deletion works.

Children

XiangqiHub is not directed at children under 13, and we do not knowingly collect their personal data.

Changes

If we change this policy we will update the date above and, for significant changes, tell signed-in users.