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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址