LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

aoc

Advent of Code puzzle helper (download, read, submit)

TLDR

Download today's puzzle input
$ aoc download
copy
Download a specific day
$ aoc download --day [1]
copy
Submit an answer
$ aoc submit [1] [answer]
copy
Show the calendar / stars
$ aoc calendar
copy
Read puzzle description
$ aoc read
copy

SYNOPSIS

aoc *command* [*options*]

DESCRIPTION

aoc (from the aoc-cli crate) talks to [Advent of Code](https://adventofcode.com) using your session cookie: download descriptions and inputs, submit answers, and view star progress from the terminal. Install via cargo install aoc-cli, Homebrew taps, or release binaries.Authenticate by placing the session cookie in an environment variable or config file as documented upstream (AOC_SESSION, etc.).

PARAMETERS

download | d

Save puzzle statement and/or input files.
submit | s
Submit part 1/2 answers.
read | r
Show puzzle description.
calendar | c
Show calendar and collected stars.
--day *n* / --year *y*
Select puzzle day/year (defaults to current event day when in December).

CAVEATS

Requires a valid AoC session cookie; do not commit it. Respect the event's automation rules and rate limits. Puzzle content is copyright Eric Wastl.

SEE ALSO

curl(1)

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid