Skip to content

File Converter Telegram Bot that can Convert Images, Videos, Audios, Fonts, Documents and Ebooks

Notifications You must be signed in to change notification settings

ajithvnr2001/File-Converter-Bot

 
 

Repository files navigation

File-Converter-Bot

A Telegram Bot that can convert Images, Videos, Audios, Fonts, Documents and Ebooks.

See the Bot in Action @FilesConvertRobot


Variables

  • HASH Your API Hash from my.telegram.org
  • ID Your API ID from my.telegram.org
  • TOKEN Your bot token from @BotFather

Run Locally

You have to install Docker or Docker Compose. Set the Environment Variables after the clone, or you can directly change it on Line 26 - 28 in main.py file

git clone https://github.com/ajithvnr2001/File-Converter-Bot.git
cd File-Converter-Bot
docker build . -t File-Converter
docker run File-Converter

or
!sudo apt-get -y update
!sudo apt-get install -y zbar-tools
!sudo apt-get install -y libzbar-dev
!sudo apt-cache search zbar
!pip install pyrogram 
!sudo apt-get install -y libzbar0
!sudo apt-get install -y libzbar0 libzbar-dev
!pip install asteval
!pip install pyzbar
!pip install telegraph
!pip install pykeyboard
git clone https://github.com/ajithvnr2001/File-Converter-Bot
cd File-Converter-Bot
python3 main.py

Supported Formats

Images: OCR, ICO, GIF, TIFF, BMP, WEBP, JP2, JPEG, JPG, PNG

Videos/Audios: AIFF, AAC, M4A, OGA, WMA, FLAC, WAV, OPUS, OGG, MP3, MKV, MP4, MOV, AVI, M4B, VOB, DVD, WEBM, WMV

Documents: ODT, DOC, DOCX, DOTX, PDF, XML, HTML, DOTM, WPS, OTT, TXT, ODP, PPT, PPTX, PPTM, PPSX, POTM, POTX, PPS, POT, ODG, OTP, XML, ODS, XLS, HTML, XLSX, XLSM, XLTM, XLTX, OTS, XML, CSV, XLM

Fonts: SFD, BDF, FNT, OTF, PFA, PFB, TTC, TTF, UFO, WOFF

eBooks: EPUB, MOBI, AZW3, KFX, FB2, HTMLZ, LIT, LRF, PDB, PDF, TXT

Archives: ZIP, RAR, 7Z, TAR, XY, GZ, BZ

Subtitles: TTML, SCC, SRT, VTT

Programming Languages: C, CPP, PY, RS, JL, KT, NIM, DART, GO, JAVA, JS, TS, JAR

3D Files: CTM, PLY, STL, 3DS, DAE, OBJ, LWO, OFF, WRL


Special Features

COLORIZE - Colorize your Old B&W Images

TEXT-to-IMAGE - Get AI created Images from your Prompt

POSITIVE - Convert your Negetive Images to Positive Images

SPEECH-to-TEXT - Transcrpting from a Audio

TEXT-to-SPEECH - Generate Speech from a Text File

UPSCALE - Increase Resolution of a Image

TEXT-to-VIDEO - Get AI created Videos from your Prompt

SCAN - Get Scanned Data from QR Codes and Bar Codes

COMPILE - Get Self-Contained Linux Executable

RUN - Run a Python Program

Chat with AI - Converse with The Sarcastic Chatbot

AI Article Writter - Finish your Airticle with AI

TEXT-to-MUSIC - Generate Music from a Text


Extra Features

Tic Tac Toe - Play a Tic Tac Toe with Bot or Players

Guess Game - Bot will Guess your Number

SAVE RESTRICTED - Send a Resctircted Public Chat Post's Link, Bot will Send you that Post

Torrent <-> Magnet - Send Torrent File to get Magnet Link and Viceversa

Time and Date - Send 'Time' or 'Date' keyword to get Current Time & Date in Several TimeZones

Maths - Send Math Expression (in Python Format) to get its Result

Base64 - Send 'b64e string' to encode 'string' and 'b64d string' to decode 'string'


Wiki

About

File Converter Telegram Bot that can Convert Images, Videos, Audios, Fonts, Documents and Ebooks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 83.9%
  • Shell 16.0%
  • Dockerfile 0.1%