GitHub RSS Atom Feeds

· klm's blog

GitHub provides a number RSS Atom Feeds, which are only sparsely documented.

Original post is here: eklausmeier.goip.de

Ronalds Vilcins, in his article RSS feeds for your Github releases, tags and activity, provides a handy overview of some GitHub RSS feeds. I reproduce them here verbatim:

Type URL
Releases https://github.com/:owner/:repo/releases.atom
Commits https://github.com/:owner/:repo/commits.atom
Private feed https://github.com/:user.private.atom?token=:secret
Tags https://github.com/:user/:repo/tags.atom
User activity https://github.com/:user.atom

They are vaguely documented by GitHub here: Get feeds.

For example, for my saaze GitHub repository the feed for the commits is:

 1<feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xml:lang="en-US">
 2  <id>tag:github.com,2008:/eklausme/saaze/commits/master</id>
 3  <link type="text/html" rel="alternate" href="https://github.com/eklausme/saaze/commits/master"/>
 4  <link type="application/atom+xml" rel="self" href="https://github.com/eklausme/saaze/commits/master.atom"/>
 5  <title>Recent Commits to saaze:master</title>
 6  <updated>2024-02-17T12:58:12Z</updated>
 7  <entry>
 8    <id>tag:github.com,2008:Grit::Commit/48560c8bb5535cfaacdf2fc1be153c43448051d5</id>
 9    <link type="text/html" rel="alternate" href="https://github.com/eklausme/saaze/commit/48560c8bb5535cfaacdf2fc1be153c43448051d5"/>
10    <title>
11        Reduced CPU overhead in composer
12    </title>
13    <updated>2024-02-17T12:58:12Z</updated>
14    <media:thumbnail height="30" width="30" url="https://avatars.githubusercontent.com/u/1020520?s=30&amp;v=4"/>
15    <author>
16      <name>eklausme</name>
17      <uri>https://github.com/eklausme</uri>
18    </author>
19    <content type="html">
20      &lt;pre style=&#39;white-space:pre-wrap;width:81ex&#39;&gt;Reduced CPU overhead in composer&lt;/pre&gt;
21    </content>
22  </entry>
23  ...
24</feed>

The above output was produced by below command-line:

1curl https://github.com/eklausme/saaze/commits.atom