Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/odnoletkov/advent-of-code-jq

Solving Advent of Code with jq
https://github.com/odnoletkov/advent-of-code-jq

advent-of-code advent-of-code-2020 advent-of-code-2021 aoc jq

Last synced: 6 days ago
JSON representation

Solving Advent of Code with jq

Lists

README

        

# advent-of-code-jq

Solving [Advent of Code](https://adventofcode.com) with [jq](https://github.com/stedolan/jq)

## Run with input file

$ jq -nRf 2020/01-1.jq your_input.txt

## Or fetch input automatically (macOS)

$ make save-session
... paste 'session' cookie from browser
$ make 2020/01-1

## Demo of solving using [vim-jqplay](https://github.com/bfrg/vim-jqplay)

[![asciicast](https://asciinema.org/a/rzFW2vMjOqUTHgat5YmOQ2oVw.svg)](https://asciinema.org/a/rzFW2vMjOqUTHgat5YmOQ2oVw?autoplay=1)