imagefetcher

command module
v0.0.0-...-0f6c563 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2023 License: MIT Imports: 19 Imported by: 0

README

Image Fetcher

Go Report Card

ImageFetcher fetches an image from a URL, crops it, and uploads it to an S3 bucket or stores it locally (or both).

It also supports pausing it once daily (ex, at night).

Usage:
  -dir string
        The local directory to store the captures images in.
  -imageURL string
        The URL of the image to fetch.
  -rect string
        The x/y coordinates that define the rectangle to use to crop in the form of x,y,x,y
  -s3Bucket string
        The S3 bucket name (not the ARN) to upload the snapshots to.
  -s3Region string
        The AWS region to use. (default "us-east-1")
  -sleepHour int
        The hour to pause image capture (0-23)
  -wakeHour int
        The hour to resume image capture (0-23)```

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL