Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ljgago/kino_aoc
A helper for Advent of Code (a smart cell) for Elixir Livebook
https://github.com/ljgago/kino_aoc
advent-of-code elixir kino livebook
Last synced: about 2 months ago
JSON representation
A helper for Advent of Code (a smart cell) for Elixir Livebook
- Host: GitHub
- URL: https://github.com/ljgago/kino_aoc
- Owner: ljgago
- License: mit
- Created: 2022-11-08T23:42:52.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-27T20:27:38.000Z (12 months ago)
- Last Synced: 2024-10-19T14:55:33.025Z (2 months ago)
- Topics: advent-of-code, elixir, kino, livebook
- Language: Elixir
- Homepage:
- Size: 188 KB
- Stars: 57
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# KinoAOC
A helper for Advent of Code (a smart cell) for Elixir [Livebook](https://github.com/livebook-dev/livebook) using [Kino](https://github.com/livebook-dev/kino).
## Installation
To bring KinoAOC to Livebook all you need to do is `Mix.install/2`:
```elixir
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](priv/img/screen_1.png)
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](priv/livebook/aoc_template.livemd) that you can use.
## License
[MIT License](LICENSE)