Coder Social home page Coder Social logo

go-zipper's Introduction

Telegram Zipper bot

Send some files to the bot, and it makes you a ZIP!

Usage

Just write the bot @GoZipper_bot and forward or send him some files, then just write /zip and you will get your data as a ZIP

Hosting

If you want to host your own bot then its superr siple.

  1. Copy the docker-compose.yml file

  2. Create a config.env file and copy the snippet below.

    BOT_TOKEN=""
    CUSTOM_TELEGRAM_API_SERVER_URL=""
    DEBUG="true"
  3. Create a bot with BotFather and copy your token

  4. Paste your token into the BOT_TOKEN section.

  5. now run the bot with docker-compose up -d

Features & Limitations

Features

  • Can ZIP files, directly as a message or as a forward
  • This bot will delete all your files Immediately after you make the ZIP

Limitations

  • Cant download files bigger than 20MB (API limitation)
  • Can only download files that got send to the bot as files

Ideas & ToDo's

  • Allow user to set a Password for the ZIP
  • Securely erase all files that have been downloaded
  • pin code; for special access (larger file uploads and more)
  • remove of files that are older than x minutes (1min?)
  • compress in different formats? 7zip, rar and more?
  • special compression algorithm, eg. zstd
  • Allow all files (stickers, normal images, voice messages and more) to be downloadable
  • Notifications, when files are finished downloading and compressed
  • Configuration through environment variables and .ENV file

Used Library's

go-zipper's People

Contributors

fenpaws avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

ayushbotz n-sudy

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.