Matt Baer 2f525edf06 | 1 year ago | |
---|---|---|
.gitignore | 5 years ago | |
LICENSE | 5 years ago | |
README.md | 5 years ago | |
go.mod | 1 year ago | |
go.sum | 1 year ago | |
main.go | 5 years ago |
cap is a simple command-line utility for generating website screenshot URLs with Capture.as.
Set environment variables with your authentication information:
export CAPTUREAS_USER=writefreely
export CAPTUREAS_SECRET=XXXXXXXXXXX
$ 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