2026-10-18 01:54:06 +03:00
|
|
|
[package]
|
|
|
|
|
name = "chesspenguin"
|
|
|
|
|
description = "Chess database for Linux: view, enter and analyse PGN games with UCI engines"
|
|
|
|
|
version.workspace = true
|
|
|
|
|
authors.workspace = true
|
|
|
|
|
repository.workspace = true
|
|
|
|
|
homepage.workspace = true
|
|
|
|
|
edition.workspace = true
|
|
|
|
|
rust-version.workspace = true
|
|
|
|
|
license.workspace = true
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
|
chess-core.workspace = true
|
Open ChessBase databases (.cbh, .cbv) and zip/7z archives
New crate chess-import converts non-PGN sources to PGN in memory and returns
a PgnDatabase, so the library, notation and analysis work unchanged:
- .cbv archives (container rewritten after uncbv), .cbh with companion files
(layout after the public Morphy format description): games, variations,
comments with per-database code page detection, NAGs, squares/arrows, set-up
positions, time spent, book chapters (guiding texts) as move-less records;
- ChessBase figurines become piece letters, diagram/object markers handled,
Western names in Cyrillic databases read correctly;
- .zip/.7z with PGN (own encoding each), .cbh and .cbv; duplicates skipped;
- .cbz/encrypted archives and 2CBH rejected with clear messages.
Library: '+ Add database', format shown, import notes; comments keep
paragraph breaks. Tests on the user's sample books (skipped when absent).
Also: AUR PKGBUILD for 0.2.0 with the bundled Stockfish.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 13:18:27 +03:00
|
|
|
chess-import.workspace = true
|
2026-10-18 01:54:06 +03:00
|
|
|
shakmaty.workspace = true
|
|
|
|
|
uci.workspace = true
|
|
|
|
|
egui.workspace = true
|
|
|
|
|
eframe.workspace = true
|
|
|
|
|
egui_extras.workspace = true
|
|
|
|
|
image.workspace = true
|
|
|
|
|
rfd.workspace = true
|
|
|
|
|
arboard.workspace = true
|
|
|
|
|
rodio.workspace = true
|
|
|
|
|
directories.workspace = true
|
|
|
|
|
serde.workspace = true
|
|
|
|
|
serde_json.workspace = true
|
2026-10-19 09:33:37 +03:00
|
|
|
# Downloading the official Stockfish on request (decision 14).
|
|
|
|
|
ureq = "3.4"
|
|
|
|
|
flate2 = "1.1"
|
|
|
|
|
tar = "0.4"
|
|
|
|
|
sha2 = "0.11"
|
|
|
|
|
zip = { version = "9.0.5", default-features = false, features = ["deflate-flate2-zlib-rs"] }
|
2026-10-18 01:54:06 +03:00
|
|
|
|
2026-10-19 12:24:40 +03:00
|
|
|
# The system language for the first start.
|
|
|
|
|
sys-locale = "0.3"
|
Translation of game comments
When a game's comments are in another language, ChessPenguin offers to translate
them into the reader's: with the ChatGPT Plus/Pro subscription (Sign in with
ChatGPT: OAuth with PKCE in the browser, a loopback callback, tokens refreshed
one at a time), or an OpenAI-compatible API key (DeepSeek, OpenAI, Gemini, a
model on this computer with Ollama or LM Studio, another address). After the
first consent, games in other languages are translated as they are opened;
[Original | Translation] (Ctrl+Shift+T) switches back.
Only comment text is sent; the model gets strict instructions and a glossary,
and every answer must keep the moves and squares of the original, or the
comment stays in the original with a mark. Translations are never written to
the PGN; a cache keeps them per language. Keys and tokens live in a 0600 file
apart from the settings. Settings › Translation holds the target language,
when to translate, the connection, permissions and the cache.
Also: the monospace font and three glyphs of Noto Sans Math are text fallbacks,
so arrows and the evaluation signs ⩲ ⩱ ⌓ no longer show as boxes.
Reviewed by the designer and the tester agents (two rounds).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 21:03:03 +03:00
|
|
|
whatlang = "0.18.0"
|
|
|
|
|
getrandom = "0.3"
|
|
|
|
|
base64 = "0.22"
|
|
|
|
|
form_urlencoded = "1"
|
2026-10-19 12:24:40 +03:00
|
|
|
|
2026-10-18 01:54:06 +03:00
|
|
|
[build-dependencies]
|
|
|
|
|
winresource = "0.1"
|
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
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
|
skrifa = "0.44"
|