{"id":23501882,"url":"https://github.com/egonny/advent-of-code-notifier","last_synced_at":"2025-07-23T04:03:48.466Z","repository":{"id":45857119,"uuid":"226361543","full_name":"egonny/advent-of-code-notifier","owner":"egonny","description":"A simple notifier for changes in private Advent of Code leaderboards","archived":false,"fork":false,"pushed_at":"2023-12-01T09:26:28.000Z","size":39,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T20:44:15.317Z","etag":null,"topics":["advent-of-code","discord","slack"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/egonny.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2019-12-06T15:50:50.000Z","updated_at":"2023-02-01T23:27:05.000Z","dependencies_parsed_at":"2024-12-25T07:47:04.394Z","dependency_job_id":"054e0de6-bcdf-4112-b6cb-0547dca13f1d","html_url":"https://github.com/egonny/advent-of-code-notifier","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/egonny/advent-of-code-notifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonny%2Fadvent-of-code-notifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonny%2Fadvent-of-code-notifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonny%2Fadvent-of-code-notifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonny%2Fadvent-of-code-notifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/egonny","download_url":"https://codeload.github.com/egonny/advent-of-code-notifier/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonny%2Fadvent-of-code-notifier/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266614309,"owners_count":23956342,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["advent-of-code","discord","slack"],"created_at":"2024-12-25T07:42:42.530Z","updated_at":"2025-07-23T04:03:48.428Z","avatar_url":"https://github.com/egonny.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code Notifier\n\nA script that sends a message on Slack and/or Discord whenever a leaderboard on [Advent of Code](https://adventofcode.com/) changes.\n\n* On the first run, the script reads the current leaderboard and writes it to a new file called `old_leaderboard.json` in the current directory.\n* On subsequent runs, the script reads the previous leaderboard from this file and compares it with the current leaderboard.\n  It then sends a message summarizing the leaderboard changes to the configured Slack app and/or Discord server, and updates the file's contents.\n\n## Setup\n\n```bash\npip install -r requirements.txt\n```\n\n## Example webhook\n![Screenshot 2021-12-01 160204](https://user-images.githubusercontent.com/3670206/144258498-76522696-2790-4bd9-9790-7a0d53440ac5.png)\n\n## Running\n\nThe CLI accepts input as environment variables:\n* `AOC_SESSION`: The `session` cookie for authenticating with the AoC API.\n* `AOC_BOARD`: The ID of the private leaderboard to monitor.\n* `AOC_SLACK_HOOK`: The [Webhook URL](https://api.slack.com/messaging/webhooks) for your Slack app. (Optional)\n* `AOC_DISCORD_HOOK`: The [Webhook URL](https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks) for your Discord server. (Optional)\n\nExample usage:\n```bash\nAOC_SESSION=my_cookie AOC_BOARD=123456 AOC_SLACK_HOOK=my_slack_url python -m aoc-notifier\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegonny%2Fadvent-of-code-notifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fegonny%2Fadvent-of-code-notifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegonny%2Fadvent-of-code-notifier/lists"}