rsshubapp
v0.0.2
Published
Create new routes in RSSHub without changing RSSHub source code.
Downloads
2
Readme
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