Skip to content

adammck/autoprint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoPrint

Ever wanted to check an URL periodically, and print out a copy if it's changed?

Installation

$ go install github.com/adammck/autoprint@latest

Usage

$ autoprint -h
usage: ./autoprint [options] <url>

options:
  -f    ignore etag to force download
  -n    don't print anything
  -v    enable verbose logging

For example:

$ autoprint https://pdfobject.com/pdf/sample.pdf
Printing...

$ !!
Not modified.

Use cron or launchd or systemd or whatever to run it periodically.

License

MIT.

About

Fetch a URL, and print it when it changes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages