Coder Social home page Coder Social logo

telify's Introduction

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

telify's People

Contributors

root-tanishq avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.