# Awesome Advent of Code

This is a collection of awesome resources related to the yearly Advent of Code challenge.

### Sponsors

- The Official AoC Website
- The AoC Subreddit
- Project Templates
- Tools and Utilities
- Other Advent Calendars
- 2018
- 2019
- 2020
- 2021
- 2022
- 2023
- 2024
  - Solutions
    - Ada
    - APL
    - Arturo
    - Assembly
    - AWK
    - Bash
    - BQN
    - C
    - C#
    - C++
    - C3
    - Clojure
    - Common Lisp
    - Crystal
    - D
    - Dart
    - Delphi
    - Deno
    - Elixir
    - Elm
    - Emacs
    - Erlang
    - Excel
    - F#
    - Factor
    - Gleam
    - Go
    - Groovy
    - Hamler
    - Haskell
    - Haxe
    - HolyC
    - Hoon
    - Idris
    - J
    - Java
    - JavaScript
    - jq
    - Julia
    - Kotlin
    - LDPL
    - Lua
    - M4
    - MATLAB
    - Nim
    - Nushell
    - Objective-C
    - OCaml
    - PHP
    - Pascal
    - Perl
    - Picat
    - Pony
    - PowerShell
    - Prolog
    - Python
    - R
    - Racket
    - Raku
    - ReasonML
    - Red
    - REXX
    - Rhombus
    - ROBO1
    - Roc
    - Ruby
    - Rust
    - Smalltalk
    - Scala
    - Scheme
    - Solidity
    - SpectX
    - SQL
    - Standard ML
    - Swift
    - Tcl/Tk
    - TypeScript
    - TypeScript Types
    - Unison
    - V
    - VB.NET
    - Vyxal
    - WebAssembly
    - Whitespace
    - Zig
    - Zsh
  - Live Streams

## Project Templates

Templates, cookiecutters and skeletons for quickly setting up projects in your favourite language.

- 2wndrhs/aoc-2024-typescript-template (TypeScript)
- AlexeSimon/adventofcode (Python)
- derailed-dash/Advent-of-Code (Python Jupyter Notebook)
- Jadarma/advent-of-code-kotlin-template (Kotlin)
- JohnBjrk/adglent Gleam
- KaNaDaAT/AOCSetup (C#)
- Kaitachi/ChallengeStarter (Swift)
- Reason Starter kit for Advent of Code (Reason and OCaml)
- S-ecki/AdventOfCode-Starter-Dart (Dart)
- SpexGuy/Zig-AoC-Template (Zig)
- TanklesXL/gladvent Gleam
- UncleCJ/advent-of-code (Jupyter Python Notebooks)
- advent-of-code-template (PHP)
- alvesvaren/AoC-template (Python)
- amorriscode/advent-of-code (JavaScript)
- arkadye/advent_of_code (C++)
- caderek/aoc-starter-js (JavaScript)
- caderek/aoc-starter-ts (TypeScript)
- dave-burke/advent-of-code-java-starter (Java)
- Viinyard/adventofcode-template (Java)
- thermoweb/aoc-java-template (Java)
- devries/aoc_template (Go)
- dvoiejanovic/advent-of-ruby (Ruby)
- eduherminio/AdventOfCode.MultiYearTemplate (C#)
- eduherminio/AdventOfCode.Template (C#)
- encse/adventofcode-template (C#)
- fangyi-zhou/advent-of-code-ocaml-starter (OCaml)
- fspoettel/advent-of-code-rust (Rust)
- gahjelle/template-aoc-python (Python)
- gobanos/cargo-aoc (Rust)
- goosewin/aoc2024 (TypeScript)
- hughjdavey/aoc-kotlin-starter (Kotlin)
- ismtabo/advent-of-code-deno-template (TypeScript / Deno)
- izexi/aoc-ts-template (TypeScript)
- jjcomer/aoc-helper (Clojure)
- jromero132/advent-of-code (Python)
- kindermoumoute/adventofcode (Go)
- kotlin-hands-on/advent-of-code-kotlin-template (Kotlin)
- lcpichette/aoc-lua-template (Lua)
- mMosiur/AdventOfCodeDayTemplate (C#)
- mariotacke/template-advent-of-code (JavaScript)
- matijaoe/advent-of-code (TypeScript / Bun)
- mhanberg/advent-of-code-clojure-starter (Clojure)
- mhanberg/advent-of-code-elixir-starter (Elixir)
- nickyvanurk/advent-of-code-rust-template (Rust)
- nnari/aoc-typescript-starter (TypeScript)
- pacso/aoc_rb (Ruby)
- pgebert/advent-of-code-kotlin-template (Kotlin)
- rvanasa/aoc-motoko-starter (Motoko)
- sindrekjr/AdventOfCodeBase (C#)
- staylorwr/elixir_aoc (Elixir)
- tomfran/advent-of-code-setup (Python)
- viceroypenguin/adventofcode.template (C#)
- wizardofzos/aoc2021 (Flask-API, Python running REXX on Mainframes)
- wlchs/advent_of_code_go_template (Go)
- xavdid/advent-of-code-python-template (Python)
- stfufane/aoc-cpp-template (C++)

## Tools and Utilities

- Browser extension for private leaderboard visualization
  - Chrome extension
  - Firefox extension
- Browser extension which enhances your personal stats page with a time from Part 1 to Part 2 column (it also tracks when you’ve first opened a puzzle and offsets the completion times accordingly)
  - Chrome extension
  - Firefox extension
- Browser extension (open source) enhancing private leaderboards with a “medals/podium” chart per day, Part 1 to Part 2 overview, and several other charts for your leaderboard
  - Chrome extension “Advent of Code Charts”
  - Firefox extension “Advent of Code Charts”
- Globals medals overview – Alternative global leaderboard showing first, second and third places as gold, silver and bronze medals.
- Scatterplot of first 100 – Scatterplot of the time taken to solve the parts of each puzzle by the first 100 people that solved it.
- Private Leaderboard Visualiser – Given a JSON of your private leaderboard data this website will show you graphs of how long each member took to solve parts 1 and 2 of each day.
- advent-of-code – Command-line interface to download challenge descriptions and inputs, manage, test and automatically submit solutions. (Python)
- aocdl – Command-line utility that automatically downloads your personal input file while you read the puzzle description (Go).
- aocinput – CLI for getting inputs. Clipboard support. Polite to AoC. Nice help and options. (Go)
- aoc_rb – A Ruby gem that generates an empty AoC project, and provides command-line tools for fetching input and submitting solutions (Ruby)
- aoc-cli – Command-line utility that helps solve problems in ruby: it downloads your personal input file, creates the sample source files and benchmarks your solutions (Ruby).
- AocKt – A testing library for creating unit tests for AoC solutions with minimal boilerplate. (Kotlin)
- AoCHelper – NuGet library that simplifies puzzle solving and provides benchmarking (.NET).
- AdventOfCode.Runner – NuGet package that automatically provides your puzzles solvers with the input from the AOC site and verifies calculated answers (.NET / C#).
- aocleaderboard – get over the 200-member limit for private leaderboards and combine multiple leaderboards in a single page with recalculated scores.
- advent-of-code-api – Haskell library for querying AOC prompts, inputs, and leaderboards (Haskell)
- advent-of-code-ocr – Command line utility and Haskell library for parsing AoC ascii art words (Haskell)
- advent-of-code-ocr – Python module for parsing AoC ascii art words (Python)
- aoc-agent – C# source generator that generates: a) tests for your solution logic, b) complete runner that handles input fetching and answer submitting (.NET)
- aoc-ranking – Show all non-zero score AoC participants in one, global scoreboard. (Python)
- aoc-cli – Read puzzle descriptions, download input, and submit answers from the comfort of your terminal. (Rust)
- adventofcode-badge – An interface over Shields.io to facilitate the creation of badges from Advent of Code.
- @aocjs/cli – Package for executing solutions with hot reload and data fetching (JavaScript, TypeScript)
- eggnog – CLI for getting input, directions (with nice colors!), and submitting answers. Caches absolutely everything. (C)
- aoc-badges-action – A GitHub action for updating various aoc-related badges in your README (GitHub Action, Python)
- advent-readme-stars – A GitHub action that adds and maintains a table of your AoC progress to your README (GitHub Action, Python)
- aoctimer – A language-agnostic, multiplatform tool to measure your solution time in relative units, so you can share and compare your results with others.
- aocrunner – A fast solutions runner and template generator, with simple CLI, customizable template, simple testing utility, live reload, and adventofcode.com integration. (JavaScript, TypeScript)
- advent-of-code-client – A Node.js package for fetching inputs, running puzzle challenges and submitting answers to adventofcode.com directly from your JavaScript code. Also includes some commonly used & customizable input transformation functions. (JavaScript)
- advent-of-code-runner – Node.JS CLI solution generator and runner. Downloads inputs, submits answers, prevents duplicate submissions, measures performance, tracks progress and outputs statistics. (JavaScript)
- AoC-execution-time-table-generator – A C++20 tool to generate an execution time table for both parts of each AoC day, based on input file with time details.
- aocf – A CLI tool (and also, optionally, crate) written in Rust, with a CLI inspired by git. Problem briefs may be displayed in a scrollable ANSI terminal (mostly) faithful to the AoC website.
- AdventOfCodeAbstractions – A NuGet package that contains extendable abstractions and generalized helpers to simplify and streamline .NET AoC puzzle solving. (C#)
- aocd – A template generator and library for solving AoC with Deno that handles input fetching and solution submitting. (TypeScript / Deno)
- advent_of_code_utils – Input fetcher and boilerplate generator for those solving AoC in Elixir. (Elixir)
- Advent of Code Surveys (Results Dashboard) – Dashboard with charts and data tables showing the results of the yearly Advent of Code Survey
- AdventOfCode-CLI – A Commandline interface written in python to quickly generate boilerplates in different languages and fetching your puzzle input. Also includes customizable templates and measures solution times.
- aoc-cli – Command-line utility that helps solve problems in python: it downloads your personal input file, creates the sample source files and makes sure you don’t submit answers twice (Python).
- Golfcoder – A code golf community leaderboard for adventofcode.com, with a focus on code size. Every name, including variables and functions, is considered as a single token, irrespective of its length. (Python, Rust, Go, Kotlin, JavaScript, C#, TypeScript, C++, Java, C, Swift, Scala)
- aoc-tiles – A tool which automatically creates a fancy image with solve times for each solved day in your readme as a 5x5 grid. Works as a pre-commit hook or as a CLI (Python).
- wang-aoc-cli – A CLI tool for automatically copying boilerplate code, downloading problem statements and inputs, parsing example inputs and solutions from problem statements, testing against example inputs, and submitting. Expects programs to use stdin and stdout to read inputs and write answers. (Python)
- esb – `esb` is a CLI tool to help us elves save Christmas for the yearly Advent of Code events. (Thank you, Eric! 😉). This tool fetches puzzle statements and puzzle data, creates language agnostic boilerplate code, test run and submit solutions and builds dashboards. Check out an example repo created using `esb`! (Python, Rust, Elixir, Go)
- aoc_helper – `aoc_helper` is a library and command line tool which can generate templates, fetch puzzle inputs, submit solutions, and even automatically detect the tests! It also comes with a huge library of utility classes, such as fluent interfaces to iterators and lists, grids which can automatically read text, and more. (Python)
- Star Track – Web-based visualization tool that generates progress tracking charts and comparisons from your private leaderboard JSON data.
- pysleigh – `pysleigh` is a lightweight python runner , collector, templater, submitter and benchmarker for the advent of code. (Python)
- rusty-sleigh – `rusty-sleigh` is a lightweight rust runner , collector , template, submitter and benchmarker for the advent of code. It is a rust port for `pysleigh` (Rust)

## Other Advent Calendars

24 days of cool stuff regarding .

- Racket Advent Calendar 2024
- Advent of CodSpeed
- Raku Advent Calendar
- QEMU Advent Calendar

## 2024

WARNING: All of these likely contain spoilers.

Read CONTRIBUTING.md to learn how to add your own repos.

### Solutions

#### Ada

Solutions to AoC in Ada.

#### APL

Solutions to AoC in APL.

#### Arturo

Solutions to AoC in Arturo.

- BNAndras/AoC2024-Arturo
- chunes3/aoc-arturo
- drkameleon/arturo-aoc-2024
- 0komo/aoc-2024

#### Assembly

Solutions to AoC in Assembly.

#### AWK

Solutions to AoC in AWK.

- HansPuter/AdventOfCode
- oquijano/aoc_2024

#### Bash

Solutions to AoC in Bash.

- aivovk/advent_of_code
- oquijano/aoc_2024
- tkr-sh/aoc-2024

#### BQN

Solutions to AoC in BQN.

- slotThe/advent

#### C

Solutions to AoC in C.

- Spacefreak18/AdventOfCode2024-BasedEdition
- StynH/Advent-Of-Code2024-in-C-23
- alexlnkp/aoc
- happycoder74/adventofcode
- piscilus/aoc24

#### C

Solutions to AoC in C#.

- AbundantSalmon/advent-of-code-2024
- Tholdrim/Competitions
- eduherminio/AoC2024
- encse/adventofcode
- grigoresc/adventofcode.2024
- kavun/advent-of-code-2024
- qazer2687/aoc24
- udvlp/Advent-of-Code-2024
- viceroypenguin/adventofcode

#### C++

Solutions to AoC in C++.

- Luochenghuang/aoc_2024
- Sycix-HK/Advent-of-Code-2024-RPG
- WolodiaM/aoc2024
- admo/AoC
- arcogelderblom/AdventOfCode
- bg2b/aoc24
- coralkashri/AOC
- mls-m5/advent-of-code-solutions

#### C3

Solutions to AoC in C3.

#### Clojure

Solutions to AoC in Clojure.

- carnundotcom/Advent-of-Code
- FelipeCortez/advent-of-code
- Maravedis/advent_code
- RyanFleck/aoc24
- abyala/advent-2024-clojure
- caseneuve/aoc2024
- coyotesqrl/advent-of-code
- dazld/aoc2024
- erdos/advent-of-code
- genmeblog/advent-of-code
- ghaskins/adventofcode
- narimiran/aoc2024
- rileythomp/adventofcode
- rjray/advent-2024-clojure
- samcf/advent-of-code
- slotThe/advent
- tildedave/advent-of-code
- tschady/advent-of-code
- vollcheck/aoc

#### Common Lisp

Solutions to AoC in Common Lisp.

- bo-tato/advent-of-code-2024
- ynadji/advent

#### Crystal

Solutions to AoC in Crystal.

#### D

Solutions to AoC in D.

#### Dart

Solutions to AoC in Dart.

- julemand101/AdventOfCode2024

#### Delphi

Solutions to AoC in Delphi.

- marvin-schultz/AoC-2024-Delphi

#### Deno

Solutions to AoC in Deno.

- dbud/advent-of-code
- felixonwheels/advent-of-code-2024
- mabenj/aoc-deno-ts

#### Elixir

Solutions to AoC in Elixir.

- Eoic/AdventOfCode2024
- radoslawgrochowski/advent-of-code-2024

#### Elm

Solutions to AoC in Elm and Literate Elm.

#### Emacs Lisp

Solutions to AoC in Emacs Lisp (elisp).

#### Erlang

Solutions to AoC in Erlang.

#### Excel

Solutions to AoC in Excel.

#### F

Solutions to AoC in F#.

- Exaltead/AdventOfCode
- JannikNickel/AdventOfCode
- YogurtTheHorse/AdventOfCode

#### Factor

Solutions to AoC in Factor.

#### Gleam

Solutions to AoC in Gleam.

- devries/advent_of_code_2024
- mgkoning/advent-of-code-2024
- scorphus/advent-of-code-2024
- zbyju/advent-of-code

#### Go

Solutions to AoC in Go.

- jjj120/AdventOfCode
- jmontroy90/aoc-2024-golang
- metalim/adventofcode.2024.go
- pin2t/aoc2024
- rwxsb/advent-of-code-2024
- unnerving-sprinkler/AOC24
- wlachs/aoc24

#### Groovy

Solutions to AoC in Groovy.

#### Hamler

Solutions to AoC in Hamler.

#### Haskell

Solutions to AoC in Haskell.

- Lorin-Lange/advent-of-code
- Ma-Fi-94/advent-of-haskell-24
- ephemient/aoc2024
- glguy/advent

#### Haxe

Solutions to AoC in Haxe.

#### HolyC

Solutions to AoC in HolyC (TempleOS).

#### Hoon

Solutions to AoC in Hoon (Urbit).

#### Idris

Solutions to AoC in Idris.

#### J

Solutions to AoC in J.

- jitwit/aoc

#### Java

Solutions to AoC in Java.

- SimonBaars/AdventOfCode-Java
- Viinyard/adventofcode
- bqcuong/AdventOfCode
- dapitch666/AdventOfCode
- mitegab/aoc24
- pin2t/aoc2024

#### JavaScript

Solutions to AoC in JavaScript.

- BobbyMcBobFace/AOC2024
- DearRude/advent-of-code
- Topener/adventofcode
- anamsmartins/adventOfCode2024
- chdominguez/aoc_2024
- derfritz/AoC24
- kaelri/advent-of-code
- niksimon/advent-of-code
- rkeytacked/adventofcode-2024
- jorgenlt/advent-of-code

#### jq

Solutions to AoC in jq.

#### Julia

Solutions to AoC in Julia.

- DaniGlez/aoc
- Titas22/AdventOfCode.jl
- goggle/AdventOfCode2024.jl

#### Kotlin

Solutions to AoC in Kotlin.

- 7rebux/advent-of-code-2024
- askeron/advent-of-code-kotlin-2024
- ephemient/aoc2024

#### LDPL

Solutions to AoC in LDPL.

#### Lua

Solutions to AoC in Lua.

#### M4

Solutions to AoC in M4.

#### MATLAB

Solutions to AoC in MATLAB (Octave).

- ptoshkov/aoc-2024-octave

#### Nim

Solutions to AoC in Nim.

- multiplex55/AdventOfCodeNim

#### Nushell

Solutions to AoC in Nushell.

- NonlinearFruit/advent-of-code-2024

#### Objective-C

Solutions to AoC in Objective-C.

#### OCaml

Solutions to AoC in OCaml.

- vshender/advent-of-code

#### PHP

Solutions to AoC in PHP.

- dannyvankooten/advent-of-code
- jvwag/advent-of-code
- tbali0524/advent-of-code-solutions

#### Pascal

Solutions to AoC in Pascal.

- marvin-schultz/AoC-2024-Delphi

#### Perl

Solutions to AoC in Perl.

- joseareia/advent-of-code

#### Picat

Solutions to AoC in Picat.

- DestyNova/advent_of_code_2024

#### Pony

Solutions to AoC in Pony.

#### Prolog

Solutions to AoC in Prolog.

#### PowerShell

Solutions to AoC in PowerShell.

#### Python

Solutions to AoC in Python.

- AbdeI1/AdventOfCode
- DownDev/advent-of-code
- GNUSheep/AdventOfCode
- Grecil/ElegantAoC24
- Kokopak/advent2024
- Kyrylo-Ktl/advent-of-code
- LiquidFun/adventofcode
- Lkeurentjes/Advent_of_code
- NimVek/advent-of-code
- Samarth-Pai/advent-of-code-2024
- SebastianMaung/advent-of-code-2024
- SpiderScripts/adventofcode
- StephaneBranly/advent-of-code
- TurtleSmoke/Advent-of-Code
- advent-of-code.xavd.id
- derailed-dash/advent-of-code
- dis-Is-Fine/advent-of-code-2024
- ephemient/aoc2024
- happycoder74/adventofcode
- itsvncl/Advent-of-code
- jromero132/advent-of-code
- m3mory/advent-of-code
- maread99/aoc
- mebeim/aoc
- ndunnett/aoc
- nitekat1124/advent-of-code-2024
- pivoshenko/adventofcode
- r0f1/adventofcode2024
- ryuheechul/advent-of-code
- taflaj/AdventOfCode
- tomfran/aoc-24
- vil02/adv_2024
- vshargin/advent-of-code
- Fadi88/AoC

#### R

Solutions to AoC in R.

- AndreaBarghetti/AdventOfCode
- jrh-dev/AdventOfCode2024
- plannapus/Advent_of_Code

#### Racket

Solutions to AoC in Racket.

- Bogdanp/aoc2024

#### Raku

Solutions to AoC in Raku.

- bo-tato/advent-of-code-2024

#### ReasonML

Solutions to AoC in ReasonML.

#### Red

Solutions to AoC in Red.

#### REXX

Solutions to AoC in REXX.

#### Rhombus

Solutions to AoC in Rhombus.

- samdphillips/aoc-2024

#### ROBO1

Solutions to AoC in ROBO1.

#### Roc

Solutions to AoC in Roc.

- lukewilliamboswell/aoc
- normanjaeckel/AdventOfCode
- ostcar/aoc2024

#### Ruby

Solutions to AoC in Ruby.

#### Rust

Solutions to AoC in Rust.

- AndrejOrsula/aoc
- DarthGandalf/advent-of-code
- XmchxUp/aoc
- baddate/aoc2024
- connorslade/advent-of-code
- drwilco/aoc
- ephemient/aoc2024
- jthomaschewski/advent-of-code
- keelus/advent-of-code
- m4tx/advent-of-code
- maneatingape/advent-of-code-rust
- ndunnett/aoc
- rust-dd/aoc-2024
- sivertjoe/Advent-of-Code
- slotThe/advent
- syncd010/AoC2024
- tbali0524/advent-of-code-rust
- tyomka896/advent-of-code-2024-rust
- yoyoyonono/aoc2024
- zsacul/AdventOfCode2024
- Fadi88/AoC
- rene-d/advent-of-rust

#### Smalltalk

Solutions to AoC in Smalltalk.

#### Scala

Solutions to AoC in Scala.

- FlorianCassayre/AdventOfCode-2024
- fdlk/advent-2024
- nikiforo/aoc24
- sim642/adventofcode
- vshargin/advent-of-code

#### Scheme

Solutions to AoC in Scheme.

- filiplajszczak/advent-of-code-2024
- jefgr/AdventOfCode2024

#### Solidity

Solutions to AoC in Solidity.

#### SpectX

Solutions to AoC in SpectX.

#### SQL

Solutions to AoC in SQL.

- LennartH/advent-of-code

#### Standard ML

Solutions to AoC in Standard ML.

#### Swift

Solutions to AoC in Swift.

- Abizern/aoc-swift-2024
- gereons/AoC2024
- leohidalgo/aoc-swift

#### Tcl/Tk

Solutions to AoC in Tcl/Tk

- harkaitz/advent-of-code-2024-tcl

#### TypeScript

Solutions to AoC in TypeScript.

- Azgmohammadd/AdventOfCode2024-typescript
- FrozyPenguin/AdventOfCode2024
- SwiftPush/advent-of-code-2024
- dbud/advent-of-code
- felixonwheels/advent-of-code-2024
- goosewin/aoc2024
- mabenj/aoc-deno-ts
- pstachula-dev/advent-of-code
- webkonstantin/advent-of-code

#### TypeScript Types

Solutions to AoC in the TypeScript type system.

#### Unison

Solutions to AoC in Unison.

#### V

Solutions to AoC in V.

#### VB.NET

Solutions to AoC in VB.NET.

#### Vyxal

Solutions to AoC in Vyxal.

- taylors-version/advent-of-code-2024-vyxal

#### WebAssembly

Solutions to AoC in WebAssembly.

- cszach/advent-of-wasm-2024

#### Whitespace

Solutions to AoC in Whitespace.

#### Zig

Solutions to AoC in Zig.

- mogottsch/adventofcode
- p88h/aoc2024

#### Zsh

Solutions to AoC in Zsh.

### Live Streams

Folks who are live streaming their process.

- EllieKrowzy – streaming AoC (C++) on youtube.

adventofcode.md Github