All Projects → vinitshahdeo → github-stars-feed

vinitshahdeo / github-stars-feed

Licence: MIT license
Get the latest feed of GitHub Stars out there! 🌟 ⭐ ✨

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to github-stars-feed

tidyRSS
An R package for extracting 'tidy' data frames from RSS, Atom, JSON and geoRSS feeds
Stars: ✭ 62 (+106.67%)
Mutual labels:  rss-feed, json-feed
Rss Bridge
The RSS feed for websites missing it
Stars: ✭ 4,067 (+13456.67%)
Mutual labels:  rss-feed, json-feed
reader
A Python feed reader library.
Stars: ✭ 290 (+866.67%)
Mutual labels:  rss-feed, json-feed
Github Ranking
⭐️Github Ranking⭐️ Github stars and forks ranking list. Github Top100 stars list of different languages. Automatically update daily. | Github仓库排名,每日自动更新
Stars: ✭ 315 (+950%)
Mutual labels:  github-stars
Remu
💥Chrome Extension for GitHub that view stars / star history / organizing starred repository
Stars: ✭ 394 (+1213.33%)
Mutual labels:  github-stars
Wordreview
📚 背单词网页 Django + MySQL + Pug + JS
Stars: ✭ 115 (+283.33%)
Mutual labels:  github-stars
nim-package-directory
Nim package directory - documentation builder
Stars: ✭ 47 (+56.67%)
Mutual labels:  rss-feed
Track-Stargazers
Have fun tracking your project's stargazers
Stars: ✭ 38 (+26.67%)
Mutual labels:  github-stars
Github Stars Manager
Chrome extension that allows you to manage your Github stars with tags, and to create a bookmark folder with all your stars organized by the tags you created
Stars: ✭ 183 (+510%)
Mutual labels:  github-stars
Github Badges
Star / Fork badges for your GitHub Repository!
Stars: ✭ 76 (+153.33%)
Mutual labels:  github-stars
Starmark
Turn your GitHub stars into Chrome bookmarks
Stars: ✭ 60 (+100%)
Mutual labels:  github-stars
Starcabinet
🎉 开源的跨平台Github Stars管理分析工具
Stars: ✭ 399 (+1230%)
Mutual labels:  github-stars
Bestofjs Webui
⭐ A place to find the best components to build amazing web applications. The best of JavaScript!
Stars: ✭ 1,782 (+5840%)
Mutual labels:  github-stars
Stargazed
📋 Creating your own Awesome List of GitHub stars!
Stars: ✭ 339 (+1030%)
Mutual labels:  github-stars
Luch Request
luch-request 是一个基于Promise 开发的uni-app跨平台、项目级别的请求库,它有更小的体积,易用的api,方便简单的自定义能力。
Stars: ✭ 219 (+630%)
Mutual labels:  github-stars
oh-my-stars
An offline CLI tool to search your GitHub Stars.
Stars: ✭ 78 (+160%)
Mutual labels:  github-stars
Hubble
🔭 Travel through GitHub Stars' history
Stars: ✭ 166 (+453.33%)
Mutual labels:  github-stars
The Fucking Github
A Chrome extension for Github. View starred repositories, organizing stars, searching stars and searching repositories online for Github。
Stars: ✭ 532 (+1673.33%)
Mutual labels:  github-stars
Github Stars History
The missing github stars history!
Stars: ✭ 107 (+256.67%)
Mutual labels:  github-stars
vue-rss-feed
Embed RSS Feeds in your Vue web app
Stars: ✭ 37 (+23.33%)
Mutual labels:  rss-feed

GitHub Stars Feed

Get the latest feed of GitHub Stars out there!

Twitter

The GitHub Stars program thanks GitHub’s most influential developers and gives them a platform to showcase their work, reach more people, and shape the future of GitHub. Read my journey from a GitHub User to a GitHub Star.

Installation

NPM

npm i github-stars-feed

Usage

Typing SVG

const githubStars = require('github-stars-feed');

Get filtered feed

var options = {
  limit: 2,
  sanitize: true,
  username: 'vinitshahdeo'
};

githubStars.getFeed(options, (err, feed) => {
  if (err) {
    console.log('Something went wrong while fetching GitHub Stars Feed');
  } else {
    console.log(feed); // filtered feed
  }
});

Sample Response

[
  {
    title: 'Meet Vinit Shahdeo, a resident of Jharkhand, has been recognized as a GitHub Star',
    summary: 'My journey got featured by the News Khajana.',
    link: 'https://thenewskhazana.com/story/meet-vinit-shahdeo-a-resident-of-jharkhand-has-been-recognized-as-a-github-star-22451/',
    updated: 'Sunday, November 3rd 2019',
    author: {
      name: 'vinitshahdeo',
      uri: 'https://stars.github.com/vinitshahdeo'
    }
  },
  {
    title: 'Mentor - Google Summer Of Code',
    summary: 'Postman is one of the mentoring organization for GSoC. This year, Postman has AsyncAPI Initiative as part of their team.\n\nI will be mentoring an idea for AsyncAPI i.e. AsyncDiff. It\'s basically a library to compare two AsyncAPI documents and generate diff for the review process.',
    link: 'https://community.postman.com/t/idea-9-asyncdiff-general-information/21694',
    updated: 'Sunday, November 3rd 2019',
    author: {
      name: 'vinitshahdeo',
      uri: 'https://stars.github.com/vinitshahdeo'
    }
  }
]

Get complete feed

githubStars.getFeed((err, feed) => {
  if (err) {
    console.log('Something went wrong while fetching GitHub Stars Feed');
  } else {
    console.log(feed); // complete feed
  }
});

Sample Response

[
  {
    title: {
      type: 'html',
      value: 'Meet Vinit Shahdeo, a resident of Jharkhand, has been recognized as a GitHub Star'
    },
    id: 'cknat1te840382f1viftueegf',
    link: {
      href: 'https://thenewskhazana.com/story/meet-vinit-shahdeo-a-resident-of-jharkhand-has-been-recognized-as-a-github-star-22451/'
    },
    updated: '2021-04-02T00:00:00.000Z',
    summary: {
      type: 'html',
      value: 'My journey got featured by the News Khajana.'
    },
    author: {
      name: 'vinitshahdeo',
      uri: 'https://stars.github.com/vinitshahdeo'
    }
  },
  {
    title: { type: 'html', value: 'Mentor - Google Summer Of Code' },
    id: 'ckmm44oxu03192fxc94w0seir',
    link: {
      href: 'https://community.postman.com/t/idea-9-asyncdiff-general-information/21694'
    },
    updated: '2021-03-20T00:00:00.000Z',
    summary: {
      type: 'html',
      value: 'Postman is one of the mentoring organization for GSoC. This year, Postman has AsyncAPI Initiative as part of their team.\n\nI will be mentoring an idea for AsyncAPI i.e. AsyncDiff. It\'s basically a library to compare two AsyncAPI documents and generate diff for the review process.'
    },
    author: {
      name: 'vinitshahdeo',
      uri: 'https://stars.github.com/vinitshahdeo'
    }
  }
];

Options

Additionally, limit, sanitize and username can be passed to filter the feed entries.

Options Type Description
limit Number max entries to be returned
sanitize Boolean return sanitized feed
(only title, summary, link, updated and author)
username String return entries of GitHub Star for given username only

Show first n feed entries

githubStars.getFeed({ limit: 5 }, (err, feed) => {
  if (err) {
    console.log('Something went wrong while fetching GitHub Stars Feed');
  } else {
    console.log(feed); // first 5 feed entries
  }
});

Get feed of any GitHub Star (by their GitHub username say vinitshahdeo)

githubStars.getFeed({ username: 'vinitshahdeo' }, (err, feed) => {
  if (err) {
    console.log('Something went wrong while fetching GitHub Stars Feed');
  } else {
    console.log(feed); // feed of vinitshahdeo only
  }
});

Get sanitized feed

githubStars.getFeed({ sanitize: true }, (err, feed) => {
  if (err) {
    console.log('Something went wrong while fetching GitHub Stars Feed');
  } else {
    console.log(feed); // sanitized feed
  }
});

Blog

Do check out the article "How to get GitHub Stars Contributions" on Hashnode!

Hashnode blog - Vinit Shahdeo

RSS Feed

This NPM module is basically taking the RSS feed for GitHub Stars contributions and converting it into a valid JSON object which can be further used to build Node.js / React applications.

A sample entry from GitHub Stars Contributions feed looks like below:

<entry>
  <title type="html"><![CDATA[ Meet Vinit Shahdeo, a resident of Jharkhand, has been recognized as a GitHub Star ]]></title>
  <id>cknat1te840382f1viftueegf</id>
  <link href="https://thenewskhazana.com/story/meet-vinit-shahdeo-a-resident-of-jharkhand-has-been-recognized-as-a-github-star-22451/"/>
  <updated>2021-04-02T00:00:00.000Z</updated>
  <summary type="html"><![CDATA[ My journey got featured by the News Khajana. ]]></summary>
  <author>
    <name>vinitshahdeo</name>
    <uri>https://stars.github.com/vinitshahdeo</uri>
  </author>
</entry>

Example

Please checkout examples/ directory to view example.

Refer the sample response here.

Acknowledgement

I'm happy to be a part of the GitHub Stars Hall of Fame. From a (green) dot to a star, here’s how my journey uncoiled - tiny.cc/GitHubStar. Check out my GitHub Star profile here. 🌟 Let me know what do you build consuming this API?

PS: Always grateful to GitHub! 🖤

Twitter Follow

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].