r/adventofcode • • 11h ago

Other My user stylesheet for AOC: "Alter Old CSS"

Post image
15 Upvotes

I appreciate the style of the Advent of Code website. But it's hard to parse quickly, especially in the context of competitive programming. So back in 2025, I created a "user stylesheet" to improve the reading experience while still keeping the general feel of the design. I'm posting it here before the 2026 event, in hopes that it can help other people who feel the same way.

"Alter Old CSS" userstyle: https://userstyles.world/style/25353

To apply this stylesheet, you can install the Stylus browser extension, then go to the stylesheet's userstyles.world page (linked above) and click "Install". It will apply various styles meant to make the reading experience more pleasant, including:

  • Body text in a sans-serif font
  • More responsive design
  • Full-width code blocks (for easier triple-click selection)
  • Hover-text Easter eggs made clearer (NOTE: I also reveal them before all stars are collected, but in white instead of yellow)
  • Clearly delineated sponsor section
  • And more!

If you install this user stylesheet, let me know what you think of it!


r/adventofcode • • 16h ago

Other December Challenges this year

29 Upvotes

Tis the season!

Saw the post on Advent of code and wanted to mention all the other month-long challenges. Was wondering if there are other such challenges, happening annually, that I can look forward to.

  1. Advent of Code
  2. Advent of cyber - TryHackMe
  3. KringleCon

r/adventofcode • • 11h ago

Repo Made a Rust crate for running AoC solutions

3 Upvotes

I’ve been doing Advent of Code for a while, and last year (I forgot to make a post...) I decided to make a little Rust crate to help run my solutions more easily. It’s called aoc-star.

You just add a#[star(day = X, part = X)] attribute to your functions, and it lets you run them from the command line. It can also fetch inputs and submit answers if you set it up with your session cookie.

I've found that it removes a bit of the tedious part of the challenge, hope that it can be useful to some. There is more info on the README.


r/adventofcode • • 1h ago

Other advent-mode: a small Emacs minor mode for AoC (fetch inputs, submit answers, without leaving Emacs)

5 Upvotes

Hi all,

AoC starts in a few days, so here's a thing I've been using myself: advent-mode, a small Emacs minor mode for the usual AoC chores. I've updated it a bit, and tried using on older puzzles, but additional testing would be great.

In short, you point it at your solutions repo (laid out as year2026/day03/ and so on, and the format is configurable).

Once that's set, it works out the year and day from whatever buffer you're in, so most commands need no prompting. It can:

  • Fetch your puzzle input and open it. It only downloads the first time, so it doesn't hit the server again.
  • Submit an answer for part 1 or 2. It takes the number at point or the active region as the default, and shows you the site's reply.
  • Open the puzzle page in eww.
  • Create a new day directory and copy in your template files.
  • Jump to any day you've already solved.
  • Show year, day and whether you're logged in (✓/✗) in the mode line.

Repo: https://github.com/vkazanov/advent-mode

My own solutions, which show the layout it expects: https://github.com/vkazanov/advent-of-code

Bug reports and "nice-if-s..." suggestions are very welcome (before December, obviously!) .

Good luck to us all this year!