Skip to content

Latest commit

 

History

History
71 lines (49 loc) · 2.2 KB

README.org

File metadata and controls

71 lines (49 loc) · 2.2 KB

ToC

aoc.el — Advent of Code private leaderboard client

images/screenshot1.png

images/screenshot2.png

Installation

Via use-package

(use-package aoc
  :ensure nil
  :quelpa
  (aoc :repo "pkulev/aoc.el"
       :fetcher github :upgrade t)
  :custom
  (aoc-private-leaderboard-ids '("<LEADERBOARD-ID>") "Get this from leaderboard URL.")
  (aoc-user-session-id "<SESSION-ID>" "Get this from request cookies in browser."))

Keys in private leaderboard table

KeyDescription
gRefresh this table.
fShow table for the next year.
bShow table for the previous year.
qBury table buffer.

Customization

Customizable variables are subject for change so, TODO TBA here.

aoc-user-session-id
Session ID.

Session ID that appears in cookies after authentication on https://adventofcode.com.

aoc-private-leaderboard-ids
List of IDs for leaderboards.

List of Leaderboard IDs to choose from when activating the mode.

aoc-private-leaderboard-url
Private leaderboard URL template.

You probably should not touch it.

aoc-private-leaderboard-year
Year for leaderboard.

Local buffer variable. Default value is current year.

aoc-private-request-interval
Request interval (author asks to keep 15min interval).

Will be used for updates by timer and tracking manual updates (TODO caching).

License

This package is distributed under the GNU General Public License, version 3 or later. See the file LICENSE for details.