You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

proxy-git.cwkhome.fun/obalunenko/advent-of-code

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proxy-git.cwkhome.fun/obalunenko/advent-of-code

v1.16.0
Go
Version published
Created
Source

GitHub go.mod Go version GoDoc Latest release artifacts Lint & Test & Build & Release Lint Test & Build Go Report Card codecov Quality Gate Status coverbadger-tag-do-not-edit

advent-of-code

Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. People use them as a speed contest, interview prep, company training, university coursework, practice problems, or to challenge each other.

This repository contains solutions for puzzles and cli tool to run solutions to get answers for input on site.

Implemented solutions

2024 Results

DayPart 1Part 2
Day 1

2023 Results

DayPart 1Part 2
Day 1

2022 Results

DayPart 1Part 2
Day 1

2021 Results

DayPart 1Part 2
Day 1
Day 2
Day 3
Day 4
Day 5
Day 6
Day 7

2020 Results

DayPart 1Part 2
Day 1
Day 2

2019 Results

DayPart 1Part 2
Day 1
Day 2
Day 3
Day 4

2018 Results

DayPart 1Part 2
Day 1
Day 2

2017 Results

DayPart 1Part 2
Day 1
Day 2

2016 Results

DayPart 1Part 2
Day 1
Day 2

2015 Results

DayPart 1Part 2
Day 1
Day 2
Day 3

Usage of aoc-cli

  • Download binary from Latest release artifacts

  • Your https://adventofcode.com session token is required for downloading and caching the inputs.

  • Set your Advent of Code session token in the environment variable AOC_SESSION, or pass explicitly via -session flag during aoc-cli execution

  • Run aoc-cli run and follow instructions

Cli support optional metrics, to enable them you can use following flags:

    --elapsed, -e  Enables elapsed time metric
    --bench, -b    Enables benchmark metric

All available flags, commands and usage:

USAGE:
   aoc-cli [global options] command [command options] [arguments...]
   
COMMANDS:
   run      Runs advent-of-code application
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help (default: false)
   --version, -v  print the version (default: false)
   
NAME:
   aoc-cli run - Runs advent-of-code application

USAGE:
   aoc-cli run [command options] [arguments...]

OPTIONS:
   --elapsed, -e              Enables elapsed time metric (default: false)
   --bench, -b                Enables benchmark metric (default: false)
   --session value, -s value  AOC auth session to get inputs (default: "<will get value from env ${AOC_SESSION} by default>") [$AOC_SESSION]
   --help, -h     show help (default: false)

Demo

asciicast

FAQs

Package last updated on 06 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.