Simple readable utility on bash that sends messages like a bot in telegram.
STDIN
pipe support- Credentials:
- Environment variables
- pass (the standard unix password manager)
cp ./tm.sh /usr/local/bin/tm
__SCRIPT_DIR__/.env
$HOME/.config/tm/env
tm -h
Usage: tm <MESSAGE>|->
ENVIRONMENT:
MESSAGE_PREFIX
CHAT_ID
API_ID
or PASS-NAME: tm/ENVIRONMENT
tm 'test notification'
echo 'test notification' | tm
This source code is licensed under the 3-Clause BSD license.
- LICENSE
- Author: Andreas Timm