{"id":28635688,"url":"https://github.com/ageron/aoc2024-elixir","last_synced_at":"2025-06-12T17:11:21.527Z","repository":{"id":266827039,"uuid":"899407072","full_name":"ageron/aoc2024-elixir","owner":"ageron","description":"Solutions of Advent-of-Code 2024 in Elixir","archived":false,"fork":false,"pushed_at":"2024-12-06T10:53:53.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-06T11:32:43.203Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/ageron.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}},"created_at":"2024-12-06T07:48:04.000Z","updated_at":"2024-12-06T10:53:56.000Z","dependencies_parsed_at":"2024-12-06T11:32:45.153Z","dependency_job_id":"becc7467-93c9-40ad-a31d-c72f12643bbe","html_url":"https://github.com/ageron/aoc2024-elixir","commit_stats":null,"previous_names":["ageron/aoc2024-elixir"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ageron/aoc2024-elixir","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ageron%2Faoc2024-elixir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ageron%2Faoc2024-elixir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ageron%2Faoc2024-elixir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ageron%2Faoc2024-elixir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ageron","download_url":"https://codeload.github.com/ageron/aoc2024-elixir/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ageron%2Faoc2024-elixir/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259509474,"owners_count":22868837,"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":[],"created_at":"2025-06-12T17:11:18.646Z","updated_at":"2025-06-12T17:11:21.500Z","avatar_url":"https://github.com/ageron.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code 2024 in Elixir\n\nIf you've never heard of Advent of Code, you're missing out. Check it out now at [adventofcode.com](https://adventofcode.com/about)!\n\nI mostly do AoC puzzles for fun, generally coding in Python or Rust, but I've also found that it's a great way to get some experience with other programming languages, such as Elixir, Haskell, or Julia.\n\nThis repository contains all my solutions to the [AoC 2024](https://adventofcode.com/2024) puzzles using Elixir.\n\nAs I'm still learning Elixir, the code may not always be as simple or idiomatic as it could be. If you have suggestions for things I could improve, please don't hesitate to file an issue or submit a PR. Thanks!\n\n## Usage\n\nMake sure you have Elixir and Git installed, then open a terminal and run:\n\n```shell\ngit clone https://github.com/ageron/aoc2024-elixir\ncd aoc2024-elixir\nmix aoc2024.run\n```\n\nYou can specify days to run if you want, for example this will run days 2, 4, and 6:\n\n```\nmix aoc2024.run 2 4 6\n```\n\n## Getting the data\n\nI've also included a little `get_data.py` utility to automatically download the data of the day, at the right time (you'll get a countdown if you're early). I was too lazy to code it in Elixir, but perhaps I'll port it one day. To use it, just type the following command in a terminal, replacing `{day}` with the day you want:\n\n```\ncd /path/to/this/repository\npython get_data.py 2024 {day}\n```\n\nThe script requires the `requests` and `pytz` libraries, which you can install like this:\n\n```\npython -m pip install --user requests pytz\n```\n\nThe first time you run `get_data.py`, you will be asked to login to AoC in your browser, [find your session cookie](https://github.com/wimglenn/advent-of-code-wim/issues/1), and save it into a `.session` file in the current directory.\n\nHave fun!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fageron%2Faoc2024-elixir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fageron%2Faoc2024-elixir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fageron%2Faoc2024-elixir/lists"}