Team AER
Pensieve Open Pensieve

Read what matters first.
Skip the rest with a clear conscience.

A self-hosted feed reader with Reeder sync. Add your own model gateway and the day’s stories rank by what you open and star.

Version 0.1.0, alpha, MIT licence. Accounts on the live instance are by invitation from its admin; anyone can run their own.

Green marks the optional AI layer: tags, merged sources, summaries and the ranking itself. It runs on a model gateway you provide.

Your paper, ranked by what you read

The paper lays out the day’s stories in sections, one row per story however many feeds ran it. Building it makes no model call, so it appears in well under a second. It does need the AI layer switched on: the tags and story groups it sorts come from there.

  • Front page first. Your best ten unread stories from every section open the paper, never more than two from one source.
  • Ranked by interest. A story’s place comes from how close it is to what you open and star, with a lift for each extra source that ran it.
  • Daily limits per feed. A busy feed keeps only its best few stories a day. The rest stay unread in Reader, so nothing is thrown away.
  • Safe to skip. Repeats and things you usually skip are gathered in one place, with one button to mark them read.
  • Read once. Open any copy of a story and every copy is marked read, in the paper and in Reader.
  • More like this, less like this. Tune a story and its tags and sources gain or lose weight the next time the paper updates.

A reader that remembers

Connect a model gateway and Pensieve files, groups and summarises items as they arrive, then uses what you have read to answer questions later. Leave it off and you still have a fast, plain feed reader.

Before you switch it on

A gateway you run or choose
Any OpenAI-compatible endpoint that serves a chat model and an embedding model. Pensieve ships no model and calls no hosted one on its own.
pgvector for embeddings
The Compose stack’s PostgreSQL image includes it; a database you bring yourself must have it.
One switch to turn it all off
PENSIEVE_AI_ENABLED=false disables every model-backed feature, the paper included.
  • Tags with a confidence. Auto-tags from your own vocabulary show how sure the model was, and a wrong one comes off in one click.
  • Stories, not copies. The same news from several feeds folds into one row with a sources chip. Press x to see every copy, u to split one out.
  • Summaries as items arrive. Each new item gets a few bullet points and a why-it-matters line. Missed ones are retried every half hour.
  • Related in your reading. Open an article and Pensieve lists what you read before on the same thread, with your notes beside it.
  • Ask your reading. Type a question in the search box and get an answer that cites the articles it came from.
  • Folders filed for you. New feeds land in Inbox with a suggested folder that you accept in one click.

Keep Reeder. Keep NetNewsWire.

Pensieve speaks the Google Reader and Fever sync APIs, so the native apps you already use keep working, with Pensieve as their server.

  • One token per app. Each client signs in with its own token, labelled something like “Reeder on iPhone”, and you can revoke one without touching the rest.
  • OPML in and out. Import subscriptions from any reader. Export them again as OPML, or everything (items, read and star state, notes, interests) as JSON.
  • Pocket, Instapaper, bookmarks. Upload Pocket’s export, Instapaper’s CSV or a browser bookmarks file. Tags, dates and read status come across.
What you type into your sync client
# Reeder, NetNewsWire: pick “Google Reader API” (or FreshRSS)serverhttps://pensieve.example.comemailthe address you sign in withpassworda token from Manage, API tokens# Clients that speak Feverserverhttps://pensieve.example.com/api/fever/

Save a page and keep it

Pensieve keeps a full copy of every page you save, as it renders, so it stays readable and searchable if the site changes or goes away. Save from the app (press b), a bookmarklet, the Android share sheet, an iOS Shortcut or the browser extension.

  • Four copies of each page. The article text, a static offline copy with its images, a full-page screenshot and the original HTML.
  • On your own object store. A bundled Garage S3 store holds the copies. Back it up alongside the database.
  • Capture in a box. Pages render in headless Chromium on its own network, with no route to the database, Redis or Garage. Every request passes the same SSRF check as feed fetches.
  • What you see is what you keep. The extension for Chrome, Edge, Brave and Firefox 121 sends the page as your browser shows it, signed in and after scripts ran.
  • Stars are kept too. Starred feed items are archived the same way.
The capture path. The capture worker drives headless Chromium, which sits on its own network and reaches only the web, through an SSRF check. The worker writes the copies to Garage. Chromium has no route to PostgreSQL, Redis or Garage. the web headless Chromium capture worker Garage (S3) SSRF check no route to PostgreSQL, Redis or Garage its own network The capture path. The capture worker drives headless Chromium, which sits on its own network and reaches only the web, through an SSRF check. The worker writes the copies to Garage. Chromium has no route to PostgreSQL, Redis or Garage. capture worker Garage (S3) headless Chromium no route to PostgreSQL, Redis or Garage SSRF check its own network the web

One server for the household

Every account gets its own reader. The first one is the admin, created at /setup; the admin invites everyone else.

  • Separate libraries. Folders, tags, rules, saved items, notes and full-text search are per person.
  • Read your way. Text size, font, line height, width and alignment are saved to each account, with light, sepia, dark and black themes.
  • Keyboard first. j and k move, s stars, x expands sources, b saves a link, and ? lists the rest.
  • At home on a phone. Install it as an app with an offline shell. The page scrolls, the bars slide away, a row swiped right is read and swiped left is starred.
  • Hardened. Argon2 password hashing, CSRF protection, rate limiting, SSRF checks and secure proxy headers.

How a story reaches you

  1. Subscribe, or import an OPML file. Pensieve polls each feed adaptively, with conditional fetches, and finds feeds from a site address.
  2. Workers do the fetching. The fetch worker parses new items; the capture worker archives the pages you save.
  3. The AI worker, if you connected a gateway, files, groups and summarises the new items, and the paper is built from what it made.
  4. You read. In the three-pane web app, the installable PWA on your phone, or a native client over sync.

Run it yourself

Pensieve ships as a Docker Compose stack: the web app, fetch, AI and capture workers, PostgreSQL with pgvector, Redis, Garage and a headless browser. Put it behind your HTTPS reverse proxy on port 8000.

  • You need Docker Engine with Compose v2 and a hostname served over HTTPS.
  • In .env set PENSIEVE_BASE_URL and the six secrets the README shows how to generate.
  • No gateway yet? Add PENSIEVE_AI_ENABLED=false and connect one later.
  • Under the hood: Python 3.12, FastAPI, Jinja and HTMX, SQLAlchemy and Alembic. No Node build step.
From an empty directory
git clone https://github.com/Team-AER/pensieve.gitcd pensievecp .env.example .env   # add the base URL and six secretsdocker compose up -d --build

Then point your proxy at port 8000 and create the first account at /setup. The web container runs its database migrations before it takes traffic.

Start with your OPML file.

Bring your subscriptions across, read as usual for a few days, and the paper starts ranking from what you open and star.