Giter Club home page Giter Club logo

pytg's Introduction

PyTG

A Python package that wraps around Telegram messenger CLI.

Installation

PyTG requires a patched copy of Telegram messenger CLI to make message parsing feasible. To install the patched Telegram messenger CLI:

Clone GitHub Repository

$ git clone https://github.com/efaisal/tg.git && cd tg

or download and extract zip

$ wget https://github.com/efaisal/tg/archive/master.zip -O tg.zip
$ tar xzf tg.zip && cd tg

Then, run

$ ./configure

or

$ ./configure --disable-liblua

if you don't want Lua support.

Next, run

$ make

Telegram messenger CLI has its own dependencies. See https://github.com/efaisal/tg for details.

Once you build successfully, try to run

$ ./telegram

Register your client, if required. Please note that PyTG does not support client registration yet.

Now you are ready to install PyTG

Clone GitHub Repository

$ git clone https://github.com/efaisal/pytg.git && cd pytg && python setup.py install

or download and extract zip

$ wget https://github.com/efaisal/pytg/archive/master.zip -O pytg.zip
$ tar xzf pytg.zip && cd pytg && python setup.py install

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.