先安装rsshub
安装 git
apt-get update && apt-get install git2.安装npm
添加最新npm最新源
sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash - 安装nodejs
sudo apt-get install nodejs3.下载 RSSHub 的源码
git clone https://github.com/DIYgod/RSSHub.git
cd RSSHub下载完成后,需要安装依赖
使用 npm
npm install
screen -S rss #新建控制台,执行完后按ctrl+a+d由于众所周知的原因,在中国使用 npm 下载依赖十分缓慢,建议挂一个代理或者考虑使用 NPM 镜像
然后在 RSSHub 文件夹中运行下面的命令就可以启动
npm start详细使用说明参照 指南,替换所有路由例子中的 https://rsshub.app/ 为 http://localhost:1200 即可正常使用
本博客所有文章除特别声明外,均采用 CC BY-SA 4.0 协议 ,转载请注明出处!