#aoc #advent-of-code #html-to-markdown

app aocmd-dl

A command line tool for downloading Advent of Code puzzle text as Markdown

1 unstable release

0.1.0 Nov 12, 2023

#23 in #advent-of-code

MIT and GPL-3.0+

18KB
98 lines

aocmd-dl

An Advent Of Code markdown downloader. It just tries to convert the problem text and samples as markdown for you to preserve next to your code in git for your own posterity.

Usage

  • aocmd-dl
  • aocmd-dl --day 2015/1
  • aocmd-dl --day 2015/1 --token xxx

Get your token

after logging in to AoC

  • Open Developer tools in your browser
  • Go to the application tab
  • Under the storage dropdown see the cookies sections (for the https://adventofcode.com domain)
  • Copy the value of the session key

Installation

With cargo

todo

From source

todo

From Github releases

todo

Dependencies

~13–27MB
~428K SLoC