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!