{"id":17552570,"url":"https://github.com/iloveitaly/github-digest","last_synced_at":"2025-07-15T04:07:50.165Z","repository":{"id":228840228,"uuid":"775062895","full_name":"iloveitaly/github-digest","owner":"iloveitaly","description":"Create an email digest of activity tied to your GitHub account.","archived":false,"fork":false,"pushed_at":"2025-07-02T12:02:12.000Z","size":777,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-02T13:21:57.035Z","etag":null,"topics":["digest","email","github"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iloveitaly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["iloveitaly"]}},"created_at":"2024-03-20T17:33:48.000Z","updated_at":"2025-07-02T12:01:04.000Z","dependencies_parsed_at":"2024-06-16T07:56:32.128Z","dependency_job_id":"14ea47f7-427b-47b8-9c51-85bfb94d509c","html_url":"https://github.com/iloveitaly/github-digest","commit_stats":null,"previous_names":["iloveitaly/github-digest"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iloveitaly/github-digest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iloveitaly%2Fgithub-digest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iloveitaly%2Fgithub-digest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iloveitaly%2Fgithub-digest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iloveitaly%2Fgithub-digest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iloveitaly","download_url":"https://codeload.github.com/iloveitaly/github-digest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iloveitaly%2Fgithub-digest/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265402519,"owners_count":23759176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["digest","email","github"],"created_at":"2024-10-21T05:43:13.851Z","updated_at":"2025-07-15T04:07:50.140Z","avatar_url":"https://github.com/iloveitaly.png","language":"Python","readme":"# GitHub Email Digest\n\nWhy? Because GitHub's notification system is a complete mess and unusable.\n\nThis generates a nice email digest of all activity on your GitHub and sends it over email. Or, you could target any GitHub username to see\nwhat someone is up to and talking about.\n\nThere's a nice docker image for deployment. Set a `SCHEDULE` and an optional heartbeat for uptime checking, and get a digest on whatever cadence you want.\n\n## How it works\n\nThere's a [great tool named dinghy which summarizes github activity.](https://github.com/nedbat/dinghy)\n\nThis project builds upon this library:\n\n1. Runs it on a cron\n2. Bundles a default config file\n3. Converts HTML into a email-safe format\n4. Sends an email\n\n## Usage\n\n```shell\n❯ github-digest --help\nUsage: github-digest [OPTIONS]\n\nOptions:\n  --since [%Y-%m-%d]      Date to pull notifications since in YYYY-MM-DD\n                          format  [required]\n  --github-username TEXT  Who is the target GitHub user for this digest\n                          [required]\n  --email-to TEXT         Who to send the digest to  [required]\n  --email-from TEXT       Who to send the digest from\n  --email-auth TEXT       Email authentication string  [required]\n  --dry-run               Output HTML instead of sending an email\n  --help                  Show this message and exit.\n```\n\n### Docker\n\nYou can use the [docker image](./docker-compose.yml) to run the digest as well. I've really [liked resend](https://resend.com/emails) for SMTP.\n\n## Development\n\nSimulating a cron run:\n\n```python\nfrom datetime import datetime\nimport os\nfrom github_digest import cli\n\nlast_synced_raw = '2025-01-01 01:12:13.232395+00:00'\nlast_synced = datetime.fromisoformat(last_synced_raw)\n\nos.environ[\"GITHUB_DIGEST_GITHUB_USERNAME\"] = \"iloveitaly\"\nos.environ[\"GITHUB_DIGEST_SINCE\"] = last_synced.strftime(\"%Y-%m-%d\")\n\ncli()\n```\n\nYou can do this within a container as well:\n\n```bash\npip install ipython\nipython\n```\n\n## Deployment\n\nI had some trouble building the container with nixpacks (my favorite build tool) because of required libraries. Here's a\ncommand I used to help replicate the prod environment locally\n\n```bash\nnixpacks build . --name github-digest-local --libs=cairo # you can play around with various config settings\n\ndocker run --env GITHUB_TOKEN --env GITHUB_DIGEST_EMAIL_AUTH --env GITHUB_DIGEST_EMAIL_TO --env GITHUB_DIGEST_EMAIL_FROM -it github-digest-local:latest bash -l\n```","funding_links":["https://github.com/sponsors/iloveitaly"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filoveitaly%2Fgithub-digest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filoveitaly%2Fgithub-digest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filoveitaly%2Fgithub-digest/lists"}