Skip to content

root-tanishq/telify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Telify

Send Files , text and stdin to telegram channels

Twitter URL

What is it for?

I created this basic script for using in automation and to recieve notifications regarding my automation on my telegram mobile app

Setup


  • Search for BotFather on telegram search and type /start command to start creating bots

Telify uses botapi to interact with telegram . So we need to create a telegram bot

  • Step 1 > Type /newbot command to create a newbot

1

  • Step 2 > Now you need to provide a display name and username for bot

Display Name

2

Username

3

Copy the HTTP API Token we will use it with telify

  • Step 3 > Create a Telegram Channel and add bot as a member

4

Installation


Install telify with the below commands

git clone https://github.com/root-tanishq/telify
cd telify
pip3 install -r requirements.txt
sudo cp telify.py /usr/local/bin/telify
sudo chmod +x /usr/local/bin/telify
telify

Enter the HTTP API Token of bot created in Setup Instructions

Usage


  • Sending a message
telify -m '<CUSTOM MESSAGE HERE>'

5

  • Sending a File
telify -f '<FILE NAME HERE>'

6

  • Sending Std in
<YOUR COMMAND> | telify

About

Send Files , text and stdin to telegram channels

Resources

Stars

Watchers

Forks

Languages