Open jeffbcross opened 9 years ago
We could run a node server that polls the Github API and stores it into a Firebase.
One thing I like about just letting the client poll is that it stops polling when the client is closed, and can make (1 * pages of updates) requests to get updated data. Otherwise the server could end up polling a ton of repositories constantly, even if a client will never again care about the repo it's polling.
We'd originally hoped to be able to install Webhooks that would send payloads to Firebase for updates to issues, repositories, and other objects. Unfortunately, through trial and error, it seems like Webhooks can only be installed on projects on which the user has admin rights.
So it looks like the better approach is to use the Events API
Further research is warranted before diving into implementation.