magic3007 / wechat-reminder

⛩ A simple tool that sends remind to WeChat from command-line.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wechat-reminder

⛩ A simple tool that sends remind to WeChat from command-line.

Usage

Just type wechat-reminder with arguments in the command line. Argument title is required.

$ wechat-reminder -h
usage: wechat-reminder_main.py [-h] --title TITLE [--desp DESP]

Send a message to WeChat.

optional arguments:
  -h, --help     show this help message and exit
  --title TITLE  Title of the message. 
  --desp DESP    Description of the message.

You can run the tool after any long-running command like deep learning experiments, so that WeChat will be notified when the command finishes running normally.

sleep 3 && wechat-reminder --title "hello" --desp "Remind after 3 seconds"

Install

Run the following command, and follow the on-screen instructions.

bash <(curl -s https://raw.githubusercontent.com/magic3007/wechat-reminder/master/install.sh)

wechat-reminder is implemented using python. So you should have a python3 interpreter and install the required python package.

pip install -r requirements.txt

Request a key from pushdeer, and export it as an environment variable PUSHDEER_KEY:

export PUSHDEER_KEY=xxx

You can also add multiple keys splitted by ,:

export PUSHDEER_KEY=xxx,xxx,xxx

About

⛩ A simple tool that sends remind to WeChat from command-line.

License:MIT License


Languages

Language:Shell 63.4%Language:Python 36.6%