Skip to main content

A graphical registry editor for Librarian2 resource registries

Project description

Lion's Librarian

A graphical registry editor for Librarian2 resource registries.


Lion's Librarian screenshot


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

lions_librarian-0.1.3.tar.gz (29.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lions_librarian-0.1.3-py3-none-any.whl (40.7 kB view details)

Uploaded Python 3

File details

Details for the file lions_librarian-0.1.3.tar.gz.

File metadata

  • Download URL: lions_librarian-0.1.3.tar.gz
  • Upload date:
  • Size: 29.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for lions_librarian-0.1.3.tar.gz
Algorithm Hash digest
SHA256 0857ad40f5727702a455e43724d18339b415582758168f6fd43fb47ff5546a87
MD5 6ba8c748fdd3f0c3f7039d5184a2755f
BLAKE2b-256 003317dc1d5cf9cb760ecdd61beae660ed776036c4efbf92c7f42a0ebbd3e60c

See more details on using hashes here.

File details

Details for the file lions_librarian-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for lions_librarian-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 35e407cef654820b099bfc67d059d251320afe209c1ef4353f818af9719a1cb5
MD5 f50c3b5c00d54fb5e179868eb810f149
BLAKE2b-256 221d96908700a0f273a660630c3f6660ad393be810bec722d1c26dfc64392299

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page