Giter Site home page Giter Site logo

telesync's Introduction

TeleSync

An application to store your local files on Telegram.

๐Ÿ“ธ Watch the video on YouTube

Features

  • Infinite storage (No limit)
  • Easy to use
  • Fast and secure
  • Free & Open Source

Prerequisites

You need a Telegram API ID and API Hash. You can create a new App here.

Installation

git clone https://github.com/FujiwaraChoki/TeleSync.git
cd TeleSync
pip install -r requirements.txt

# Copy the example.config.json to config.json
cp example.config.json config.json # Edit the config.json file with your own settings

# Give run.sh execution permission
chmod +x run.sh

Configuration

Option Description
api_id Your Telegram API ID.
api_hash Your Telegram API Hash.
phone_number Your phone number, which you use for Telegram.
db_file The name of the database file. (Default: files.db)
verbose If true, the application will print more information. (Default: false)

Usage

./run.sh [COMMAND] [ARGUMENTS]

Commands

Command Description
upload [FILE_QUERY] Upload a file to Telegram
download [FILE_QUERY] Download a file from Telegram
remove [FILE_QUERY] Delete a file from Telegram
list List all files in the Telegram Channel

FILE_QUERY can be the file name, file path, the ID of the file, or a part of the file name.

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

Issues

If you found a bug, please to open an issue. Issues that are not related to bugs will be closed.

Contributing

Only Pull Requests with fixes or/and improvements will be accepted.

  1. Fork it
  2. Create your feature branch (git checkout -b fix/fooBar)
  3. Commit your changes (git commit -am 'Fixed fooBar')
  4. Push to the branch (git push origin fix/fooBar)
  5. Create a new Pull Request

Authors

telesync's People

Contributors

fujiwarachoki 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.