pingme

授权协议 MIT License
开发语言 JavaScript
所属分类 应用工具、 终端/远程登录
软件类型 开源软件
地区 不详
投 递 者 严成礼
操作系统 跨平台
开源组织
适用人群 未知
 软件概览


PingMe CLI

DocumentationSupported ServicesInstallGithub ActionConfigurationContributingShow Your Support


About

PingMe is a personal project to satisfy my needs of having alerts, mostmajor 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 ofintegrations. I needed a small utility which i can just call from my backup scripts,cron jobs, CI/CD pipelines or from anywhere to send a message with particularinformation. And i can ship it everywhere with ease. Hence, the birth of PingMe.

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

Supported services

  • Discord
  • Email
  • Gotify
  • Line
  • Mastodon
  • Mattermost
  • Microsoft Teams
  • Pushbullet
  • Pushover
  • RocketChat
  • Slack
  • Telegram
  • Textmagic
  • Twillio
  • Zulip
  • Wechat

Install

MacOS & Linux Homebrew

brew install kha7iq/tap/pingme

Linux

  • AUR
# build from sources
yay -S pingme

# binary
yay -S pingme-bin
  • Binary
export PINGME_VERSION="0.2.4"
wget -q https://github.com/kha7iq/pingme/releases/download/v${PINGME_VERSION}/pingme_Linux_x86_64.tar.gz && \
tar -xf pingme_Linux_x86_64.tar.gz && \
chmod +x pingme && \
sudo mv pingme /usr/local/bin/pingme

Windows

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

Alternatively you can head over to release pagesand download deb, rpm or binary for windows & all other supported platforms.

Docker

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

latest tag will always pull the latest version available, or you can also downloadspecific version. Checkout releasepage 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 available for integration with your workflows, you can find it onGithub Market Place orhere Github Repo.

- name: PingMe-Action
  uses: kha7iq/pingme-action@v1

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, Pushbullet, Microsoft Teams, Twillio, Mastodon,
   email address, Line, Gotify and Wechat.

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
   twillio     Send sms via twillio
   zulip       Send message to zulip
   mastodon    Set status message for mastodon
   line        Send message to line messenger
   wechat      Send message to wechat official account
   gotify      Send push notification to gotify server
   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. Youcan either provide the value with flags or export to a variable.

View the Documentation Page for moredetails.

Contributing

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

Show your support

Give a ⭐️ if you like this project!

Fork it ⚙️

Make it better ��️

Acknowledgments

This project is based on amazing library Notify

相关阅读

相关文章

相关问答

相关文档