fpush

command module
v0.0.0-...-cbc73ae Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2019 License: MIT Imports: 12 Imported by: 0

README

fpush

fpush is a small tool to send push notifications when photos in a given folder change.

The detected photo will be attached to the notification.

It uses Pushover to send push notifications to devices, so you will need an API key and a device key.

Usage

Set these environment variables:

  • PUSHOVER_KEY Your API key
  • PUSHOVER_RECIPIENT_KEY Your device key

Run the program like this:

fpush -path=/foo/bar

If you leave out the -path flag it will fall back to the current directory.

Background

I use this for my security camera which is a Raspberry Pi with a camera module that uses motion to detect changes in photos. I run fpush every five minutes as a cron job to see if there are new photos in motion's photos folder and notify me about them.

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