Setting up an Github Commit RSS feed

半城伤御伤魂 提交于 2019-11-27 16:41:41

You want https://github.com/whatever/commits/master.atom, like for the Cloudera flume repository it's https://github.com/cloudera/flume/commits/master.atom.

There is another alternative RssHub except the official atoms (first part).

GitHub provides some official RSS feeds officially:

Repo releases: https://github.com/:owner/:repo/releases.atom

Repo commits: https://github.com/:owner/:repo/commits.atom

User activities: https://github.com/:user.atom

Private feed: https://github.com/:user.private.atom?token=:secret (You can find Subscribe to your news feed in dashboard page after login)


RssHub:

Github repositories

Example: https://rsshub.app/github/repos/yanglr

Routing: /github/repos/:user

parameters:

  • User(required): username

Github Trending by Language

Example: https://rsshub.app/github/trending/daily/javascript

Routing: /github/trending/:since/:language?

parameter:

  • Since (required): Time span, available in the Trending page URL, optional daily monthly

  • Language (optional)

    Language, which can be found in the Trending page URL

Github Repository Issues

Example: https://rsshub.app/github/issue/DIYgod/RSSHub

Routing: /github/issue/:user/:repo

parameter:

  • User (required ): username

  • Repo (required ): repository name

Github Repository Pull Requests

Example: https://rsshub.app/github/pull/DIYgod/RSSHub

Routing: /github/pull/:user/:repo

parameter:

  • User (required): username

  • Repo (required): repository name

Github User

Example: https://rsshub.app/github/user/followers/yanglr

Routing: /github/user/followers/:user

parameter:

  • User (required): username

Github Repository Stars

Example: https://rsshub.app/github/stars/yanglr/CaliburnMicro-Calculator

Routing: /github/stars/:user/:repo

parameter:

  • User (required): username

  • Repo (required): repository name

Github Search results

Example: https://rsshub.app/github/search/RSSHub/bestmatch/desc

Routing: /github/search/:query/:sort?/:order?

parameter:

  • Query (required): search keyword

  • Sort (optional): Sorting options (default is bestmatch)

  • Order (optional): Sort order, desc and asc (default desc descending)

Besides, you can use Feed43 to create feed for any web page if unnecessary to login with account. Official tutorial, click here to view.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!