| Crates.io | aochelper |
| lib.rs | aochelper |
| version | 0.3.1 |
| created_at | 2024-01-14 17:48:47.502435+00 |
| updated_at | 2024-01-16 00:33:57.199805+00 |
| description | Helper utility to download Advent of Code puzzle inputs. |
| homepage | |
| repository | https://github.com/blairfrandeen/aochelper |
| max_upload_size | |
| id | 1099593 |
| size | 52,584 |
Utility to download Advent of Code puzzle inputs.
cargo install aochelper
Run
aochelper set year <year>
in the directory in which you'll be working to set the puzzle year.
The authentication is automatic if you log into Advent of Code with Snap-installed Firefox on Linux. Otherwise, get your Advent of Code session cookie from your browser of choice, and run
aochelper set session_key <your key here>
To download a puzzle for a given day:
aochelper get <day>
This will download the puzzle inputs to inputs/year.day.
Works on my machine!