rabbithole

command module
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2026 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

The Rabbit Hole

CI

The Rabbit Hole finds what is worth your reading time. You describe your interests in plain words; it pulls new items from the sources you follow (RSS/Atom feeds, arXiv, Crossref and Semantic Scholar) and ranks each one against that profile, with a one-line reason for its score. What you get is a reading list ranked by what you actually care about.

Open it in your browser. The Feed page is the day's reading ranked. The Maze page is where you put down tasks or todos, throw ideas at the board before they get away, and keep an eye on the weather.

It runs on your own machine: one binary with the UI inside it, no dependency hell, and state in a local SQLite file, or in Postgres, enabling one store to serve more than one machine. Scoring runs on a local model, any OpenAI-compatible endpoint, or a built-in keyword scorer that needs no model at all.

Status: 0.x. Usable day to day, but the config format and the HTTP API can still change between releases. Anything breaking is called out in the release notes.

What it reads

Source Type Example URL
RSS / Atom feeds rss https://next.redhat.com/feed/
arXiv academic https://arxiv.org/search?q=agentic+coding
Crossref academic https://api.crossref.org/works?q=llm&publisher=ACM
Semantic Scholar academic https://www.semanticscholar.org/search?q=code+agents&min_citations=5
Blogs and news sites without a feed planned

An academic source is a saved search: the URL's host picks the provider and its query says what to look for. See docs/configuration.md.

Requirements

  • A scorer, one of:
    • Ollama running locally (the default)
    • any OpenAI-compatible endpoint, such as vLLM
    • nothing, with the built-in heuristic scorer
  • optionally, Postgres (14 or newer) in place of the SQLite file, if one store has to serve more than one machine
  • Go 1.26+, only to build from source

Install

Release binary

Linux or macOS:

curl -fsSL https://raw.githubusercontent.com/DanielBlei/rabbithole/main/scripts/install.sh | sh

It installs the latest release and can copy the default configs into a rabbithole/ folder where you run it. Archives are also on the Releases page.

From source

git clone https://github.com/DanielBlei/rabbithole.git
cd rabbithole
make build

go install github.com/DanielBlei/rabbithole@latest gives the same binary; copy a config from configs/ (make setup does it in a checkout).

Quickstart

ollama pull qwen3.5:4b   # the default model
make serve               # runs on the shipped example config

Open http://localhost:8080 and hit ingest. The first run fetches the feeds and scores them, which takes a while on a local model; after that the page fills in.

That ranks against the immutable built-in Default profile. Open Settings → Profiles to create or duplicate one for your own interests; the next ingest uses it immediately. Existing scores stay historical until you explicitly choose Rescore recent items, which recomputes the last seven days from stored article data. Add your own sources from the Sources page: an RSS or Atom URL, or pick academic for an arXiv, Crossref or Semantic Scholar search. For the full setup, see docs/quickstart.md.

The first visit asks who can open it: create an account, or leave it open with no login. make serve binds to loopback only; read docs/auth.md and SECURITY.md before exposing it to anything else.

Documentation

Getting help

Questions, or something not behaving? Open an issue. Security reports go privately through SECURITY.md instead.

Contributing

Ideas and patches are welcome. For anything beyond a small fix, open an issue first, so we can agree the approach before you spend an evening on it. See CONTRIBUTING.md.

Acknowledgements

Weather and pollen data by Open-Meteo.

The fonts are open source and come bundled with the app, so it looks the same offline. Their licences sit next to them in internal/web/static/fonts.

License

Licensed under the Apache License, Version 2.0. The bundled fonts keep their own licences, linked above.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package cmd wires the rabbithole CLI.
Package cmd wires the rabbithole CLI.
internal
api
Package api exposes The Rabbit Hole's item store over HTTP as JSON — the stable /api/* contract (see docs/api.md).
Package api exposes The Rabbit Hole's item store over HTTP as JSON — the stable /api/* contract (see docs/api.md).
claude
Package claude implements rank.Scorer against the Claude Code CLI, for use as an eval-time reference scorer.
Package claude implements rank.Scorer against the Claude Code CLI, for use as an eval-time reference scorer.
config
Package config loads the YAML run configuration and the interest profile.
Package config loads the YAML run configuration and the interest profile.
digest
Package digest turns ranked results into a dated markdown digest file.
Package digest turns ranked results into a dated markdown digest file.
eval
Package eval measures how well the configured model scores against your interest profile.
Package eval measures how well the configured model scores against your interest profile.
feeds
Package feeds fetches and normalizes items from supported content sources.
Package feeds fetches and normalizes items from supported content sources.
httpgzip
Package httpgzip is response compression: one middleware that gzips the text-shaped responses, for clients that asked for it.
Package httpgzip is response compression: one middleware that gzips the text-shaped responses, for clients that asked for it.
httplog
Package httplog is the HTTP access log: one middleware that records every request's outcome and threads a request-scoped logger through the context.
Package httplog is the HTTP access log: one middleware that records every request's outcome and threads a request-scoped logger through the context.
inference
Package inference resolves the configured backend into a rank.Scorer.
Package inference resolves the configured backend into a rank.Scorer.
ingest
Package ingest implements the fetch -> score -> record cycle shared by the ingest command today and a future serve command's API/scheduler.
Package ingest implements the fetch -> score -> record cycle shared by the ingest command today and a future serve command's API/scheduler.
ollama
Package ollama implements rank.Scorer against a local Ollama server.
Package ollama implements rank.Scorer against a local Ollama server.
profile
Package profile owns interest-profile text, including the immutable built-in default and the canonical format produced by the friendly web editor.
Package profile owns interest-profile text, including the immutable built-in default and the canonical format produced by the friendly web editor.
profilemgr
Package profilemgr composes the application-owned built-in profile with mutable local profiles persisted by store.
Package profilemgr composes the application-owned built-in profile with mutable local profiles persisted by store.
rank
Package rank defines the scoring interface and the prompt/parse helpers shared by the inference backends.
Package rank defines the scoring interface and the prompt/parse helpers shared by the inference backends.
retry
Package retry provides exponential backoff for operations against a dependency that may still be starting up (e.g.
Package retry provides exponential backoff for operations against a dependency that may still be starting up (e.g.
server
Package server is the HTTP composition root for the serve command: it builds the root mux, wraps it in compression and the access log, and mounts the route sets that live in their own packages — the JSON API (internal/api) under /api/, and the HTML web UI (internal/web, serving its own /static/ assets) at /, both behind the web UI's login gate.
Package server is the HTTP composition root for the serve command: it builds the root mux, wraps it in compression and the access log, and mounts the route sets that live in their own packages — the JSON API (internal/api) under /api/, and the HTML web UI (internal/web, serving its own /static/ assets) at /, both behind the web UI's login gate.
store
Package store persists seen feed items and digest history in SQLite.
Package store persists seen feed items and digest history in SQLite.
vllm
Package vllm implements rank.Scorer against an OpenAI-compatible endpoint such as vLLM.
Package vllm implements rank.Scorer against an OpenAI-compatible endpoint such as vLLM.
web
Package web serves The Rabbit Hole's HTML frontend: the digest "triage" page, rendered server-side from the same internal/store the JSON API reads.
Package web serves The Rabbit Hole's HTML frontend: the digest "triage" page, rendered server-side from the same internal/store the JSON API reads.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL