jamesread af9ed38dff chore: Coderabbit suggestions před 1 dnem
..
scripts a26825af1c chore: better screenshots před 1 dnem
seed a26825af1c chore: better screenshots před 1 dnem
.gitignore a26825af1c chore: better screenshots před 1 dnem
Makefile af9ed38dff chore: Coderabbit suggestions před 1 dnem
README.md a26825af1c chore: better screenshots před 1 dnem
argument-form.png a26825af1c chore: better screenshots před 1 dnem
dashboard-dark.png a26825af1c chore: better screenshots před 1 dnem
dashboard-mobile.png a26825af1c chore: better screenshots před 1 dnem
dashboard.png a26825af1c chore: better screenshots před 1 dnem
entities.png a26825af1c chore: better screenshots před 1 dnem
execution.png a26825af1c chore: better screenshots před 1 dnem
generate-manifest.py a26825af1c chore: better screenshots před 1 dnem
logs.png a26825af1c chore: better screenshots před 1 dnem
mainpage-darkop.png 7851c5d7d4 docs: Dark mode screenshots před 3 měsíci
mainpage-darkop_framed.png 7851c5d7d4 docs: Dark mode screenshots před 3 měsíci
mainpage-laptop.png ea053baf80 docs: Update screenshots in README před 3 měsíci
mainpage-laptop_framed.png ea053baf80 docs: Update screenshots in README před 3 měsíci
mainpage-phone.png ea053baf80 docs: Update screenshots in README před 3 měsíci
mainpage-phone_framed.png ea053baf80 docs: Update screenshots in README před 3 měsíci
screenshot-manifest.yaml a26825af1c chore: better screenshots před 1 dnem
screenshots.ini a26825af1c chore: better screenshots před 1 dnem
seed.sh af9ed38dff chore: Coderabbit suggestions před 1 dnem

README.md

Marketing screenshots

The screenshots used in the project README, captured from a throwaway OliveTin running the fictional config in seed/.

make screenshots                      # from the repo root
make -C var/marketing/screenshots     # or from anywhere

This builds OliveTin and the webui, starts OliveTin on 127.0.0.1:18337 with a copy of seed/ in tmp/, runs a few actions through the API (seed.sh) so the logs have history, captures every section of screenshots.ini with repo-helper screenshot, regenerates screenshot-manifest.yaml, and then stops OliveTin, even if a step fails.

Requirements

  • Go and Node.js, to build OliveTin and the webui
  • repo-helper, with Chrome and a matching chromedriver
  • curl and jq

No containers are needed: OliveTin keeps its state in config files and memory.

Files

File Purpose
seed/config.yaml, seed/entities/ Fictional config. Commands print static, made-up output, so images never show details of the machine running make.
seed.sh Runs actions with fixed execution tracking ids, so the logs and execution URLs are the same on every run.
screenshots.ini One section per image, plus the title/description/theme used for the manifest.
scripts/ Selenium setup scripts. light.py/dark.py pin prefers-color-scheme, because repo-helper shares one browser session across sections.
generate-manifest.py Writes screenshot-manifest.yaml.
screenshot-manifest.yaml Generated index of the screenshots for indexers. Do not edit by hand.

To add or change a screenshot, edit screenshots.ini and run make. If only a title or description changed, make manifest is enough.

To browse the demo instance yourself, run make build up seed, open http://127.0.0.1:18337/, and run make down when finished.