- Python >= 3.13
- Go >= 1.23
-
Install
requirements.txt
python packages. -
Create a
.env
file in this folder with following content:AOC_SESSION=<your "session" cookie from AoC website after you login>
Or alternively set environment variable using
.zshrc
,direnv
, etc. -
Then run following command in terminal.
python aoc.py -y <year> -d <day> -l <language>
It will automatically download the input file.