Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/magic3007/wechat-reminder
⛩ A simple tool that sends remind to WeChat from command-line.
https://github.com/magic3007/wechat-reminder
Last synced: 1 day ago
JSON representation
⛩ A simple tool that sends remind to WeChat from command-line.
- Host: GitHub
- URL: https://github.com/magic3007/wechat-reminder
- Owner: magic3007
- License: mit
- Created: 2022-05-25T15:20:25.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-17T13:21:56.000Z (about 2 years ago)
- Last Synced: 2023-03-09T01:16:31.586Z (almost 2 years ago)
- Language: Shell
- Homepage:
- Size: 8.79 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
```bash
$ 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.
```bash
sleep 3 && wechat-reminder --title "hello" --desp "Remind after 3 seconds"
```## Install
Run the following command, and follow the on-screen instructions.
```bash
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.
```bash
pip install -r requirements.txt
```
Request a key from [pushdeer](https://www.pushdeer.com/), and export it as an environment variable `PUSHDEER_KEY`:
```bash
export PUSHDEER_KEY=xxx
```
You can also add multiple keys splitted by `,`:
```bash
export PUSHDEER_KEY=xxx,xxx,xxx
```