rsshubapp

0.0.2 • Public • Published

RSSHubApp

Create new routes in RSSHub without changing RSSHub source code.

Getting Started

Create project and install RSSHub

mkdir my-custom-rsshub
cd my-custom-rsshub
npm init
npm install rsshub

Code new route scripts. Create setting.json in the project root, then define route path and corresponding script in your setting.json.

{
    "routes": {
        "/my-custom-route": "path/to/myCustomRoute.js",
        "/my-custom-route2": "path/to/anotherCustomRoute.js"
    }
}

Start RSSHub

npx rsshubapp

Explore the new routes

http://localhost:1200/my-custom-route

Readme

Keywords

none

Package Sidebar

Install

npm i rsshubapp

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

4.92 kB

Total Files

7

Last publish

Collaborators

  • gychen