Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 829 Bytes

README.md

File metadata and controls

32 lines (25 loc) · 829 Bytes

Rust

aochelper

Utility to download Advent of Code puzzle inputs.

Installation

cargo install aochelper

Setup

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>

Usage

To download a puzzle for a given day:

aochelper get <day>

This will download the puzzle inputs to inputs/year.day.

Troubleshooting

Works on my machine!