Commit graph

22 commits

Author SHA1 Message Date
vrubelroman
12e4c7d5e9 Website: Android screenshots first for a visitor on Android
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Seven phone screens one by one (home with a put-aside game, a database's
games, the Opera game, Stockfish, the play sheet, «Who to play», a game
against Rodent IV) open the gallery and the lightbox on Android, under «On
the phone», before «On the computer»; the hero shows the four phone screens.
Other visitors see the page as before. Nine languages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 15:47:09 +03:00
vrubelroman
95572c530b Website: nine screenshots (play against the computer, Android) and the texts for 1.6
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
The owner's choice: the game, the engine, the reference, the report, the
play dialog (Rodent V, Tal), Android (dark, four screens), filters, position
search, the looks; translation, variations, marks, preview, library and
online go. The play section: Maia 600–2600 and Rodent V 800–3000 on their
own scales, draw offers, games written to the player's database; the hero
and Android texts. The screenshot script follows the new set.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:50:11 +03:00
vrubelroman
75692ede4d Site: the big clouds are machines, not people
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
A Windows installation 'in Cheyenne' right after a release is Microsoft's scanner running
the new program in Azure. The DB-IP Lite ASN database (fetched like the city one) tells
the networks of Microsoft, Amazon, Google, Oracle, Alibaba, Tencent and IBM apart: their
launches are not counted or announced, their downloads and visits count as crawlers.
Small hostings are left alone: people's VPNs run on them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 14:58:38 +03:00
vrubelroman
37c98e439f Site stats: people only, one story from the main numbers down
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
- Main numbers: site visitors, downloads, new and running installations — today, 7 and
  30 days, all time. Nothing about what was left out.
- Two 30-day charts: the site (visitors, downloads), the programs (installations that
  ran, new ones).
- Platforms: one row per family (Windows, macOS, Linux, Android) with downloads and
  installations, the variants under it; no separate Android and installations tables.
- Versions in use, countries and cities, where visitors came from, page languages.
- Latest events: downloads by people and new installations, in one list.
- Grids and day labels fit a phone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 14:32:59 +03:00
vrubelroman
a1403d04b0 Site: notices name the city too; the privacy line says cities are counted
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 14:26:51 +03:00
vrubelroman
df2ee6f528 Installation counter after review: strict input, limits, country only, GitHub outages
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
- /api/update takes a 32-hex id, an x.y.z version and a known platform; at most 5 new
  installations a day per address are counted (made-up ids do not flood the bot).
- A download's notice: once a day per file and visitor; notices name the country only,
  as the texts promise; Android's text also says the system is sent.
- The release cache is not locked while GitHub is asked (one request asks, the others
  get what is known); after a failure GitHub is asked again in a minute, not on every
  request.
- An unrecognised desktop installation counts as 'other'; the bot logs a wrong token or a
  second listener; .env.example lists the bot's settings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 14:08:05 +03:00
vrubelroman
d15989bff1 Site: notices to the owner's Telegram bot and /stat
Downloads by people, new installations, updates and a day's first run of an installation
go to the owner's chat; /stat answers with today and all time (downloads, installations,
active in 7 and 30 days, by platform). Installations are numbered in the order they first
ran (installs table). Configured with TELEGRAM_TOKEN and TELEGRAM_CHAT; off without them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 13:57:07 +03:00
vrubelroman
a87d3e9f44 Site: clippy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 13:45:20 +03:00
vrubelroman
1edbbda368 Count installations that run: the update check goes through the site
The programs (desktop, Android) ask https://chess.vrubel.xyz/api/update for the latest
release instead of GitHub, with a random id of the installation (made once, kept in the
settings), the version and the platform; the site passes GitHub's answer on and keeps one
row per installation and day (no IP; the country of the address). Without the site the
programs ask GitHub, uncounted; with the update check off nothing is sent. /stats shows
installations that ran today, in 7 and 30 days, in all and new ones, by platform and
version. The texts about the update check and the site's privacy line say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 13:45:15 +03:00
vrubelroman
9734108b83 Portuguese (Brazil), Uzbek (Latin) and Kazakh (Cyrillic) on the desktop, Android and the site
Nine interface languages. The system's language is picked up; Portuguese notation has its
own piece letters (R D T B C), Uzbek and Kazakh keep the Latin ones (the 'letters of
the language' choice is not offered for them). Uzbek o'/g' are written with U+2018 on
the desktop, whose font has no U+02BB. Comment translation targets the new languages too.
The shelf's two side cards widen for a longer label.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 12:48:03 +03:00
vrubelroman
0594e819d2 Site stats: download times in the server's zone (МСК), like the days
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 12:04:33 +03:00
vrubelroman
78ef78fda1 Site: no «free and open source» line; recent downloads without bots, long cells wrap
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 11:58:22 +03:00
vrubelroman
d13147079e Site: the Android button offers the build without Stockfish first
Some checks are pending
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 00:33:33 +03:00
vrubelroman
356384b13e Site: the Android button's texts reach the page; platform links show the download heading
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
The page script gets only the texts listed in CLIENT_KEYS; the Android ones were missing,
so a phone saw "btn_android". A test now checks every text the script uses. A link to a
platform (Android, Linux…) scrolls to the start of the download section instead of the
panel under its tabs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 22:20:26 +03:00
vrubelroman
ba00887cc2 Site: downloads go straight to the file; Android in the stats
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
A phone with the GitHub app asks to open github.com links in it; the server now asks
GitHub where the release file is and sends the browser there (the usual link when
GitHub does not answer). Stats: the Android share in the summary, both builds with the
downloads left out of the counts, readable names of the files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 21:00:07 +03:00
vrubelroman
de5ca02a82 Android: design review fixes, icon, signed releases, the site's Android downloads
- The design review (docs/design/android-ui.md §17): the move buttons in the
  bottom bar (snackbars above them), ripple on press, larger ◀ ▶, coordinates
  over the pieces, readable NAG colors in the light theme, 16 dp edges, the
  ⋮ menu (game details, copy PGN/FEN, share), "Deeper" next to ▾, TalkBack
  states, no "*" for unfinished games, "Found N of M", texts.
- The penguin as the adaptive icon and on the splash screen; dark window.
- Release builds: R8, signing from the environment, androidApp/scripts/release.sh
  (two APKs, apksigner and 16 KB alignment checks); the release workflow builds
  them from the repository secrets.
- Website: the Android tab with both APKs, "Download for Android" on phones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 01:57:03 +03:00
vrubelroman
005601afb2 Website: new features and fresh screenshots; no missing glyphs in the app
The site lists the reference tab, games from Lichess and Chess.com, translated
comments and self-update, and the notation and animation under "Make it
yours", in six languages. Thirteen screenshots (three new: reference,
translation, online games) on the owner's green board with Merida pieces, the
"looks" one on another board. The translation shot shows a real ChatGPT
translation of our own German comments to Reti-Tartakower 1910, put into the
screenshot cache once (shots/translate-for-shots.py); the shots send nothing.

The app: "✕" next to the Chess.com nickname, "⌂" in board search and "✓" in
translation texts had no glyph (empty boxes): replaced by the bundled 🗙, 🏠
and ✔. A test now checks every character of the translations and the string
literals against the character maps of the bundled fonts. The online games dev
hook takes two nicknames.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 23:47:14 +03:00
vrubelroman
c66117e387 Email: copy the address instead of a bare mailto link; drop the checksum how-to from the site
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 17:34:38 +03:00
vrubelroman
148a02f308 Website: clear macOS first-launch instructions; no /donate for now
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
The macOS download section and the "download started" panel explain in advance that
macOS warns about every app not signed by Apple, quote what it says, and give both ways
to allow ChessPenguin once (System Settings step by step, or one Terminal command with a
copy button); Mac visitors get a link to it under the hero button. The /donate redirect
is removed until a donation service is chosen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 15:32:03 +03:00
vrubelroman
507e44b6ae Settings → About: version, website, release notes, sources, support, donations
Some checks are pending
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
The About tab shows the version and links to the website (in the interface language),
the release notes of this version, the source code and the support contacts; "Support
the project" opens chess.vrubel.xyz/donate, which the website server sends on to
DONATE_URL (the support section while it is not set), so the donation service can change
without a new release. Links open in the browser (eframe "links": webbrowser, MIT OR
Apache-2.0).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 15:11:25 +03:00
vrubelroman
96e5142826 Website stats: page visitors, conversion, bots filtered out
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
site.js reports page views (POST /hit), so crawlers that do not run JavaScript are
not visitors. Downloads and views are classified as human, bot (no language, not a
browser, crawler user agent, or three files within ten minutes), owner (the browser
that opened /stats) or local network; only people are counted. Visitors are told
apart by a daily-salted hash, the IP is still not stored. Old rows are reclassified.
The stats page is in Russian: visitors, downloaders, conversion, downloads by period.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 11:45:24 +03:00
vrubelroman
265d9d794b Website: one page in six languages, downloads via the server, download statistics
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Rust server (axum) with server-side translations, OS-aware download buttons,
/download/<platform> redirecting to the latest GitHub release asset and logging
platform, version and geolocated region (no IP stored), password-protected /stats
and /stats.csv. Docker compose setup behind nginx. Ten screenshots taken with new
dev hooks (CP_FILTER, CP_PANE, CP_SORT, CP_BOARD).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 11:00:10 +03:00