Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chtozamm/adventofcode-input-dl
A command-line utility for downloading Advent of Code input
https://github.com/chtozamm/adventofcode-input-dl
adventofcode go
Last synced: 21 days ago
JSON representation
A command-line utility for downloading Advent of Code input
- Host: GitHub
- URL: https://github.com/chtozamm/adventofcode-input-dl
- Owner: chtozamm
- License: mit
- Created: 2024-11-10T17:25:10.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-30T20:29:08.000Z (about 1 month ago)
- Last Synced: 2024-11-30T21:25:05.390Z (about 1 month ago)
- Topics: adventofcode, go
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Advent of Code Input Downloader
A command-line tool for downloading the input for the Advent of Code challenges.
## Prerequisites
- Go is required to build or [install](#installation) the application.
- A valid session cookie from [Advent of Code](https://adventofcode.com/). You can obtain this by logging into your account and copying the session cookie.
- Set the session cookie as an environmental variable `AOC_SESSION`.## Installation
Install with Go:
```sh
go install github.com/chtozamm/adventofcode-input-dl/cmd/adventofcode@latest
```## Usage
```sh
adventofcode
```To download the input for Day 1 of Advent of Code 2023, simply run:
```sh
adventofcode 2023 1
```You should see a message like:
```sh
Successfully created aoc_2023_day_1.txt
```## License
[MIT](https://github.com/chtozamm/adventofcode-input-dl/blob/main/LICENSE.md)