HUB
Sign inSign up

scaleassembly/zshot

By scaleassembly

•Updated 3 days ago

The ZShot CLI: capture web pages as screenshots, PDFs, video, Markdown and web archives.

Image
0

10K+

scaleassembly/zshot repository overview

⁠ZShot

ZShot renders web pages in Chromium and saves them as screenshots, PDFs, video, Markdown, accessibility trees, HAR files, and web archives. This image runs zshot with the arguments passed on the command line, in container mode⁠. For an HTTP server configured from the environment, use scaleassembly/zshot-server⁠.

⁠Capture

docker run --rm -v "$PWD:/out" scaleassembly/zshot \
  https://zshot-cli.com/example_assets/hello_zshot/ -f /out/hello.png

ZShot runs as zshot, uid 1000, which requires write access to the mounted directory. Licensed formats and features take -e ZSHOT_LICENSE="MY-ZSHOT-LICENSE-KEY"; see Licenses⁠. Flags⁠ lists every option, and Examples⁠ shows runnable commands.

⁠Hardening

Chromium's sandbox needs a seccomp profile under Docker; without one, ZShot renders unsandboxed and prints a warning. Hardening⁠ covers the profile and recommended runtime settings.

⁠Extending the image

The image is Debian with zshot at /usr/bin/zshot, run by dumb-init as user zshot in /home/zshot. Its entrypoint adds --container to the arguments, so a derived image sets defaults with CMD:

FROM scaleassembly/zshot:0.55.0
EXPOSE 3000
CMD ["--server", "--server-bind-address", "0.0.0.0", "--server-enable-mcp"]

Install packages as root and switch back to zshot afterwards. scaleassembly/zshot-server⁠ is built this way.

⁠Tags

latest and each release, such as 0.55.0, for linux/amd64 and linux/arm64. Pin a release in production; see the changelog⁠. Every image is signed with cosign; see Verify⁠.

Tag summary

Content type

Image

Digest

sha256:ea0396b50…

Size

372.7 MB

Last updated

3 days ago

docker pull scaleassembly/zshot