work in progress, but you can fork and use it as you like. I wanted something ready for me to use for the first day of AoC. I'll keep improving it as I go.
Install deps
mix deps.get
Create the env file
touch .env
Add the session cookie in the .env file
echo "AOC_SESSION=your_session_cookie" > .env
Fetch the input, description and setup the solution
# mix run download YEAR DAY
mix setup 2024 1
Run the solution
# mix run solve YEAR DAY PART
mix solve 2024 1 1
Run and submit the solution
mix solve 2024 1 1 --submit # or -s
Yes, please