advent v1.0.0
advent
A quick tool for caching Advent of Code problems offline.
Limitations
Currently, this tool only works unauthenticated. Because of the way Advent of Code is designed to work, this means that only Part 1 of each day's puzzles will be fetchable. I do plan to add authentication to this tool, however Part 2 of each day's puzzles will only be fetchable after Part 1 is submitted correctly (if I understand correctly).
Usage
$ advent YEAR DAYFetches the puzzle for YEAR and DAY and prints it$ advent fetchallFetches all puzzles without printing them$ advent helpDisplays this help
The environment variable ADVENT_OF_CODE_CACHE can be set to indicate that an offline cache should be checked before fetching the puzzle from the Advent of Code website. Additionally, setting this variable will cause puzzles that are fetched from the website to be saved to the directory indicated in the variable.
Contributing
- Fork it (https://github.com/Willamin/advent/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Will Lewis - creator and maintainer
advent
- 0
- 0
- 0
- 0
- 0
- about 5 years ago
- August 25, 2020
MIT License
Wed, 29 Oct 2025 00:41:51 GMT