Menu

Tree [b78c70] master /
 History

HTTPS access


File Date Author Commit
 .github 2021-04-29 kha7iq kha7iq [b78c70] chore: change job name
 docs 2021-04-29 kha7iq kha7iq [158452] docs: update links
 service 2021-04-29 kha7iq kha7iq [f1bdc1] refactor: restructure project for better integr...
 .gitignore 2021-04-13 kha7iq kha7iq [513697] chor: gitignore & makefile:
 .golangci.yml 2021-04-28 kha7iq kha7iq [d49c82] fix: remove unused linters
 .goreleaser.yaml 2021-04-27 kha7iq kha7iq [386c18] fix: exclude readme and license file from release
 CODE_OF_CONDUCT.md 2021-04-29 kha7iq kha7iq [9ebc84] docs: add minor fixes
 CONTRIBUTING.md 2021-04-29 kha7iq kha7iq [9b5027] docs: add minor fixes
 Dockerfile 2021-04-17 kha7iq kha7iq [a87d8f] fix: change entrypoint to execut the binary
 LICENSE.md 2021-04-13 kha7iq kha7iq [55b946] docs: Updated Readme & License
 Makefile 2021-04-28 kha7iq kha7iq [d9f690] chor: remove unneeded step from fmt
 README.md 2021-04-27 kha7iq kha7iq [7e1593] docs: add pushbullet service docs
 go.mod 2021-04-15 Valentyn Nastenko Valentyn Nastenko [5377da] feat: added support for pushover service
 go.sum 2021-04-27 kha7iq kha7iq [575cd2] feat: add new service pushbullet
 main.go 2021-04-29 kha7iq kha7iq [f1bdc1] refactor: restructure project for better integr...

Read Me


PingMe CLI

Release Go Report Card Build GitHub issues License Go Version Go Dev Reference

DocumentationSupported ServicesInstallGithub ActionConfigurationContributingShow Your Support


About

PingMe is a personal project to satisfy my needs of having alerts, most major platforms have integration to send alerts
but its not always useful, either you are stuck with one particular platform, or you have to do alot of integrations. I needed a small app
which i can just call from my backup scripts, cron jobs, CI/CD pipelines or from anywhere to send a message with particular information.
And i can ship it everywhere with ease.
Hence, the birth of PingMe.

Everything is configurable via environment variables, and you can simply export the logs or messages to a variable which will be sent
as message, and most of all this serves as a swiss army knife sort of tool which supports multiple platforms.

Supported services

  • Discord
  • Email
  • Microsoft Teams
  • Mattermost
  • Pushover
  • Pushbullet
  • RocketChat
  • Slack
  • Telegram

Install

MacOS & Linux Homebrew

brew install kha7iq/tap/pingme

Linux Binary

wget -q https://github.com/kha7iq/pingme/releases/download/v0.1.6/pingme_Linux_x86_64.tar.gz
tar -xf pingme_Linux_x86_64.tar.gz
chmod +x pingme
sudo mv pingme /usr/local/bin/pingme

Go Get

go get -u github.com/kha7iq/pingme

Windows

scoop bucket add pingme https://github.com/kha7iq/scoop-bucket.git
scoop install pingme

Alternatively you can head over to release pages and download the binary for windows & all other supported platforms.

Docker

Docker container is also available on both dockerhub and github container registry.

latest tage will always pull the latest version avaialbe, you can also download specific version.
Checkout release page for available versions.

Docker Registry

docker pull khaliq/pingme:latest

Github Registry

docker pull ghcr.io/kha7iq/pingme:latest

Run

docker run ghcr.io/kha7iq/pingme:latest

Github Action

A github action is also available now for this app, you can find it on Github Market Place or from this repository on github.

Usage examples for workflow are available in the repo.

Usage

 pingme

NAME:
   PingMe - Send message to multiple platforms

USAGE:
   main [global options] command [command options] [arguments...]

DESCRIPTION:
   PingMe is a CLI tool which provides the ability to send messages or alerts to multiple
   messaging platforms and also email, everything is configurable via environment
   variables and command line switches.Currently supported platforms include Slack, Telegram,
   RocketChat, Discord, Pushover, Mattermost, Microsoft Teams and email address.

COMMANDS:
   telegram    Send message to telegram
   rocketchat  Send message to rocketchat
   slack       Send message to slack
   discord     Send message to discord
   teams       Send message to microsoft teams
   pushover    Send message to pushover
   email       Send an email
   mattermost  Send message to mattermost
   pushbullet  Send message to pushbullet
   help, h     Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h  show help (default: false)

Check Documentation Page for more details.

Configuration

All the flags have corresponding environment variables associated with it. You can either provide the value with flags
or export to a variable.

View the Documentation Page for more details.

Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if you like this project!