| 1 | # easel |
| 2 | |
| 3 | Daily painting from the Art Institute of Chicago, persisted to SQLite. Past |
| 4 | days browsable; future days unavailable. |
| 5 | |
| 6 | ## Install |
| 7 | |
| 8 | **Homebrew:** |
| 9 | |
| 10 | ```bash |
| 11 | brew install stevedylandev/tap/easel |
| 12 | ``` |
| 13 | |
| 14 | **Curl install (Linux/macOS):** |
| 15 | |
| 16 | ```bash |
| 17 | curl -fsSL https://raw.githubusercontent.com/stevedylandev/andromeda/main/install.sh | sh -s -- easel |
| 18 | ``` |
| 19 | |
| 20 | **PowerShell (Windows):** |
| 21 | |
| 22 | ```powershell |
| 23 | & ([scriptblock]::Create((irm https://raw.githubusercontent.com/stevedylandev/andromeda/main/install.ps1))) easel |
| 24 | ``` |
| 25 | |
| 26 | **Prebuilt binary:** Grab the right archive from the [releases page](https://github.com/stevedylandev/andromeda/releases?q=easel%2F) and drop the binary somewhere on your `$PATH`. |
| 27 | |
| 28 | **From source:** |
| 29 | |
| 30 | ```bash |
| 31 | git clone https://github.com/stevedylandev/andromeda |
| 32 | cd andromeda/apps/easel |
| 33 | go build . |
| 34 | ``` |
| 35 | |
| 36 | ## Routes |
| 37 | |
| 38 | - `GET /` — today's artwork |
| 39 | - `GET /day/{YYYY-MM-DD}` — specific past day |
| 40 | - `GET /archive` — full archive |
| 41 | - `GET /api/today` / `GET /api/day/{date}` / `GET /api/archive` — JSON |
| 42 | - `GET /feed.xml` — Atom feed |
| 43 | |
| 44 | ## Env |
| 45 | |
| 46 | See `.env.example`. Notes: timezone uses Go's `time.LoadLocation`, which needs |
| 47 | the system tzdata (Debian slim base in the Dockerfile pulls `tzdata`). |