Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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.

About

🔥 SSE firehose of GitHub public timeline

Resources

License

Releases

No releases published

Packages

No packages published