Command-line utility for generating screenshot URLs. https://capture.as
Matt Baer 4773fa5067 Update documentation 4 months ago
.gitignore Create basic cap utility 4 months ago
LICENSE Add MIT license 4 months ago
README.md Update documentation 4 months ago
main.go Support -w and -h flags 4 months ago

README.md

cap

cap is a simple command-line utility for generating website screenshot URLs with Capture.as.

Configuration

Set environment variables with your authentication information:

export CAPTUREAS_USER=writefreely
export CAPTUREAS_SECRET=XXXXXXXXXXX

Usage

$ cap https://capture.as
https://capture.as/writefreely/d8c7e616854e69db287c4f613759fd6d/png?h=600&url=https%3A%2F%2Fcapture.as&w=800
$ cap -w 320 -h 240 https://matt.baer.works
https://capture.as/writefreely/0d64157e206a2864a7107c0e472fc6b0/png?h=240&url=https%3A%2F%2Fmatt.baer.works&w=320