1
0
mirror of https://github.com/kha7iq/pingme.git synced 2025-05-21 01:00:15 -07:00
2021-04-14 16:55:32 +08:00
2021-04-13 22:08:18 +08:00
2021-04-13 22:04:51 +08:00
2021-04-14 01:07:33 +08:00
2021-04-13 21:59:05 +08:00
2021-04-13 23:20:20 +08:00
2021-04-13 22:04:51 +08:00
2021-04-14 16:55:32 +08:00


PingMe CLI

License GitHub issues

AboutDocumentationSupported ServicesInstallConfigurationContributingShow Your Support


About

PingMe is a personal project to satisfy my needs of having alerts, most of major platforms have integration to send alerts

but its not always useful, either you are stuck with one particlaur 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.

Everything should be configurable via enviornment variables and i can simply export the logs or messages to a variable which will be sent

as message. And most of all this should serve as a swiss army knife sort of tool which supports multiple platforms.

Hence the birth of PingMe.

Supported services

  • Discord
  • Email
  • Microsoft Teams
  • RocketChat
  • Slack
  • Telegram

Install

Linux & MacOs

brew install kha7iq/tap/pingme

Go Get

go get -u github.com/kha7iq/pingme

Windows

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

Usage

 pingme

NAME:
   PingMe - Send message to multiple platforms

USAGE:
   pingme [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, 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
   email       Send an email
   help, h     Shows a list of commands or help for one command

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

Telegram

pingme  telegram  --token "0125:AAFHvnYf_ABC"  --msg "This is a new message ✈" --channel="-1001001001,-1002002001"
  • Demo

Configuration

All the flags have crosponding enviornment variables assosiated 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!

Languages
Go 95.9%
Shell 2.5%
Makefile 1.5%
Dockerfile 0.1%