Skip to content

About

A self-hosted FreshRSS reader. Entirely AI-coded. If this steals kittens, don't blame me.

Resources

Security policy

Stars

38 stars

Watchers

0 watching

Forks

Latest commit

 

History

113 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Paper

A self-hosted feed reader with full-text articles, search, filters, keyboard shortcuts, and offline reading. Works on desktop and mobile. Run Paper on its own or connect it to FreshRSS or Miniflux to share subscriptions, read state, and stars.

Entirely AI-coded. If this steals kittens, don't blame me.

Paper 0.2.0-alpha.4 is an alpha release for single-user use. Built-in login is optional and starts off. Keep it local until you enable login or an authenticated HTTPS proxy for remote access. See the changelog for 0.2.0-alpha.4 changes and upgrade notes.

Paper on desktop, with Linux feeds and a Linuxiac article open
Mobile view Reading a Linuxiac article in Paper on mobile

Quick start

Start new installations in standalone mode. For an existing installation, follow the upgrade guide.

You need Docker Compose 2.24.4 or newer. The 0.2.0-alpha.4 reader and Codex worker images support linux/amd64 and linux/arm64. Standalone mode needs one Paper container and a persistent data directory. No FreshRSS or optional integration credentials are needed.

git clone --branch v0.2.0-alpha.4 --depth 1 https://github.com/cliophate/paper-reader.git
cd paper-reader
sh scripts/setup.sh
sh scripts/pull-image.sh
docker compose up -d --no-build paper

The helper pulls the pinned runtime image from GHCR. If the registry is unavailable, it downloads the release image archive, verifies its SHA-256 checksum, and loads it into Docker.

Setup creates private configuration with PAPER_BACKEND=standalone. Open localhost:8080, choose + > Add feed in the sidebar, and add an RSS or Atom feed, discover a feed from a website, or preview an OPML import. Paper fetches active feeds automatically. The default interval after a successful fetch is 15 minutes; Retry-After and failure backoff can delay the next fetch. Paper checks for due feeds every second. Reload articles shows what Paper already has. To request an upstream check, open Settings > Feeds > Manage feeds and select a feed for Check now. Open Feed checks and intervals to check a folder or change the default interval. Each feed can override that interval, from 5 minutes to one day. Manual checks respect publisher delays and a one-minute cooldown. Search and reading state work immediately. Press / to search, or open Search syntax beside the search box for operators and examples.

In Manage feeds, open Moved feeds to review standalone redirects and publisher-declared moves. Use new address checks the address and updates the existing subscription. Open Duplicates to compare folders, article counts and last posts before choosing whether to unsubscribe. Last post filters sets the age bands for all your devices. The defaults are 90, 182 and 365 days. Quiet feeds stay out of Needs attention unless a check fails.

In Manage feeds, select a feed and open Fetch and extraction overrides. Set a user agent or cookie, choose the article body with a CSS selector, or remove unwanted elements. Paper can also prefer lazy-loaded images and strip tracking parameters from links. Choose a recent article and select Preview article to try your changes before saving. Reset overrides restores the defaults for that feed. In FreshRSS and Miniflux modes, these settings apply only to full articles fetched by Paper.

Paper sends the cookie to the exact origin of the feed URL where you set it. If the publisher hosts articles elsewhere, you can enter that site's origin too. Settings shows whether a cookie is set and lets you replace or clear it.

Choose Play audio or Play video to stream an attachment from its publisher. FreshRSS and Miniflux articles can also play inline video. Audio requires an enclosure. Paper remembers your place in attachments across devices. Offline copies include the article and its images. Playback needs a connection.

Paper saves feed icons in the background. If you migrated from FreshRSS, keep it running until Paper has copied the icons you want to preserve. For a private FreshRSS address, include its exact origin in PAPER_TRUSTED_FEED_ORIGINS while Paper copies the icons. Set PUBLIC_URL to the address you use to open Paper so Reader apps can load the saved icons too.

Use the sidebar + menu to add a feed or create a standalone folder. Select the Edit feeds pencil to show drag grips, selection checkboxes and row options. Changes save immediately; Done leaves edit mode. Row options support rename, move and confirmed unsubscribe. Standalone also supports folder management and ordering; FreshRSS and Miniflux offer their supported feed operations. See sidebar controls.

For a source image outside Compose, set PAPER_BACKEND=standalone, mount a persistent volume at /data, and publish port 8080 to loopback. Paper creates private internal and signing secrets on first start. Keep the volume when recreating the container.

Optional owner login

Open Settings > Access to enable login with a username, password and setup code. The server prints a code at startup while no owner exists. It expires after 15 minutes. To get a replacement, run docker compose exec paper npm run paper-auth -- setup-code. Add passkeys, manage sessions and create app passwords in the same settings. Use HTTPS for remote access. An existing authenticated proxy can stay in place. See access and recovery before exposing Paper.

Standalone installs can enable Reader apps for Google Reader-compatible sync, article labels and OPML import. Access starts disabled and requires app passwords.

Connect a feed server on first start

Set PAPER_BACKEND=freshrss or PAPER_BACKEND=miniflux and open Paper. If the connection is incomplete, Paper asks for a feed source. Enter the server root, including any installation subpath, and a FreshRSS username and API password or a Miniflux API key. Test connection checks the credentials. Continue checks again, saves the connection and opens the reader. Choose Standalone to fetch feeds in Paper.

For a private feed server, add its exact origin to PAPER_TRUSTED_FEED_ORIGINS before starting Paper, for example http://freshrss. Public servers require HTTPS during setup. Owner login and your proxy protect setup the same way they protect the reader. Explicit standalone installs open directly.

Paper saves this choice and its credentials in reader-source.json in the data directory. Include it in private backups. A complete environment configuration takes precedence. To check the active server later, open Settings > Backend & data > Test connection.

FreshRSS mode

Set PAPER_BACKEND=freshrss and provide FRESHRSS_BASE_URL, FRESHRSS_USERNAME and FRESHRSS_API_PASSWORD in your private configuration. Enable FreshRSS's Google Reader API and use its separate API password. Paper imports your archive in the background. Search uses the local index once the import finishes and local reads are enabled.

Existing installations that omit PAPER_BACKEND retain FreshRSS behavior. FreshRSS must be reachable from Paper's container. localhost inside the container refers to Paper itself. Use a shared Docker network or reachable URL.

The database binds to one backend instance. Changing the backend or FreshRSS account in configuration does not transfer its data. Use a separate data directory for a different backend or account. Settings > Backend & data shows the current mode.

Miniflux mode

Start with a new Paper data directory and Miniflux 2.3.2 or newer. Set PAPER_BACKEND=miniflux, MINIFLUX_BASE_URL and MINIFLUX_API_KEY in private configuration. Generate a dedicated key in Miniflux Settings > API Keys. The URL is the server root, including any subpath, without /v1 at the end. FreshRSS credentials are unnecessary in this mode. Paper uses Miniflux's native API directly.

Paper imports articles and synchronizes read state and stars in both directions. Miniflux continues fetching feeds. Paper's Refresh imports Miniflux's current data; it does not force publishers to be fetched. Add, rename, move and unsubscribe are supported. Choose a real category when moving a feed; adding without one uses Miniflux's default category. Category management, reordering and feed URL repair are currently unavailable in Paper.

Miniflux must be reachable when Paper or its briefing CLI starts. Existing cached articles remain readable during a later outage. Token rotation preserves the account binding. A different server, account or backend needs a separate data directory. See Miniflux setup and behavior.

To use a different local port, change PAPER_PORT and PUBLIC_URL in .env. For access from other devices, follow the remote access guide.

Saved views

Choose + beside Saved views in the sidebar. Give the view a name and choose filters, or edit the search query directly. Selecting multiple feeds and folders includes articles from any of them. Paper shows a match count before you save. A range such as the last seven days moves with the calendar.

Open a saved view to read, search within it or mark matching articles read. Its sidebar count shows 1000+ when more than 1,000 unread articles match. The pencil beside a view lets you rename, edit, move or delete it. All three backends store views in Paper. With FreshRSS or Miniflux, views cover the articles imported so far.

Article rules

Open Settings > Article rules and enter a search such as title:"weekly roundup" -feed:science. Choose Hide, Mark read, Star or Notify. You can combine actions. Notify uses a target from Reading & connections > Webhooks and push notifications.

Choose Preview matches to see the count and examples from your Paper archive. By default, the rule runs once when Paper first imports each article. Select Also apply to existing matches before saving to include your archive. The scan uses each article's state when it reaches it. Paper sends rule read and star changes to FreshRSS and Miniflux once. If a write goes unconfirmed, Settings > Activity shows the rule and article. The next sync picks up the upstream state.

Hide removes matches from Paper's local lists. Open the hidden count beside a rule to read its matches. Starred matches also appear in Starred. Removing the rule reveals articles unless another rule still hides them. Removing a rule keeps its read and star changes. In standalone mode, Undo state changes can reverse each archive batch for one hour. If an article in a batch has changed since the rule ran, Paper leaves that batch alone. Notifications already sent cannot be recalled. Article deletion belongs to retention settings.

Choose Hide as the only action to use a regular expression. For example, title~/^week [0-9]+/i matches numbered weekly titles regardless of case. Use ~/pattern/ to check both the title and article text. An article may appear briefly before a regex rule hides it. Preview checks the latest 1,024 arrivals.

Existing mute filters keep matching the same literal phrases and feeds. For query examples, see search syntax.

Offline reading

In a folder, saved view or search, open Offline downloads above the article list. Download folder includes read articles. Download search results uses the current query, scope and dates. In a saved view, Download for offline saves all current matches. You can also start it from the pencil beside the view. Editing or deleting a view keeps downloaded articles on this device until you remove them. Choose Select articles to pick individual stories. For one open article, use Article options > Save offline.

Open Offline articles to browse or search your copies. Each row shows whether it has full text or feed text and how many images are cached. If an image fails or you cancel, you can still read articles already saved. Open Offline downloads for download failures, storage use, or a size limit in MiB. Paper checks the browser's usage estimate for the whole site. If an image has no reported size, Paper checks again after saving it and removes it if the site exceeds your limit. The browser can reach its own quota sooner. Remove one copy in Article options or clear all copies in Offline downloads. Audio and video need a connection.

Read status, stars and reading positions stay on this device until Paper can sync them. Paper checks each read or star edit against the live article. If the server already has your choice, Paper clears the edit. If the field still has the value you saw, Paper sends your change. Otherwise it keeps the server value and tells you. FreshRSS and Miniflux have no conditional writes, so an upstream change landing between Paper's check and its write can still be overwritten. In standalone mode, Paper applies an offline edit if the field changed and then changed back, because checking the article revision would also discard valid edits whenever another field changed. In browsers without Web Locks, two tabs can send the same write twice, with the same result because both set the same value.

With owner login enabled, opening Paper after a restart requires a connection. Signing out clears this browser's downloads, offline search data and pending edits before Paper contacts the server. They stay cleared if server logout fails.

Reading preferences

Open Settings > Reading & connections to choose how articles look and when Paper marks them read. Typeface, line spacing and column width follow you across browsers. Each feed's full-text mode also follows you. In Auto mode, Paper learns to load short articles from a feed after you request full text for three different articles on one device. Paper shares that choice and keeps the article IDs local. Theme and text size stay on each device.

Choose Override on this device before changing a setting just for this browser. Use shared value makes it follow the server again. Reset shared preferences restores Paper's defaults across devices and keeps local overrides.

After upgrading, Paper asks whether to share your browser's existing choices. If another device already set shared values, Paper keeps differences as local overrides and tells you. Offline, Paper uses the last values it received and keeps edits until it can sync. An open browser checks on reconnect, when you return to Paper, and every 30 seconds while reading. If another device has changed the same setting since your browser last saw it, Paper keeps the server value and tells you which offline change it replaced. Edits to different settings sync independently. A shared reset clears edits queued before the reset.

Optional connections

Open Settings > Reading & connections to enable:

  • AI discussions, headline cleanup, Pulse story grouping, and briefings.
  • Scheduled morning and evening briefing emails using your SMTP relay.
  • Article saves to Readwise Reader, Linkding, Wallabag, Readeck, Raindrop.io or Linkwarden.
  • Signed webhooks and push notifications for article arrivals, stars and manual sends.
  • Kirby note drafts through a compatible publishing plugin.

Test and enable a save destination in Settings. Press q in the reader to save the article or choose between enabled services. For a private Linkding, Wallabag, Readeck or Linkwarden server, add its exact origin to PAPER_TRUSTED_SAVE_ORIGINS in Paper's environment. Separate multiple origins with commas.

Each connection has setup instructions. AI supports an OpenAI-compatible API or the isolated Codex worker with a ChatGPT login. See AI providers for setup. AI installs from before 0.1.0-alpha.4 must follow the worker upgrade steps. Open AI activity and controls in the same settings to see recent requests, set daily background limits or exclude feeds and folders. Reading works without any of these connections.

Briefing email starts off. Enter your SMTP details under Briefing email and send a test before saving. If you use n8n or another scheduler, disable that workflow before turning on Send scheduled briefings.

See the integration guide for full setup instructions.

Pulse collections

Pulse starts a collection when at least three articles from two or more publication domains cover the same story within seven days. Later reporting can join an existing collection at any time.

Active shows stories that at least two publications covered in the past 72 hours. It shows 25 collections first, ranked by recent publications and articles, then by unread count and publication time. The lead card goes to the visible collection with the most articles added since your last visit. Quiet holds stories with less recent coverage. Unread shows active and quiet collections that contain unread articles. Small lists collections with fewer than three visible articles or fewer than two publications.

When the newest article is more than seven days old, the collection moves to the archive. Open it from the bottom of Quiet or follow a saved link. Adding an old article counts as new since your visit, but only its publication date counts toward activity. Articles without a publication date never count toward activity.

Open a collection's options menu and choose Follow, mute or snooze. Follow pins it under Following at the top of the Active tab. A followed story stays there with a Quiet badge when coverage slows, even after a week. Mute hides the story from Pulse lists, unread collection counts and new-article indicators. Snooze hides it until tomorrow at 8 am, a week from today at 8 am, or a date and time you choose. Times use your device's local time. When the snooze ends, Pulse includes the articles that arrived while it was hidden.

Articles from muted and snoozed stories stay in their feeds and count toward feed unread totals. To clear the collection's unread articles before muting it, choose Mark read on its card in the Pulse list.

Open Pulse settings to review or clear a choice. Each story has one choice. The merge picker includes muted and snoozed stories. Follow wins over mute, and mute wins over snooze. For two snoozes, Paper keeps the later time. Undo restores the absorbed story's pre-merge choice. The destination keeps its current choice. Removing an article leaves the choice on its collection. These controls work with automatic grouping paused.

In Pulse settings, turn on Prioritize followed stories and skip muted stories in briefings to apply those choices to future editions. This starts off. Snoozing affects Pulse only.

Highlights and notes

Select a passage in the article body, then choose Use selected text > Save highlight. You can also right-click the selection or press Shift+F10. On a phone, long-press the text and adjust the selection handles first.

Open Article options > Article notes to add a note or export the article's annotations as Markdown. Under Highlight options, add a note to a passage or send the quote to Kirby if configured. For keyboard selection, choose Select passage in Article notes, select text with Shift and the arrow keys, then tab to Save highlight. Paper looks for the quote and its surrounding text in either version of the article. If it cannot identify the passage, Passage not found appears beside the saved quote.

Open Highlights in the sidebar to search quotes and notes, return to an article, or download selected annotations or the whole list. Each article can hold 500 highlights and notes in total. If you lose your connection while writing a note, leave the editor open and save it when you reconnect. Paper keeps them out of Reader app sync and offline storage. If another tab changes a note, reopen your notes before editing it again.

Your data

Back up ./data and your private .env. The data directory holds reading positions, discussions, filters, saved briefings, and any connection tokens entered in Settings and generated signing secrets. The database also contains owner credentials, passkeys, sessions and app-password revocation state. Reader app credentials can exist with owner login off. Standalone subscriptions and article state also live there. With a remote backend, back up FreshRSS or Miniflux separately. Optional retention settings can mark old articles read, delete unprotected articles and clean cached full text. All limits start off. Paper backs up before its first article deletion.

See backup, restore, and upgrades before updating Paper, and security and privacy for details about stored data and external services.

Limits

This is an alpha release. Keep backups before upgrading. Folders are flat, and OPML transfers subscriptions, not article history or settings. Offline browser copies are not server backups and do not protect server articles from retention. Star an article or add a highlight or note to keep its server copy. Cleanup frees database pages for reuse; it does not shrink the file or remove backups. Identity conflicts have no dedicated resolution UI. Broad searches can still take time, although they run outside the HTTP event loop. Article cleanup avoids known repeated-markup scans; very deep or large HTML still has a processing cost.

Build from source

The reader and optional Codex worker support Linux amd64 and arm64. For a library around 200,000 articles, budget 1 GiB of RAM for Paper plus memory for the OS and any other containers. The Reader API scale test checks that the peak RSS of Paper and its child processes stays below 1 GiB.

Clone the repository at the tag or commit you want to build, then run sh scripts/setup.sh if you do not already have private configuration. From that checkout:

docker compose build paper
docker compose up -d --no-build paper

For local development and tests, see the development guide.

License

MIT. Third-party components retain their own licenses, listed in third-party notices.

About

A self-hosted FreshRSS reader. Entirely AI-coded. If this steals kittens, don't blame me.

Resources

Security policy

Stars

38 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages