Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
rsshub-launcher
Advanced tools
Readme
Download external routes to RSSHub before launch
npm i -g rsshub-launcher
编写一个配置 Yaml 文件,上传到可以提供 plain text 访问的 HTTPS 服务器上。例如 GitHub Gist。 文件包含包含一个 routes 列表,有两种配置方式
koa-router
的文件)url 作为 remoteUrl 和路由挂载的koa-router
path 作为 routePath。
下面是一个实例:routes:
- remoteUrl: "https://raw.githubusercontent.com/zhangxiang012/RSSHub/f89a1beae606c83263fb865c8eee953eed2219a5/lib/routes/kge/user.js"
routePath: "/kge/:userid"
- remoteUrl: "https://raw.githubusercontent.com/zhangxiang012/RSSHub/f89a1beae606c83263fb865c8eee953eed2219a5/lib/routes/kge/reply.js"
routePath: "/kge/reply/:playid"
- remoteUrl: "https://github.com/hondajojo/RSSHub/raw/1230fad8e74e152729bc0856c0c3459a70e3aa69/lib/routes/xiaoyuzhou/podcast.js"
routePath: "/xiaoyuzhou/podcast/:id"
- prUrl: https://github.com/DIYgod/RSSHub/pull/7885
rsshub-launcher 会自动自动下载路由及其依赖文件(暂时不支持 npm 上的外部依赖)
需要将上一步的配置文件 url 传入RSSHUB_LAUNCHER_CONFIG_URL
环境变量,然后在RSSHub
Git repository 根目录运行rsshub-launcher
。也可以通过--root
选项指定根目录。
你还可以通过override
设置是否覆盖已经存在的文件。
Positionals:
--root File Path to RSSHub repository root
[字符串] [默认值: "."]
选项:
--help 显示帮助信息 [布尔]
--version 显示版本号 [布尔]
--override Whether override existed file [布尔] [默认值: false]
FAQs
Launch rsshub
The npm package rsshub-launcher receives a total of 0 weekly downloads. As such, rsshub-launcher popularity was classified as not popular.
We found that rsshub-launcher demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.