What is Screenery?
Screenery is a package registry for product screenshots. CI pushes screenshots on every
build. Each one gets a stable URL ending in @latest.png, and the
image behind it follows your default branch.
How do I keep README screenshots up to date?
Push screenshots from CI with the screenery/push@v1 GitHub Action,
then paste the @latest URL into your README once. The next push on
the default branch changes the image behind it within a minute. There is no cache to purge.
Getting started has the full walkthrough.
Does Screenery do visual regression testing?
Yes, when you ask for it. Set diff-baseline to a committed folder
of approved screenshots, and the Action compares every screenshot with it pixel by pixel
before publishing. A change past your threshold fails the job, and nothing is pushed. See
visual regression testing in CI.
Do I need a secret in CI?
Not on GitHub Actions. The Action trades a GitHub OIDC token for a publish credential that
lives five minutes. Other CI systems push with one static publish token. See
Credentials.
Does it work with Playwright's toHaveScreenshot?
Yes. Keep toHaveScreenshot as your pixel gate. Screenery publishes
the goldens it already accepted, or an Argos upload folder, as they are. See
Playwright goldens.
Can screenshots be private?
Yes. Each screenshot is public, unlisted or private. An unlisted one opens with a signed URL
that expires, and a private one with a read token. A refused request gets a 404, so nobody
learns that a private screenshot exists.
Can an AI coding agent set it up?
Yes. Screenery ships an MCP server. Add it to Claude Code, Codex, Cursor or VS Code and ask
the agent to set up self-updating screenshots. You still approve the sign-in, choose public
or private, and pick the setup path.
Does a pull request change the screenshot in my README?
After the first build, no. A pull request gets its own @pr-n channel
and does not move @latest, so the image in your README stays on the
default branch. The first build on a new project does move @latest,
from whichever branch it came from.
How @latest moves.