RSSHub初体验
背景
RSSHub是一个RSS生成器,可以将各种内容生成RSS订阅源。不仅如此,其已经内置了很多路由,可以直接使用。
初体验
本文选择源码手动安装的方式。
准备
yum install npm nodejs
安装
下载代码
git clone https://github.com/DIYgod/RSSHub.git
或者国内镜像
git clone https://gitee.com/mirrors/RSSHub.git
安装依赖
npm install --registry=https://registry.npm.taobao.org
我这里报错了,所以没有继续了。报错信息如下:
npm WARN notsup Unsupported engine for got@11.1.4: wanted: {"node":">=10.19.0"} (current: {"node":"10.13.0","npm":"6.13.7"}) npm WARN notsup Not compatible with your version of node/npm: got@11.1.4 npm WARN notsup Unsupported engine for hooman@1.2.4: wanted: {"node":">=10.19.0"} (current: {"node":"10.13.0","npm":"6.13.7"}) npm WARN notsup Not compatible with your version of node/npm: hooman@1.2.4 npm WARN notsup Unsupported engine for puppeteer@3.1.0: wanted: {"node":">=10.18.1"} (current: {"node":"10.13.0","npm":"6.13.7"}) npm WARN notsup Not compatible with your version of node/npm: puppeteer@3.1.0 npm WARN @postlight/mercury-parser@2.2.0 had bundled packages that do not match the required version(s). They have been replaced with non-bundled versions. npm ERR! code 128 npm ERR! Command failed: git clone --mirror -q git://github.com/postlight/difflib.js.git /Users/xuqian/.npm/_cacache/tmp/git-clone-7bcce5b6/.git npm ERR! warning: 没有在 /var/folders/cs/dwhbchds5x37zkzz2lbnvt_c0000gn/T/pacote-git-template-tmp/git-clone-da348d45 中找到模版 npm ERR! fatal: 远端意外挂断了
运行
npm start