rsshubapp
v0.0.2
Published
Create new routes in RSSHub without changing RSSHub source code.
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 rsshubCode 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 rsshubappExplore the new routes
http://localhost:1200/my-custom-route