{"id":51485556,"url":"https://github.com/edygert/gutenberg-browser","last_synced_at":"2026-07-07T06:02:01.589Z","repository":{"id":366255990,"uuid":"1275628207","full_name":"edygert/gutenberg-browser","owner":"edygert","description":"A terminal UI for browsing and searching Project Gutenberg metadata, built with Textual and SQLite FTS5.","archived":false,"fork":false,"pushed_at":"2026-06-21T01:08:10.000Z","size":111,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-21T02:12:36.914Z","etag":null,"topics":["cli","ebooks","fts5","full-text-search","project-gutenberg","python","sqlite","terminal","textual","tui"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edygert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-21T00:15:17.000Z","updated_at":"2026-06-21T01:08:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/edygert/gutenberg-browser","commit_stats":null,"previous_names":["edygert/gutenberg-browser"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/edygert/gutenberg-browser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edygert%2Fgutenberg-browser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edygert%2Fgutenberg-browser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edygert%2Fgutenberg-browser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edygert%2Fgutenberg-browser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edygert","download_url":"https://codeload.github.com/edygert/gutenberg-browser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edygert%2Fgutenberg-browser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35216572,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-07T02:00:07.222Z","response_time":90,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","ebooks","fts5","full-text-search","project-gutenberg","python","sqlite","terminal","textual","tui"],"created_at":"2026-07-07T06:02:00.789Z","updated_at":"2026-07-07T06:02:01.582Z","avatar_url":"https://github.com/edygert.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gutenberg Browser\n\nA terminal UI for browsing and searching Project Gutenberg metadata. Built with\n[Textual](https://textual.textualize.io/) and a local SQLite full-text (FTS5) index.\n\n## Requirements\n\n- Python 3.10+\n- [uv](https://docs.astral.sh/uv/)\n- `rdf-files.tar.zip` — the Project Gutenberg RDF/XML metadata catalog, placed in the\n  project root. The app can fetch this for you (see [Updating the index](#updating-the-index)),\n  or you can [download it manually](https://www.gutenberg.org/cache/epub/feeds/rdf-files.tar.zip).\n\n## Running the app\n\nFrom the project root (the directory containing `rdf-files.tar.zip`):\n\n```bash\nuv run gutenberg-browser\n```\n\n`uv` creates the virtual environment and installs dependencies automatically on\nfirst run.\n\nOn first launch the app builds `gutenberg.db` from `rdf-files.tar.zip` (a one-time\nindexing pass over ~78k records — this takes a while). Subsequent launches open\ninstantly against the existing database.\n\n### Updating the index\n\nFetch the latest catalog from gutenberg.org and update the index in one step:\n\n```bash\nuv run gutenberg-browser --download\n```\n\n`--download` works even when no `rdf-files.tar.zip` is present yet, so it doubles as the\neasiest way to get started.\n\nIf you've already obtained a newer `rdf-files.tar.zip` yourself:\n\n```bash\nuv run gutenberg-browser --update    # incrementally index changed/new records\nuv run gutenberg-browser --reindex   # drop and rebuild the index from scratch\n```\n\nYou can also refresh the catalog from inside the running app — press `d` (see key\nbindings below). The app reindexes automatically if the FTS schema in `gutenberg.db` is\nout of date.\n\n## Using the app\n\n- Type to search across titles, authors, subjects, bookshelves, and summaries.\n- Filter results by language and sort by **Alpha**, **Downloads**, or **Relevance**\n  (relevance requires an active search query).\n\n### Key bindings\n\n| Key      | Action            |\n| -------- | ----------------- |\n| `/`      | Focus search      |\n| `o`      | Open book in browser |\n| `d`      | Refresh catalog (download latest + reindex) |\n| `Escape` | Clear search      |\n| `q`      | Quit              |\n\n## Development\n\n```bash\nuv sync                        # install dependencies (incl. dev tools)\nuv run textual run --dev src/gutenberg_browser/app.py   # run with the Textual devtools\n```\n\n## Project layout\n\n```\nsrc/gutenberg_browser/\n  __main__.py        # CLI entry point (argument parsing, launch)\n  app.py             # Textual App, screens, key bindings\n  db.py              # SQLite schema, search queries, FTS\n  indexer.py         # RDF parsing and (incremental) indexing\n  models.py          # data models\n  widgets/           # search panel, detail panel, progress screen\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedygert%2Fgutenberg-browser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedygert%2Fgutenberg-browser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedygert%2Fgutenberg-browser/lists"}