Skip to main content

A utility to use Telegram as a backup solution.

Project description

GramUp

  1. What is GramUp?
  2. How does it work?
  3. Key Features
  4. Installation
  5. Usage
  6. Questions and Feedback

What is GramUp?

GramUp is a lightweight python program to backup your files. GramUp enables you unlimited cloud backup and easy restore functionality and that too for free. With GramUp, monthly bills for cloud storage will be a thing of the past.

How does it work?

GramUp uses Telegram's unlimited cloud storage for backup. All your files are stored on Telegram servers and secured by their encryption. You can select a chat ( usually saved messages ) to use and GramUp will send all files to that chat and later at an event of restoration download files from there. Since both Telegram and GramUp are opensource you don't have to worry about someday suddenly you having to pay for your storage.

Key Features

  • Unlimited Storage for Ever
    • Yes forever! That is not until a certain period of time or with a specific cap to the amount of storage you get. It is truly unlimited.
  • Fully Opensource
  • Works on any OS
    • Anywhere you can run python or install Telegram GramUp will be available.
  • Unlimited Number of Device Support
    • Can run from any number of devices simultaneously ( both backup and restore )
  • Manual Upload and Download Support
    • Just send the file to Telegram and GramUp got you covered.
  • Preserves Directory Structure
    • GramUp remembers the relative path of your files so they can be recreated exactly when restoring.
  • Can Handle Any Kind of File
    • GramUp can backup and restore any type of file, let it be an image or a zip file GramUp can handle without any problem.
  • Large File Size Support
    • GramUp supports file size of up to 1.5 GB ( will be increased in the next release )
  • Resumable Backup and Restore
    • GramUp checks the list of files already uploaded/downloaded and uploads/downloads new files only to save you time and resources.
  • Automatic Chat Identification
    • Just send 'use_this_chat' to any chat and GramUp will automatically select that chat for backup.
  • Easy setup
    • With easy 3 steps guided setup process, it is easier than you can imagine.
  • Light weight
    • The whole program is just 35.7 kB I bet this must be the smallest app you have ever installed.

Installation

GramUp currently provides two methods of installation, by using pip or by cloning this repository.

Method 1

This method always gets you the stable version of GramUp and is the recommended method. Install pip if you don't have it then run :

pip install gramup

And that is it!

Method 2

This method ensures that you get the latest version ( even if it is unstable ). The steps shown are for Linux but can be easily replicated on other OS too, just google "cloning GitHub repository from <your OS> "

Run the following commands from a terminal :

git clone https://github.com/rohittp0/GramUp.git
cd GramUp
chmod +x run.sh    
./run.sh

To run GramUp again open GramuUp/run.sh

Usage

Windows

To start the program run,

 py -m gramup
  1. Then enter your phone number and list of folders you want to backup.
  2. Now you will receive a code on your phone ( on Telegram ) enter that and press enter.
  3. Now send "use_this_chat" to the Telegram chat you want to use for backup.
  4. Enter "b" for backup or "r" for retore.
  5. Now you can go out a have some fun while GramUp handles your task.

Linux or MacOS

The process is the same for you guys too. To start you can either run,

python -m gramup

or if you have your PATH configured just run,

gramup

The rest is the same as that for Windows

Adroid/iOS

Currently GramUp doesn't support automatic backup and restore on Android/iOS. You could backup files manually by sending them to the chat you selected for backup ( must be sent as document ) with the path to where you want it restored as the caption.

Files backed up by GramUp can be accessed using the UnLim app on Android. UnLim can also be used to backup files from Android to then be restored using GramUp. To make GramUp compatible with UnLim just select the "saved messages" chat ( The chat which is used by UnLim ) as the chat for backup. Do check out UnLim's facebook page.

Questions and Feedback

If you are facing any problem feel free to open an issue or mail me a stack overflow question with gramup as the tag. All pull requests are always welcome.

Contact Me

Mail me @ tprohit9@gmail.com

Catch me on Stackoverflow

Check out my YouTube Channel

Follow me on Instagram

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gramup-2.0.0.tar.gz (26.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gramup-2.0.0-py3-none-any.whl (30.0 kB view details)

Uploaded Python 3

File details

Details for the file gramup-2.0.0.tar.gz.

File metadata

  • Download URL: gramup-2.0.0.tar.gz
  • Upload date:
  • Size: 26.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for gramup-2.0.0.tar.gz
Algorithm Hash digest
SHA256 695dfece6e38bd835157f1dfb25b408116c7031f936da82f7eece99bf3901760
MD5 661c8967b8682323a09aaabcbc0bb29a
BLAKE2b-256 f1490d8aa1ae00d43d286ee656036eb4cf6eaaca4e3a0289dfcd24782726c8e5

See more details on using hashes here.

File details

Details for the file gramup-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: gramup-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 30.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for gramup-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 36987caa62415d0479e16dd46faffd7728feb1dae748568d84abc580fcc589a4
MD5 b26368e8ffd2b292a4db616245aa1894
BLAKE2b-256 535c2f126390be863cc0464a9a8802082d4f9a3c0ed95d069ff562e2e7765541

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page