Skip to content

Simple readable utility on bash that sends messages like a bot in telegram.

License

Notifications You must be signed in to change notification settings

andreas-timm/tm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Send as bot

Simple readable utility on bash that sends messages like a bot in telegram.

Features

  • STDIN pipe support
  • Credentials:
    • Environment variables
    • pass (the standard unix password manager)

Installation

cp ./tm.sh /usr/local/bin/tm

Environment files

  • __SCRIPT_DIR__/.env
  • $HOME/.config/tm/env

Help

tm -h
Usage: tm <MESSAGE>|->
ENVIRONMENT:
  MESSAGE_PREFIX
  CHAT_ID
  API_ID
or PASS-NAME: tm/ENVIRONMENT

Usage

  • tm 'test notification'
  • echo 'test notification' | tm

License

BSD 3-Clause

This source code is licensed under the 3-Clause BSD license.

About

Simple readable utility on bash that sends messages like a bot in telegram.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages