Command-line utility for generating screenshot URLs. https://capture.as
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Matt Baer 2f525edf06 Support Go modules 1 year ago
.gitignore Create basic cap utility 5 years ago
LICENSE Add MIT license 5 years ago
README.md Update documentation 5 years ago
go.mod Support Go modules 1 year ago
go.sum Support Go modules 1 year ago
main.go Support -w and -h flags 5 years 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