My solutions to Advent of Code
Run uv sync
to install all dependencies.
Nb. this requires uv itself to be installed first.
On the first run of each day's solution, aoc
will pull your user input directly from the Advent of Code website, using a session cookie you specify. The input is cached for use in subsequent runs.
You will be prompted to enter your session cookie if no current cookie is stored, or the currently stored cookie is invalid.
uv run aoc
Note: this only works between the 1st and 25th December.
For example, day 6:
uv run aoc 6
For example, 2015 day 21:
uv run -y 2015 21
For additional options, see
uv run aoc --help