{"id":23658264,"url":"https://github.com/peruibeloko/aoc2023","last_synced_at":"2025-11-27T05:30:17.599Z","repository":{"id":210822208,"uuid":"726973025","full_name":"Peruibeloko/advent-of-code-2023","owner":"Peruibeloko","description":"My solutions for the Advent of Code 2023 using Elixir.","archived":false,"fork":false,"pushed_at":"2024-03-04T03:58:38.000Z","size":57,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-29T00:07:33.909Z","etag":null,"topics":["advent-of-code","advent-of-code-2023","adventofcode","elixir","functional-programming"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":false,"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/Peruibeloko.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":"2023-12-03T22:46:52.000Z","updated_at":"2024-01-24T14:28:36.000Z","dependencies_parsed_at":"2024-01-30T19:23:37.213Z","dependency_job_id":"0bc91220-e910-4612-a8eb-b9886252952c","html_url":"https://github.com/Peruibeloko/advent-of-code-2023","commit_stats":null,"previous_names":["peruibeloko/advent-of-code-2023"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Peruibeloko%2Fadvent-of-code-2023","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Peruibeloko%2Fadvent-of-code-2023/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Peruibeloko%2Fadvent-of-code-2023/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Peruibeloko%2Fadvent-of-code-2023/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Peruibeloko","download_url":"https://codeload.github.com/Peruibeloko/advent-of-code-2023/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239639282,"owners_count":19672794,"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":["advent-of-code","advent-of-code-2023","adventofcode","elixir","functional-programming"],"created_at":"2024-12-29T00:06:32.467Z","updated_at":"2025-11-27T05:30:17.558Z","avatar_url":"https://github.com/Peruibeloko.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code 2023 (Elixir)\n\nThis repo contains my solutions for the 2023 Advent of Code. I took this opportunity to learn a new language I've been wanting to try out for some time, [Elixir](https://elixir-lang.org/), a widely used Brazilian functional programming language.\n\nWhat you'll find in here is mostly comprised of DSA, text manipulation and some other shenanigans.\n\n## Running\n\nTo run this project:\n\n1. Install [Erlang/OTP 25 (direct link)](https://github.com/erlang/otp/releases/download/OTP-25.3.2.8/otp_win64_25.3.2.8.exe)\n1. Install [Elixir (direct link)](https://github.com/elixir-lang/elixir/releases/download/v1.16.0/elixir-otp-25.exe)\n1. Clone this repo\n1. Run the `day` [task](#tasks)\n\n## Tasks\n\n### `mix day \u003cday\u003e.\u003cpart\u003e [filename]`\n\nThis command allows you to run the solution for the specific day and part, possibly using the provided filename as input.\n\nIf filename is absent, uses `input.txt`\n\nExamples:\n\n```bash\n# Runs solution for Day 3 Part 2, using input.txt\nmix day 3.2\n\n# Runs solution for Day 4 Part 1, using test.txt\nmix day 4.1 test\n```\n\n### `mix create \u003cday\u003e`\n\nGenerates the following boilerplate for solving `day`:\n\n```\nadvent_of_code/\n├── (other solutions)\n└── day_n/\n    ├── part_1.ex\n    ├── part_2.ex\n    ├── input.txt\n    └── test.txt\n```\n\nEach solution part is also initialized with some boilerplate code:\n\n```elixir\nalias AdventOfCode.Utils\n\ndefmodule AdventOfCode.Day$day_number$.Part$part_number$ do\n  def line_parser(line) do\n    line\n  end\n\n  def run(file_name) do\n    file_name\n    |\u003e Utils.parse_file(\u0026line_parser/1)\n  end\nend\n```\n\nThe `$day_number$` and `$part_number$` placeholders are replaced with the proper values during creation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperuibeloko%2Faoc2023","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperuibeloko%2Faoc2023","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperuibeloko%2Faoc2023/lists"}