Learn from you, serve for you.
A self-hosted RSS reader that turns what you read into searchable, summarized,
rediscoverable knowledge, using models that run on your own machine.
What Alt does · Screens · Quick start · How it works · Repository map · Development · Documentation
Most RSS readers stop at the article list. Alt keeps going: it summarizes and tags what arrives, lets you search and question your own reading history, and brings back the things worth a second look.
Storage, search and the language models all run on your machine under Docker Compose, so no cloud LLM key is needed. Optional integrations (Inoreader sync, alert push) are off by default.
| Stage | What you get | Where in the app |
|---|---|---|
| Collect | Subscribe by RSS link or OPML import. Feeds are polled every hour, with daily inflow caps. | Manage Feed Links |
| Read | A short Today queue, swipe triage on your phone, a Gallery of covers and one quiet reader with a summary at hand. Favorites and history keep what you finished. | Today · Swipe · Gallery · Reader · Favorites · Read History |
| Digest | A summary and tags for each article, a 3-Day Recap by genre, cross-source Topic Cards and a daily Morning Letter. | 3-Day Recap · Topic Cards · Morning Letter |
| Ask | Search across articles, recaps and tags. Ask Augur answers questions from your own articles, with citations; ask from a theme and the answer can be saved back to it. Acolyte writes long, versioned reports with sources. | Search · Ask Augur · Acolyte Reports |
| Keep | Save a takeaway as you finish an article: a surprise, a question, a counterpoint or an insight. Themes turn the articles you have read into versioned pages where every key point links to its sources, next to your own questions and notes. Today brings takeaways back when they are worth a second look. Tag Verse maps your tags in 3D. | Reader · Themes · Takeaways · Today · Tag Trail · Tag Verse |
| Operate | Web Push notifications, statistics, recap job status, and admin consoles for projections and system health. | Notifications · Dashboard · Statistics · Job Status · Admin |
On a phone the main tabs are Today, Swipe, Gallery and Themes; on a desktop the sidebar leads with Today, Themes, Gallery and Search. Everything else, from Ask Augur to the Morning Letter, sits one level down in the menu.
![]() Today · a short queue, not a backlog |
![]() Swipe · triage one card at a time |
![]() Themes · one page per subject you keep reading about |
Every screenshot is the real UI rendered with synthetic fixtures and composed into browser and phone frames. Regenerate them with bun run capture:readme in alt-frontend-sv/; the export step needs cwebp on your PATH.
You need:
- Docker with Compose v5.4 or newer
- A GPU: an NVIDIA GPU with the NVIDIA Container Toolkit (
--gpu cuda) or a Vulkan-capable GPU with/dev/dri(--gpu vulkan) - On Linux hosts with AppArmor: load the
alt-docker-postgresprofile once before the first start withsudo ./scripts/install-apparmor-profile.sh(see docs/runbooks/postgres-apparmor.md)
git clone https://github.com/Kaikei-e/Alt.git && cd Alt
./quickstart.sh --gpu vulkan # or --gpu cudaThe script is idempotent and safe to re-run after any failure. It:
- Checks Docker, Compose (>= 5.4), GPU readiness and AppArmor confinement.
- Builds
./bin/altctlinside a container (no host Go toolchain orsudoneeded). - Initializes
.env,secrets/and.alt-data/via./bin/altctl init --gpu <gpu> --open-registration(enables local registration in.env; defaults stay closed). - Starts the internal PKI (
step-ca) and provisions per-service mTLS credentials. - Starts Redis Streams and creates the
search-indexerconsumer group. - Seeds the local LLM and reranker models into their Docker volumes.
- Starts the
core,workers,bffandaistacks.
Open http://localhost/ and create an account. To check the stack from a terminal:
./bin/altctl status
curl -fsS "http://localhost:${PLECTO_ADMIN_HOST_PORT:-8080}/readyz" # plecto-proxy (edge)
curl -fsS http://localhost:9000/v1/health # alt-backend
curl -fsS http://localhost:9250/health # alt-butterfly-facade
curl -fsS http://localhost:7700/health # MeilisearchIf port 8080 is already in use, altctl init selects another free port for PLECTO_ADMIN_HOST_PORT and writes it to .env.
The quick start already runs ai. Add more capabilities one stack at a time with ./bin/altctl up <stack>:
| Stack | Adds | GPU |
|---|---|---|
ai |
Article summaries: pre-processor, news-creator and a local llama-server runtime |
Yes |
rag |
Ask Augur: rag-orchestrator, pgvector, a local embedder and reranker |
Yes |
recap |
3-Day Recap, Topic Cards, Morning Letter and Themes | Yes |
acolyte |
Acolyte reports (uses the ai stack for generation) |
No |
logging |
Structured logs from every container into ClickHouse | No |
observability |
Prometheus, Alertmanager, Grafana and cAdvisor | No |
tts |
Japanese text-to-speech for listening to articles | Yes |
./bin/altctl list shows every stack, ./bin/altctl down stops them, and ./bin/altctl down --volumes also deletes the data. The full CLI is described in altctl/README.md.
Alt is a set of small services on one machine, started by Docker Compose. A request enters at the edge, passes through the web app and its backend-for-frontend, and reaches the core platform. Everything slow, such as summarizing, tagging, indexing and report writing, happens in the background and reports back through events.
flowchart TB
you(["You<br/>browser or installed PWA"])
edge["<b>Edge and identity</b><br/>plecto-proxy · Ory Kratos<br/>auth-hub"]
surface["<b>Product surface</b><br/>alt-frontend-sv<br/>alt-butterfly-facade"]
core["<b>Core platform</b><br/>alt-backend · alt-data-hub<br/>knowledge-sovereign<br/>mq-hub · alt-harvester<br/>alt-notifier"]
intel["<b>Intelligence</b><br/>rag-orchestrator<br/>recap-worker<br/>acolyte-orchestrator"]
enrich["<b>Ingestion and enrichment</b><br/>pre-processor<br/>tag-generator<br/>search-indexer"]
infer["<b>Local inference</b><br/>news-creator · Ollama<br/>knowledge-embedder<br/>rerank-server"]
data[("<b>Data</b><br/>PostgreSQL per domain<br/>Redis Streams<br/>Meilisearch · ClickHouse")]
obs["<b>Observability</b><br/>rask-log-forwarder<br/>rask-log-aggregator<br/>Prometheus · Grafana"]
you -->|"HTTPS"| edge --> surface
surface -->|"Connect-RPC"| core
core -->|"Connect-RPC over mTLS"| intel
core -->|"events on Redis Streams"| enrich
intel -->|"prompts and embeddings"| infer
enrich --> infer
core & intel & enrich --> data
obs -.->|"logs and metrics<br/>from every service"| data
The map leaves out connection poolers, the internal certificate authority, database migrators and per-service log forwarders. Four ideas hold it together:
- Local-first inference. Summaries, embeddings, reranking and search run on your hardware through
news-creatorand Ollama. - Append-first knowledge. What happens is appended to an event log in
knowledge-sovereign. The Today queue, your takeaways and the list of Themes are read models that can be dropped and rebuilt from that log, and each theme page is kept as a new version instead of being rewritten. - Typed contracts. Services follow Clean Architecture (
Handler → Usecase → Port → Gateway → Driver) and talk over Connect-RPC and Protobuf, checked by Pact contract tests. - Isolated by default. Services authenticate each other with mutual TLS, each domain keeps its own database, and the article database is reached only through
alt-data-hub.
flowchart LR
s1["<b>1 Collect</b><br/>alt-harvester polls<br/>your feeds every hour"]
s2["<b>2 Keep</b><br/>you open, queue or save it<br/>alt-data-hub stores it"]
s3["<b>3 Announce</b><br/>mq-hub publishes<br/>ArticleCreated<br/>on Redis Streams"]
s4a["<b>4 Summarize</b><br/>pre-processor asks<br/>news-creator"]
s4b["<b>4 Tag</b><br/>tag-generator"]
s4c["<b>4 Index</b><br/>search-indexer<br/>into Meilisearch"]
s4d["<b>4 Embed</b><br/>rag-orchestrator<br/>into pgvector"]
s5["<b>5 Record</b><br/>alt-data-hub saves it,<br/>then appends an event<br/>to knowledge-sovereign"]
s6["<b>6 Read</b><br/>you finish it and keep<br/>a takeaway; alt-backend<br/>appends reading events"]
s7["<b>7 Weave</b><br/>recap-worker writes a new<br/>version of a theme page<br/>from what you have read"]
s8["<b>8 Project</b><br/>projectors fold the event log<br/>into disposable read models"]
s9(["Today · Themes<br/>Takeaways"])
s10(["Search<br/>Ask Augur"])
s1 --> s2 --> s3
s3 --> s4a & s4b & s4c
s2 --> s4d
s2 --> s6 --> s7
s4a & s4b --> s5
s5 & s6 & s7 --> s8 --> s9
s4c & s4d --> s10
sequenceDiagram
autonumber
actor You
participant UI as alt-frontend-sv
participant API as alt-backend
participant RAG as rag-orchestrator
participant Stores as pgvector + Meilisearch
participant Models as Local models
You->>UI: ask a question
UI->>API: StreamChat through alt-butterfly-facade
API->>RAG: forward with your identity over mTLS
RAG->>Models: expand and embed the query
RAG->>Stores: vector and keyword search over your articles
RAG->>Models: rerank the candidates
RAG->>Models: write an answer from the top passages
RAG-->>You: streamed answer with citations
Ports, health endpoints and the full dependency graph are in docs/services/MICROSERVICES.md.
Each top-level directory is one service or tool. Stack is the altctl stack that runs it.
Edge and product surface
| Directory | Stack | Tech | Role |
|---|---|---|---|
plecto/ |
core |
Rust, WASM | Routing manifest and WASM filter for the plecto-proxy edge |
auth-hub/ |
auth |
Go | Turns an Ory Kratos session into a signed internal token |
alt-frontend-sv/ |
core |
SvelteKit 3, Svelte 5, Tailwind v4, Bun | The web app and installable PWA |
alt-butterfly-facade/ |
bff |
Go | Backend for frontend: one Connect-RPC entry for the web app |
Core platform
| Directory | Stack | Tech | Role |
|---|---|---|---|
alt-backend/ |
core |
Go, Connect-RPC | One Go module, four binaries: alt-backend (API), alt-harvester (scheduled jobs), alt-notifier (Web Push), alt-data-hub (article database owner) |
knowledge-sovereign/ |
sovereign |
Go | Append-only event log and the Knowledge Home, Trail and Reading projectors |
mq-hub/ |
mq |
Go, Redis Streams | Event broker that publishes to Redis Streams |
Ingestion and enrichment
| Directory | Stack | Tech | Role |
|---|---|---|---|
pre-processor/ |
ai |
Go | Queues articles for summarization and checks summary quality |
tag-generator/ |
workers |
Python, FastAPI | Extracts tags from articles with ML models |
search-indexer/ |
workers |
Go | Indexes articles and recaps into Meilisearch and serves search |
pre-processor-sidecar/ |
workers |
Go | Optional Inoreader sync scheduler, disabled by default |
auth-token-manager/ |
workers |
Deno | Refreshes the OAuth token used by the optional Inoreader sync |
Intelligence
| Directory | Stack | Tech | Role |
|---|---|---|---|
rag-orchestrator/ |
rag |
Go, pgvector | Retrieval and answer pipeline behind Ask Augur |
recap-worker/ |
recap |
Rust, Tokio | Builds the 3-Day Recap, Topic Cards, Morning Letter and Themes |
recap-subworker/ |
recap |
Python, FastAPI | Clustering, classification and evidence checks for recap-worker |
recap-evaluator/ |
recap |
Python, FastAPI | Scores recap quality on a schedule |
dashboard/ |
recap |
Python, Streamlit | Operator dashboard for recap evaluation |
acolyte-orchestrator/ |
acolyte |
Python, LangGraph | Plans, gathers, writes and revises Acolyte reports |
Local inference
| Directory | Stack | Tech | Role |
|---|---|---|---|
news-creator/ |
ai |
Python, FastAPI, Ollama | Priority-queued LLM gateway in front of a local Ollama runtime |
knowledge-embedder/ |
rag |
Ollama | Embedding runtime serving bge-m3 |
rerank-server/ |
rag |
Python, ONNX | Cross-encoder reranker for retrieval results |
knowledge-augur/ |
separate | Ollama | Standalone Ollama runtime with RAG Modelfiles, run from compose.augur.yaml |
tts-speaker/ |
tts |
Python, Connect-RPC | Streaming text-to-speech gateway |
irodori-tts/ |
tts |
Python, CUDA | Japanese text-to-speech inference container |
Observability
| Directory | Stack | Tech | Role |
|---|---|---|---|
rask-log-forwarder/ |
logging |
Rust | Tails container logs and forwards them in batches |
rask-log-aggregator/ |
logging |
Rust, Axum | Receives logs and OpenTelemetry data and writes them to ClickHouse |
Tooling
| Directory | Stack | Tech | Role |
|---|---|---|---|
altctl/ |
CLI | Go | Starts, stops, inspects and backs up the Compose stacks |
pki-agent/ |
CLI | Go | Provisioning helpers for the internal certificate authority |
alt-perf/ |
perf |
Deno, k6 | Core Web Vitals measurement and load tests |
metrics/ |
CLI | Python | Health reports generated from the ClickHouse logs |
monitors/ |
CLI | Python | Live resource monitor for recap jobs |
Shared material lives in compose/ (stack definitions), proto/ (Protobuf contracts), pacts/ (consumer contracts), docs/, and the *-migration-atlas/ and migrations-atlas/ directories (database migrations). feed-validator/, news-pulser/, news-vigil/ and x-prototype/ are experiments and are not part of the running system.
Four rules apply everywhere:
- Test first. Write the failing test, make it pass, then refactor.
- Be polite to the outside world. Leave at least 5 seconds between calls to an external API.
- Rebuild compiled services. After changing Go, Rust or TypeScript, run
altctl rebuild <service>ordocker compose up --build. - No secrets in code. Use
.envand Docker secrets.
| Language | Version | Test | Lint and types |
|---|---|---|---|
| Go | 1.27 | go test ./... |
gofmt -l . and go vet ./... |
| Python | 3.14 | uv run pytest |
uv run ruff check and uv run pyrefly check |
| Rust | 1.99, 2024 edition | cargo test |
cargo fmt --check and cargo clippy |
| TypeScript | SvelteKit 3 on Bun | bun run test |
bun run lint and bun run check |
| Deno | 2 | deno test |
deno lint and deno check |
Each service has its own CLAUDE.md with service-specific commands and rules. Read it before changing that service.
| If you want to… | Read |
|---|---|
| Look up a service, its ports and its dependencies | docs/services/MICROSERVICES.md |
| Learn the project vocabulary | docs/glossary/ubiquitous-language.md |
| Understand a feature in depth | Acolyte · Knowledge projections |
| Know why something was built this way | docs/ADR/ |
| Operate or recover a running system | docs/runbooks/README.md |
| Use the CLI | altctl/README.md |
| Write tests the way the project does | docs/testing-strategy.md |
| Learn from past incidents and design shifts | Postmortems · Case studies |
| Contribute code, by hand or with an agent | CLAUDE.md |
Alt is built on the work of other open-source projects. A few of them shape it so deeply that they are named here, with thanks to the people who maintain them.
Alt keeps its articles and its knowledge event log in PostgreSQL. pgvector lets Ask Augur search your reading by meaning, and Meilisearch powers search across articles, recaps and tags. Events travel between services on Redis Streams, and logs are kept in ClickHouse.
Alt needs no cloud LLM key because Ollama, and llama.cpp underneath it, run the models on your own machine. The models are the work of others too. Gemma 4 from Google writes the summaries and answers. BGE-M3 from BAAI produces the embeddings. The Ruri v3 reranker from Nagoya University orders what retrieval finds. Irodori-TTS by Aratako reads articles aloud in Japanese.
Japanese text has no spaces between words. To split it, Alt relies on MeCab through fugashi with the UniDic dictionary from NINJAL, on Kagome and on Lindera.
Sign-in is handled by Ory Kratos. The internal certificate authority that lets services trust each other is step-ca from Smallstep. Services talk over Connect, and Pact checks that their contracts still hold.
Alt is also starting to adopt Tauto from Hihaheho, a minimal language for AI to build and prove correct software.
Beyond these, Alt depends on many libraries from the Go, Rust, Python and Svelte ecosystems. They are listed in each service's go.mod, Cargo.toml, pyproject.toml or package.json. Every project and model is distributed under its own license. If Alt uses your work and credits it wrongly or not at all, please open an issue.
Alt is licensed under the Apache License 2.0.









