RSSHub service
We use the manual install to gain full control.
# install & update nodejs & npm
sudo apt install nodejs npm
sudo npm install -g n
sudo n stable
sudo npm install -g npm
# install RSSHub
git clone https://github.com/DIYgod/RSSHub.git
cd RSSHub
npm ci --production
# start
npm start
configs
create .env
file to write configs.
# port, default is 1200
PORT=1888
# access control
Nginx forward
server {
# ...
# serve at kiui.moe/rss
location /rss {
# kiui.moe/rss/... --> localhost:1888/...
rewrite ^/rss/(.*)$ /$1 break;
proxy_pass http://127.0.0.1:1888;
}
}