Git Product home page Git Product logo

telegram-upload's Introduction

image

Latest Travis CI build status

Latest PyPI version

Python versions

Code Climate

Test coverage

Requirements Status

telegram-upload

Upload (and download) large files to Telegram using your account

To install telegram-upload, run this command in your terminal:

$ sudo pip install telegram-upload

This is the preferred method to install telegram-upload, as it will always install the most recent stable release.

To use this program you need an Telegram account and your App api_id/api_hash (get it in my.telegram.org). The first time you use telegram-upload it requests your telephone, api_id and api_hash. Bot tokens can not be used with this program (bot uploads are limited to 50MB). To send files:

$ telegram-upload file1.mp4 /path/to/file2.mkv

Credentials are saved in ~/.config/telegram-upload.json and telegram-upload.session (in the current directory). You must make sure that these files are secured. You can copy these files to authenticate telegram-upload on more machines, but it is advisable to create a session file for each machine.

You can download the files again from your saved messages (by default) or from a channel. All files will be downloaded until the last text message.

$ telegram-download

The --delete-on-success option allows you to delete the Telegram message after downloading the file. This is useful to send files to download to your saved messages and avoid downloading them again. You can use this option to download files on your computer away from home.

Features

  • Upload multiples files (up to 1.5GiB per file)
  • Download files.
  • Add video thumbs.
  • Delete local or remote file on success.

telegram-upload's People

Contributors

hackwithashwin avatar nekmo 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.