Repository navigation
scribe 0.2.0
0.2.0
Security and robustness review, English interface, real screenshots.
New
- English and Turkish interface. The
uisetting isauto(follows$LANG),troren, and the settings panel has a selector. The helper scripts speak the same language. SECURITY.md, a unit test suite (27 tests) and CI (ruff,shellcheck, tests).- Screenshots of the real overlay on the Hyprland Wikipedia article, in both languages. The website swaps them when you change language (
?lang=en/?lang=tralso works). scribe.sh checkand a start-up dependency check: a missinggrim,wl-copy,tesseract,python-numpyorpython-pillowis reported by name instead of failing silently.
Security and memory
- Settings moved to
~/.config/scribe/settings.json, written byconfig.py(strict keys, types and ranges, mode 600, atomic rename). The module folder is never written to. - The screenshot lives only in
$XDG_RUNTIME_DIR/scribe(mode 700, enforced even on a directory an older version created), is deleted when the overlay closes, and there is no/tmpfallback. ocr.pyonly opens scribe's own screenshot, caps the selection (36 MP) and the decoder (120 MP), times every tesseract run out (60 s), returns at most 4000 words of at most 120 sanitised characters, andscribe.sh readcuts its output at 4 MiB.- Language downloads: HTTPS and GitHub hosts only (redirects included), 64 MiB cap, minimum size, private temp file renamed into place.
- The package manager path no longer exists in the code: scribe only shows the command or types it into your terminal.
install --pmandpkexecare gone. install.shvalidates--key, refuses to delete a folder that is not a scribe install, and keeps working in locales where[A-Z]is not plain ASCII (it failed withLANG=tr_TR).- Developer IPC helpers answer only while
$XDG_RUNTIME_DIR/scribe-devexists.
Fixed
- A read cancelled with Esc could finish later and bring the overlay back. Cancel now stops the process and late output is ignored; a read that never ends is cancelled after 90 s.
- The install-method card could still be open the next time the overlay was shown.
- English strings no longer clip in the install card.