Sign inSign up

purefish/terminal-screenshot

Sponsored OSS

By purefish

Updated 10 months ago

🐟📸 Pre-built image with terminal-screenshot CLI for automated terminal screenshot generation

Image
Integration & delivery
Developer tools
Operating systems
0

3.6K

purefish/terminal-screenshot repository overview

docker-terminal-screenshot ci-status sponsors docker-pull docker-size MIT-img

Pre-built Docker image with terminal-screenshot CLI for automated terminal screenshot generation.

:warning: Default shell is Fish (see help for Bash users.)

What's Included

Usage

Standalone
# screenshot `ls -lah` output
docker run \
   --rm \
   --volume $(pwd):/home/nemo \
   purefish/terminal-screenshot:latest \
      'ls -lah | terminal-screenshot --output foo.png'
As a multi-stage builds

Pull purefish/terminal-screenshot image as a stage, then copy what you need for screenshot generation (see usage on pure project):

FROM purefish/terminal-screenshot:latest
USER nemo
# screenshot `ls -lah` output
RUN ls -lah | terminal-screenshot --output foo.png
Default command
terminal-screenshot --help
Default entrypoint

Is fish -c, see help for Bash users, you can override it using --entrypoint argument:

docker run \
   --rm \
   --volume $(pwd):/home/nemo \
   --entrypoint /bin/bash \
   purefish/terminal-screenshot:latest \
      -c 'ls -lah | terminal-screenshot --output bar.png';
Tag

Default, latest, you can specify another based on fish version:

docker pull purefish/terminal-screenshot:fish-<tag>

Development

Build
make build
Test
make test # show versions
Push to Docker Hub
docker login
make push

MIT License

Tag summary

Content type

Image

Digest

sha256:620e1f871

Size

444.6 MB

Last updated

10 months ago

docker pull purefish/terminal-screenshot

This week's pulls

Pulls:

14

Last week