grimmoire
A small terminal spellbook for Library Genesis: search, stream a book to a temp cache, open it in zathura for a quick read, then either keep it in a persistent collection folder or discard it.
- Type-to-filter TUI for picking from search results.
- Books stream to a temp cache first; only kept on explicit confirmation.
- Two-tier storage: ephemeral cache + persistent collection (XDG-compliant).
- Top-level menu: search / browse / delete.
Requirements
- Python 3.10+
- zathura installed at the system level (via your package manager)
Installation
pipx keeps grimmoire in an isolated venv but exposes the grimmoire
command on your PATH:
pipx install grimmoire
Or with pip:
pip install --user grimmoire
To install from a working copy of this repo (e.g. for development), see DEVELOPING.md.
Usage
grimmoire
Then choose what to do from the menu:
- Search Library — search, pick a book (preferring EPUB), download, open in zathura. After reading, choose Keep (default) or Discard.
- Browse my collection — pick a saved book, open in zathura. After reading, choose Delete (default: keep).
- Delete from collection — pick a saved book, confirm, delete. (No zathura; for batch pruning without re-reading each one.)
Ctrl+C cancels any prompt.
Storage
Storage follows the XDG Base Directory Specification:
- Cache (in-flight downloads):
$XDG_CACHE_HOME/grimmoire/tmp/(default~/.cache/grimmoire/tmp/) - Collection (kept books):
$XDG_DATA_HOME/grimmoire/library/(default~/.local/share/grimmoire/library/)
The collection folder is created automatically on first use.
License
GPLv3
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file grimmoire-0.1.0.tar.gz.
File metadata
- Download URL: grimmoire-0.1.0.tar.gz
- Upload date:
- Size: 21.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5343b80ca9f4cd8cd7205005770d2f53565efa1f4e584e48bd60f343e925419
|
|
| MD5 |
0054af10dd47e3a7caa57c0ed8abeffb
|
|
| BLAKE2b-256 |
41bd92a47d458a2318de067d0912c88a9f06436db6de5dad09b8fe9123d77f82
|
Provenance
The following attestation bundles were made for grimmoire-0.1.0.tar.gz:
Publisher:
publish.yml on f2e6/grimmoire
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
grimmoire-0.1.0.tar.gz -
Subject digest:
a5343b80ca9f4cd8cd7205005770d2f53565efa1f4e584e48bd60f343e925419 - Sigstore transparency entry: 2256747355
- Sigstore integration time:
-
Permalink:
f2e6/grimmoire@05cbf6dd735eb141ad0b033438d939598d07a295 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/f2e6
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@05cbf6dd735eb141ad0b033438d939598d07a295 -
Trigger Event:
push
-
Statement type:
File details
Details for the file grimmoire-0.1.0-py3-none-any.whl.
File metadata
- Download URL: grimmoire-0.1.0-py3-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4711bea0870f5dd37d4774d52c84dc44b2377ac9bd8b3256bffd12a63a24fab3
|
|
| MD5 |
9fc5bf10d84bbf9c7804fe2ddb10dd0b
|
|
| BLAKE2b-256 |
dff149c20237e7ae39e20150bb005f8c7635f13b7f46205b84c55fea192150c2
|
Provenance
The following attestation bundles were made for grimmoire-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on f2e6/grimmoire
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
grimmoire-0.1.0-py3-none-any.whl -
Subject digest:
4711bea0870f5dd37d4774d52c84dc44b2377ac9bd8b3256bffd12a63a24fab3 - Sigstore transparency entry: 2256747365
- Sigstore integration time:
-
Permalink:
f2e6/grimmoire@05cbf6dd735eb141ad0b033438d939598d07a295 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/f2e6
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@05cbf6dd735eb141ad0b033438d939598d07a295 -
Trigger Event:
push
-
Statement type: