Digests is an open-source RSS reader built with Next.js. It lets you subscribe to feeds and read articles in a clean interface that works offline. Web workers handle feed fetching and other heavy tasks so the UI stays responsive.
- Subscribe to and manage RSS feeds
- Search across feeds and articles
- Mark items as read or save them for later
- Offline-first caching using localforage
- Customizable themes
- Node.js 18 or later
- pnpm package manager
- Install dependencies:
pnpm install
- Generate theme CSS variables:
pnpm generate:themes
- Start the development server:
Then open http://localhost:3000 in your browser.
pnpm dev
app/
– Next.js app router files, layout, and global stylescomponents/
– Reusable UI componentsstore/
– Zustand stores for application stateservices/
– Helper utilities including the worker serviceworkers/
– Web workers for RSS parsing and shadow generation
Run pnpm generate:themes
whenever theme colors change. This script outputs app/generated-themes.css
, which the application imports at startup. Theme colors are defined in lib/theme-definitions.ts
.
Build and start the app with:
pnpm build
pnpm start
You can also deploy to platforms like Vercel using their standard Next.js workflow.
The custom useToast
hook automatically removes dismissed toasts after five
seconds. You can adjust this delay by editing TOAST_REMOVE_DELAY
in
hooks/use-toast.ts
.