Skip to content
/ rsslab Public

RSS reader with built-in RSSHub service

License

Notifications You must be signed in to change notification settings

rkscv/rsslab

Repository files navigation

Feed reader with built-in RSSHub service which lets you subscribe to feeds using rsshub protocol URLs like rsshub:github/issue/DIYgod/RSSHub. It fetches the source code of RSSHub on demand and runs it locally in an embedded JavaScript engine to generate feeds.

Routes that require Puppeteer are not currently supported.

Usage

Execute the binary and open http://127.0.0.1:9854 in your browser. The RSSHub integration is not ready until you see the registered ... routes output on the console.

Additionally, you can view the generated feed in http://127.0.0.1:9854/{route} like http://127.0.0.1:9854/github/issue/DIYgod/RSSHub.

Set https_proxy environment variable to use the proxy.

Alternatives for some command line argument values:

  • -src
    • https://unpkg.com/rsshub (default)
    • https://cdn.jsdelivr.net/npm/rsshub
    • https://raw.githubusercontent.com/DIYgod/RSSHub/master
  • -routes
    • https://raw.githubusercontent.com/DIYgod/RSSHub/gh-pages/build/routes.json (default)
    • https://rsshub.app/api/namespace

Build

pnpm install
pnpm build
go generate ./...
go build -ldflags='-s -w' -tags='sqlite_foreign_keys' -trimpath

Credits

yarr for RSS reader.