Skip to content

Telegram MTPROTO uploading system, upload and retrieve files up to 2GB

Notifications You must be signed in to change notification settings

TeaByte/mt-uploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8b026d7 · Sep 29, 2023

History

26 Commits
Sep 27, 2023
Sep 29, 2023
Sep 27, 2023
Sep 27, 2023
Sep 27, 2023
Sep 27, 2023
Sep 27, 2023
Sep 27, 2023
Sep 26, 2023
Sep 27, 2023
Sep 27, 2023
Sep 27, 2023
Sep 26, 2023
Sep 27, 2023
Sep 27, 2023
Sep 26, 2023
Sep 27, 2023
Sep 26, 2023
Sep 26, 2023

Repository files navigation

⚠️ This is just a prototype! https://mt-uploader.vercel.app/

it only 4.4 MB Vercel size limit you can deploy your own copy and get 2GB telegram limit limits.

  1. Clone the Repository

    git clone https://github.com/TeaByte/mt-uploader.git
    cd mt-uploader
  2. Install Dependencies

    npm install
  3. Start MTPROTO API

    # Don't forget to put telegram bot-token, etc.. in ( main.py )
    cd mtproto
    pip install requirements.txt
    py main.py
  4. Make .env File

    # Telegram MTPROTO Flask API endpoint
    PYTHON_MTPROTO_API_URL=http://127.0.0.1:80
    
    # Database
    DATABASE_URL=postgres://....neon.tech/main
    SHADOW_DATABASE_URL=postgres://....neon.tech/shadow
    
    # Google Recaptcha V2
    RECAPTCHA_SECRET_KEY=...
    

    Neon PostgreSQL: https://console.neon.tech

  5. Start the Development Server

    npm run dev

photo