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
1 week ago
html Modify HTML to include textbox for customText 1 week ago
.env.example Add necessary Go Module files and .env.example 2 weeks ago
.gitignore Modify .gitignore to include Linux binary 2 weeks ago
LICENSE Initial commit 2 weeks ago
README.md Modify README and .gitignore to fit project 2 weeks ago
go.mod Add necessary Go Module files and .env.example 2 weeks ago
go.sum Add necessary Go Module files and .env.example 2 weeks ago
main.go Pass project through "go fmt" 1 week ago
notifications.go Add custom text functionality to notifications 1 week ago
server.go Modify /ring and /alarm to allow custom text 1 week 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