A simple Go program that sends a notification to Pushover to a special application, sent by simply clicking a button on the HTML interface.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Matei-Alexandru Gardus b6e9e1338f
Modify /ring and /alarm to allow custom text
4 months ago
html Modify HTML to include textbox for customText 4 months ago
.env.example Add necessary Go Module files and .env.example 4 months ago
.gitignore Modify .gitignore to include Linux binary 4 months ago
LICENSE Initial commit 4 months ago
README.md Modify README and .gitignore to fit project 4 months ago
go.mod Add necessary Go Module files and .env.example 4 months ago
go.sum Add necessary Go Module files and .env.example 4 months ago
main.go Pass project through "go fmt" 4 months ago
notifications.go Add custom text functionality to notifications 4 months ago
server.go Modify /ring and /alarm to allow custom text 4 months ago

README.md

Doorbell

A simple Go program that sends a notification to Pushover to a special application, sent by simply clicking a button on the HTML interface.

This application uses Pushover as its notification service, be sure to use this service if you wish to use this yourself.

Installation

  1. Git clone this repo

    $ git clone https://git.stormhub.io/StormFireFox1/Doorbell.git
    
  2. Build the binary

    $ go build
    
  3. Modify .env.example to your liking

    $ cp .env.example .env
    $ vim .env
    
  4. Run the doorbell (prefferably in a TMUX session or in the background)

    $ source .env && ./doorbell