librariesio/github-firehose

Name: github-firehose

Owner: Libraries.io

Description: :fire: SSE firehose of GitHub public timeline

Created: 2015-10-22 19:04:58.0

Updated: 2018-05-15 15:42:17.0

Pushed: 2018-05-15 15:42:16.0

Homepage: http://github-firehose.libraries.io

Size: 96

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Github Firehose

ServerSentEvents (also known as SSE or Eventsource) firehose of GitHub public timeline

See an example use of the stream here: https://libraries.io/github/timeline

Setup

Clone the repository

git clone https://github.com/librariesio/github-firehose.git

Generate a new GitHub personal access token here: https://github.com/settings/tokens/new

Start the server:

ACCESS_TOKEN=your_personal_access_token node app.js

Receive events here: http://localhost:5001/events

Payloads mirror the event types from the GitHub Firehose, documented here: https://developer.github.com/v3/activity/events/types/

Contributing
  1. Fork it ( https://github.com/librariesio/github-firehose/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request
Copyright

Copyright (c) 2017 Andrew Nesbitt. See LICENSE for details.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.