ljgago / kino_aoc

A helper for Advent of Code (a smart cell) for Elixir Livebook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KinoAOC

A helper for Advent of Code (a smart cell) for Elixir Livebook using Kino.

Installation

To bring KinoAOC to Livebook all you need to do is Mix.install/2:

Mix.install([
  {:kino_aoc, "~> 0.1"}
])

Usage

You only need add the smart cell Advent of Code Helper and select the YEAR, DAY, set the SESSION and the output ASSIGN TO.

Screenshot

In SESSION you can configure a secret or set a string directly. The session id is a cookie which is set when you login to AoC. You can find it with your browser inspector.

Warning
The session string mode saves the content directly in the notebook.
Be careful to share it.

Example template

A template that you can use.

License

MIT License

About

A helper for Advent of Code (a smart cell) for Elixir Livebook

License:MIT License


Languages

Language:Elixir 45.3%Language:JavaScript 34.2%Language:CSS 20.5%