Skip to content

tsqrdster/gotify-send

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gotify-send

A script which uses curl to send a message through a Gotify server using settings from the config file gotify.conf.

Usage

Usage: gotify-send.sh "Message title" "Message text" "Message priority"

Installation

  1. Clone the Repo:

    cd ~
    mkdir -p Installs
    cd Installs
    git clone https://github.com/tsqrdster/gotify-send.git
    cd gotify-send
  2. Configure: Edit your .conf file (ensure it is in the same directory) to set your Gotify server URL and port, the app token and message sent text.

    cp gotify-send.conf.example gotify-send.conf
    nano gotify-send.conf
    # (make changes in regard to your Gotify server URL:port and app token then save with  <ctrl>+o <enter> then exit  with  <ctrl>+x )
    
    # Make executable
    chmod +x gotify-send.sh
    # Create link to file in /usr/local/bin/
    # (replace "/home/pi/"  with correct user home location)
    sudo ln -s /home/pi/Installs/gotify-send/gotify-send.sh /usr/local/bin/gotify-send.sh
    

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

If you find a bug please create an issue for it. Feel free to submit Pull Requests or open Issues if you find a bug or have ideas for improvement!

About

Bash script to send messages through a Gotify server using curl.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages