aviflax / github-digests

Aggregates GitHub notifications into daily email digests.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub Digests (GD) is a system that aggregates its users GitHub notifications into daily email digests. This might be really helpful for people who receive dozens or hundreds of notifications per day and actually want to scan the contents of those notifications but don’t need to see each one discretely in realtime.

GD has a few discrete components; each has its own Git repository. This repository exists to host documentation for the overall system.

Components & Repositories

  • github-digests-web is the Web UI for GD. It serves the public Website and allows people to sign in, adjust their settings, etc. It saves accounts and their settings to the database.
  • github-digests-digester is the process that runs hourly, retrieves notifications from GitHub’s API, aggregates them into digest emails, and sends those emails. It retrieves accounts and their settings from the database and saves logs to the database.
  • The database is a RethinkDB database. It stores accounts and their settings, and logs. There’s currently no repository for this component because at the moment it’s a 100% stock instance of ReThinkDB with no schema, migrations, secondary indices, or other configuration. If and when those things are necessary, a repository will be created for them.

Current Status

I’ve started on the Web UI. It’s going slowly because I’m writing it in Ruby at the same time that I learn Ruby. (I’m a sucker for punishment.) It can currently authenticate a user via GitHub, retrieve that user’s “profile” from the GitHub API, create an “account” for the user in the DB, and present a settings page. Next is displaying the default settings and allowing the user to actually change the settings. After that account deletion; then the Web UI should be more or less complete and I’ll move on to the digester.

Disclaimer

This project is not affiliated or associated with or endorsed by GitHub (the organization). It employs GitHub’s API in conformance with its terms of service.

Feedback

If you have any questions, suggestions, concerns, or problems to share, please open an issue or email me.

License

This entire system is copyright © 2014 by Avi Flax and is licensed under the terms of the MIT License. See LICENSE for the full terms.

About

Aggregates GitHub notifications into daily email digests.

License:MIT License