A graphical registry editor for Librarian2 resource registries
Project description
Lion's Librarian
A graphical registry editor for Librarian2 resource registries.
What is it?
Lion's Librarian is a desktop GUI for editing Librarian2 resource registries — JSON files that catalogue resources like files, folders, URLs, and programs with structured metadata (purpose, tags, type, location, and more).
Think of it as a personal card catalogue: each entry describes one resource and where to find it, and the registry is the collection. Lion's Librarian makes it easy to browse, add, edit, reorder, and delete entries without hand-editing JSON.
Why would you want it?
The primary purpose is to maintain a single resource you can point LLMs at. Instead of explaining your environment to every new AI session — what files exist, where tools live, what each thing is for — you keep one registry file that answers all of those questions. Point an LLM at it and it immediately knows what's around and where to find it.
Beyond that:
- You maintain a collection of documents, specs, datasets, or tools and want a structured index of them
- You work with Patchboard components and want to emit registry entries onto the message bus
- You want a lightweight alternative to a database for personal resource management
- You prefer a form-based editor to raw JSON but still want direct access when needed (Ctrl+J toggles between form and raw JSON views)
Installation
Requires Python 3.10 or later.
pip install lions-librarian
Running
librarian
To open a specific registry file on launch:
librarian --path.registry path/to/registry.json
To configure the default registry path persistently:
librarian set path.registry path/to/registry.json
Basic usage
| Action | How |
|---|---|
| Add an entry | Entry → Add File / Folder / URL / Program |
| Edit an entry | Select it in the index, edit fields, press Ctrl+Enter or Apply |
| Save | Ctrl+S |
| Open a registry | Ctrl+O |
| Toggle form / raw JSON | Ctrl+J |
| Reorder entries | Ctrl+Up / Ctrl+Down |
| Delete an entry | Select it, press Delete |
| Emit to Patchboard | Ctrl+E |
Configuration
Configuration is stored in .librarian2/config.json in your working directory. Use the built-in set command to adjust settings:
librarian set path.registry path/to/registry.json
librarian set patchboard.title "My Librarian"
librarian set patchboard.pollinginterval 1000
librarian keys
Project details
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 lions_librarian-0.1.2.tar.gz.
File metadata
- Download URL: lions_librarian-0.1.2.tar.gz
- Upload date:
- Size: 29.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2841f3129308b92a2b948403bef033104112662ba3c12a118684a11745efaaad
|
|
| MD5 |
f4136cf897038d5f6cee1e08995a6062
|
|
| BLAKE2b-256 |
5a0090fb1146f040959f2ac18358eec5705c6bb3f09883d1f9f670053361cfc7
|
File details
Details for the file lions_librarian-0.1.2-py3-none-any.whl.
File metadata
- Download URL: lions_librarian-0.1.2-py3-none-any.whl
- Upload date:
- Size: 40.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66e83122e0d3abee6c146cec7abdccc41d734201921c213ca124919add4031f7
|
|
| MD5 |
eb589d17dea1c5d37ee535f7b1bdc464
|
|
| BLAKE2b-256 |
af949c7c1b1dcd996d633b683de00cc858424abb604ef5d06fa0e59c3fb09ed7
|