rabbithole

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 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 is a personal RSS reading assistant. It fetches your RSS/Atom feeds (Medium, arXiv, blogs, etc) and scores each item against an interest profile you write yourself. What comes back 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.

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.

Requirements

  • Go 1.26+
  • Ollama running locally (the default)
  • or any OpenAI-compatible endpoint, such as vLLM
  • or nothing, with the built-in heuristic scorer

Install

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

Or go install github.com/DanielBlei/rabbithole@latest for just the binary. Currently it still needs the config files: copy them out of configs/ and work from there.

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 an example profile. For a feed ranked against your own interests, see the full guide: docs/quickstart.md.

make serve binds to loopback only and has no authentication: it assumes it is running on your own machine. Read 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).
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.
feeds
Package feeds fetches and normalizes RSS/Atom items.
Package feeds fetches and normalizes RSS/Atom items.
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.
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 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 /.
Package server is the HTTP composition root for the serve command: it builds the root mux, wraps it in 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 /.
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