Commit graph

63 commits

Author SHA1 Message Date
vrubelroman
33b3125556 AUR PKGBUILD for chesspenguin-bin 0.8.0
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-20 09:11:34 +03:00
vrubelroman
98183f9ffe Merge feature/online-games: games from Lichess and Chess.com (0.8.0)
Some checks failed
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Release / version (push) Has been cancelled
Release / linux (push) Has been cancelled
Release / flatpak (push) Has been cancelled
Release / windows (push) Has been cancelled
Release / macos (push) Has been cancelled
Release / publish (push) Has been cancelled
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 08:50:18 +03:00
vrubelroman
d0846daf9b ChessPenguin 0.8.0: games from Lichess and Chess.com
Pending Lichess games are asked about by id; broken connections are retried with waits;
a file lock keeps two running ChessPenguins from writing one database.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 08:50:18 +03:00
vrubelroman
e0c99074e2 Online games: anyone's games, one download per database, crash-safe resume, unfinished Lichess games, friendly errors, progress per site
- the window and the shelf speak of any player's games (yours, a pupil's, an opponent's)
- a database is claimed by one download at a time; updates write into the database itself
- merged databases of different nicknames get names of their own
- the state remembers the file length and its last bytes: what a crash appended is cut off
- a deleted database is downloaded again; a partial download goes on the shelf
- Lichess games still being played are fetched once they end (correspondence)
- downloads stop and save on quitting; results show as a toast when the window is closed
- New games button with the time of the last download, disabled offline; 🌐 on online databases

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 08:30:31 +03:00
vrubelroman
68a17acd4e AUR PKGBUILD for chesspenguin-bin 0.7.1
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-20 08:17:06 +03:00
vrubelroman
79a1a43423 Merge main (0.7.1) into feature/online-games
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 08:03:26 +03:00
vrubelroman
149699f70f Online games: one database for both sites (several accounts per database), live test of it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 08:02:12 +03:00
vrubelroman
9a5871d0b0 CI: quote the update test commands (a trailing colon broke the YAML)
Some checks failed
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Release / version (push) Has been cancelled
Release / linux (push) Has been cancelled
Release / flatpak (push) Has been cancelled
Release / windows (push) Has been cancelled
Release / macos (push) Has been cancelled
Release / publish (push) Has been cancelled
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 07:57:35 +03:00
vrubelroman
8c3ed18b12 ChessPenguin 0.7.1: updates
The newest release is checked at start; a button next to Settings offers it. The Windows
zip, the AppImage and the Linux archive replace themselves (checksum-checked) and restart;
macOS opens the disk image; packages are downloaded with the command that installs them.
Reviewed by independent tester and designer agents; their findings fixed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 07:55:59 +03:00
vrubelroman
3e8377dba7 Merge main (0.7.0) into feature/online-games
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 00:25:15 +03:00
vrubelroman
b4621bc077 AUR PKGBUILD for chesspenguin-bin 0.7.0
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-20 00:23:34 +03:00
vrubelroman
d670d63bcc publish-github.sh: publish main and tags only (work-in-progress branches stay on Forgejo)
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-20 00:12:14 +03:00
vrubelroman
eb923234af ChessPenguin 0.7.0
Some checks failed
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Release / version (push) Has been cancelled
Release / linux (push) Has been cancelled
Release / flatpak (push) Has been cancelled
Release / windows (push) Has been cancelled
Release / macos (push) Has been cancelled
Release / publish (push) Has been cancelled
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 00:11:36 +03:00
vrubelroman
24326abeb4 Game view: the board always keeps the full height (side panel capped); Справочник: novelty and copy on the database line
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 00:04:13 +03:00
vrubelroman
5d6a73aff5 Справочник: "Without moves" in the start position, no "comparing" text
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 23:54:48 +03:00
vrubelroman
6b1523b1b9 Справочник: novelty instead of "known up to", "Game over" row, whole rows clickable, leaving asks about each modified game; no second Stockfish offer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 23:48:02 +03:00
vrubelroman
3f16ba50fe Справочник (Reference) tab: moves and games of the current position in a shelf database
Two tables (moves with statistics; strongest/newest games with how they went on), theory
of the game and its copies in the database, a stack of games opened from it with no lost
edits, background work cancellable. Reviewed by independent designer and tester agents;
their findings fixed and re-verified.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 23:20:37 +03:00
vrubelroman
d3c87ae269 Games from Lichess and Chess.com by nickname (feature branch, not released)
Probe of both public APIs at start (hidden when offline or changed), lookup, download
into a database per platform with resumable updates, window and shelf card.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 21:10:22 +03:00
vrubelroman
7f62369dea AUR PKGBUILD for chesspenguin-bin 0.6.3
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 Fable 5.1 <noreply@anthropic.com>
2026-10-19 19:59:35 +03:00
vrubelroman
e11e09aa18 ChessPenguin 0.6.3
Some checks failed
CI / macos-build (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / check (push) Waiting to run
Release / version (push) Has been cancelled
Release / linux (push) Has been cancelled
Release / flatpak (push) Has been cancelled
Release / windows (push) Has been cancelled
Release / macos (push) Has been cancelled
Release / publish (push) Has been cancelled
Opening index: games from a set-up position are left to the pass; exact preparation
progress; quiet import notes; clearer preparation text; randomized Mega test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 19:48:14 +03:00
vrubelroman
4b92fa32de Opening index for large ChessBase bases (first 10 moves, built with the booster, loaded when memory allows); memory guard for big PGN position tables; CP_MEMORY_LIMIT
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-19 19:24:15 +03:00
vrubelroman
1506ebdf26 chesspenguin --bench: timings of a database on this machine; memory probe via sysinfo
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-19 19:07:47 +03:00
vrubelroman
a7d9d599aa Large ChessBase bases: our own search booster when .cbb is missing or stale; skip the booster for early positions
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-19 18:54:22 +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
e50c117f56 AUR PKGBUILD for chesspenguin-bin 0.6.2
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-19 15:58:43 +03:00
vrubelroman
518b036e68 ChessPenguin 0.6.2
Some checks failed
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Release / version (push) Has been cancelled
Release / linux (push) Has been cancelled
Release / flatpak (push) Has been cancelled
Release / windows (push) Has been cancelled
Release / macos (push) Has been cancelled
Release / publish (push) Has been cancelled
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 15:47:15 +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
6168210112 Version 0.6.2 (not released yet); About tab without the donation button for now
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
530f801ae9 AUR PKGBUILD for chesspenguin-bin 0.6.1
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-19 12:41:29 +03:00
vrubelroman
383d34cab5 ChessPenguin 0.6.1
Some checks failed
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Release / version (push) Has been cancelled
Release / linux (push) Has been cancelled
Release / flatpak (push) Has been cancelled
Release / windows (push) Has been cancelled
Release / macos (push) Has been cancelled
Release / publish (push) Has been cancelled
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 12:28:20 +03:00
vrubelroman
9f661c9e3c First start in the system language; sample databases named in it
Some checks are pending
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
The first start (no settings file yet) picks the first of the system's preferred
languages that ChessPenguin has, otherwise English (sys-locale, MIT OR Apache-2.0).
A language chosen in the settings is kept. The sample databases get names in the
interface language.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 12:24:40 +03:00
vrubelroman
673f447491 Sample databases on the first start: 38 classic games and Alekhine's games
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 library is no longer empty at the first start: Classic games (the four annotated
samples plus 34 famous games from Steinitz to Carlsen, each with a short introduction
of our own) and Alekhine (267 games, moves only, the book's commentary removed). They
are built in, written once to the data directory and put on the shelf; a sample
removed from the shelf does not come back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 12:21:09 +03:00
vrubelroman
97d38ec919 Website: a program for chess databases, not a database (titles in six languages, link preview)
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-19 11:58:57 +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
c8e33e4ecd Website deploy: run the image tagged current, so plain compose commands work on the server
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-19 11:15:37 +03:00
vrubelroman
02fc61b88c Website: production compose (port 8140) and deploy script with rollback
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-19 11:12:41 +03:00
vrubelroman
18515fb287 Website container: own the mounted data/, run as an unprivileged user; health start period
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-19 11:11:32 +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
vrubelroman
cb55ddea29 Publish to GitHub without the internal files (Forgejo keeps everything)
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-19 10:15:24 +03:00
vrubelroman
fd3b05284e AUR PKGBUILD for chesspenguin-bin 0.6.0 (Stockfish optional)
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-19 09:58:15 +03:00
vrubelroman
82dfa38b6e ChessPenguin 0.6.0
Some checks failed
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Release / version (push) Has been cancelled
Release / linux (push) Has been cancelled
Release / flatpak (push) Has been cancelled
Release / windows (push) Has been cancelled
Release / macos (push) Has been cancelled
Release / publish (push) Has been cancelled
Stockfish downloaded on request (packages about 14 MB; the Flatpak keeps it
inside), macOS builds for Apple Silicon, position search fixes and the
narrow-window layout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 09:45:48 +03:00
vrubelroman
50eb5e6623 Stockfish on request instead of bundled; macOS (Apple Silicon) builds
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Packages no longer carry Stockfish (about 14 MB instead of 95): the first
analysis without an engine offers to download the official Stockfish 19
"universal" build from GitHub (pinned per platform with its SHA-256, checked
before use, unpacked into the user's local data directory, test-started),
then starts the analysis the user asked for. Settings -> Engines: download
with progress and cancel, "file not found" with download again, removal with
confirmation; "Choose engine file…" for any other engine. A system stockfish
is offered first when there is one. ChessPenguin's Stockfish = bundled
(Flatpak) or downloaded.

macOS: release job and CI job on macos-14 build ChessPenguin.app (icon,
Info.plist, ad-hoc signature) in a .dmg; Homebrew paths for a system
stockfish. Not signed by Apple yet.

Decisions 14-15; design docs/design/engine-download.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 09:33:37 +03:00
vrubelroman
99264f3d24 Search board: number every continuation, not only the first nine
Some checks are pending
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-19 09:15:16 +03:00
vrubelroman
131e4b62fb Position search fixes from QA report 3
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
- The result cache keys on the board's move order too, so "in this move
  order" is not reused from another order of the same position.
- While a search runs, the hover arrow and the position a game opens at
  belong to the rows shown; small databases keep the last result dimmed.
- PGN: a game ending in its chosen occurrence has no next move (it was
  taken from a variation); Collector::add_match_with_next.
- Average rating of a continuation only from games with both ratings.
- Narrow windows: the pane switch stays visible, chips that do not fit
  become "+N more", columns hide by priority, the date becomes the year.
- Ctrl+Shift+Backspace clears all conditions with the position; × for the
  position in small databases; the outcome cache is bounded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 09:03:26 +03:00
vrubelroman
b9eab389c7 AUR PKGBUILD for chesspenguin-bin 0.5.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 09:03:26 +03:00
vrubelroman
998c7dd59f Position search: portable positional reads (the Windows build failed)
Some checks failed
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
Release / version (push) Has been cancelled
Release / linux (push) Has been cancelled
Release / flatpak (push) Has been cancelled
Release / windows (push) Has been cancelled
Release / publish (push) Has been cancelled
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 08:52:08 +03:00
vrubelroman
307c55d8e6 ChessPenguin 0.5.0: find games by position on a board
Some checks are pending
CI / windows-build (push) Waiting to run
CI / check (push) Waiting to run
Release / version (push) Waiting to run
Release / linux (push) Blocked by required conditions
Release / flatpak (push) Blocked by required conditions
Release / windows (push) Blocked by required conditions
Release / publish (push) Blocked by required conditions
The "Board" pane next to the game list (Ctrl+B): moves played on it filter
the list to the games that reach the position by any move order, together
with the filters; the moves played next are listed with games, a results
bar, average rating and last year. Games reached by another order are
marked and "only this order" narrows the list; strongest games first.
A game opens at the found position; "Find in database" (Ctrl+Shift+F)
searches the position of the game on screen.

Large ChessBase databases: a fast main-line walk (moves built from the
board), pruning by material and pawns, the .cbb search booster when valid;
Mega Database: 0.4 s for the starting position, under 0.1 s deeper.
PGN databases and books: positions of all games, variations included,
kept in memory once built.

Also: × to clear filter and search fields; "Open as a new game" opens at
the last move; the "Moves" column is now "Length".

Docs: decision 13, design (docs/design/board-search.md), research
(position-search, position-index), dev notes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 08:42:08 +03:00
vrubelroman
502a235251 AUR PKGBUILD for chesspenguin-bin 0.4.0
Some checks are pending
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-19 01:21:21 +03:00
vrubelroman
34a4a6ad15 ChessPenguin 0.4.0: large ChessBase databases with a filter panel
Some checks failed
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
Release / version (push) Has been cancelled
Release / linux (push) Has been cancelled
Release / flatpak (push) Has been cancelled
Release / windows (push) Has been cancelled
Release / publish (push) Has been cancelled
Mega Database (11.7 million games) opens in under a second: a .cbh with
20,000 records or more is read in place, a game is converted to PGN when
opened. Filter panel on the right (player with suggestions, colour,
opponent, tournament, annotator, years, Elo rule, result, ECO, moves,
comments, variations), applied live in the background with cancellation.

Fixes: a ChessBase game unreadable from its first move (Chess960) crashed
the import; databases mixing UTF-8 and single-byte texts were decoded as
Cyrillic.

Docs: decision 12, design (docs/design/large-databases.md), format research
and acceptance criteria, QA report 2.

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