A Telegram Bot that can convert Images, Videos, Audios, Fonts, Documents and Ebooks.
See the Bot in Action @FilesConvertRobot
HASH
Your API Hash from my.telegram.orgID
Your API ID from my.telegram.orgTOKEN
Your bot token from @BotFather
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/bipinkrish/File-Converter-Bot.git
cd File-Converter-Bot
docker build . -t File-Converter
docker run File-Converter
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
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
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'
-
for converting Images it uses ImageMagic
-
for OCR reading of Images it uses Tesseract-OCR
-
for converting Videos and Audios it uses FFmpeg
-
for converting Documents it uses LibreOffice
-
for converting Fonts it uses FontForge
-
for converting eBooks it uses Calibre
-
for extracting Archives it uses 7zip
-
for converting Subtitles it uses TTconv
-
for converting 3D Models it uses OpenCTM-Tools
-
for converting TGS it uses TGSconverter
-
for transpiling Python Programs it uses Py2Many
-
for transpiling C Programs it uses C4Go
-
for transpiling Java Programs it uses Jsweet
-
for scanning QR & Bar Codes it uses PyzBar
-
for compiling JAR it uses Warp4j
-
for compiling C & C++ it uses G++
-
for compiling Python it uses PyInstaller
-
for Colorizing Images it uses DeOldify hosted on Hugging Face and Photo-Colorizer
-
for generating AI Images it uses Craiyon (also know as Dalle-Mini) and Stable Diffusion hosted on Hugging Face
-
for generating Positive Images it uses C41lab or C41, Open-CV and Negfix8
-
for Speech to Text it uses Google's API and Open-AI's Whisper hosted on Hugging Face
-
for Text to Speech it uses Google's gTTS API
-
for Upscalling Images it uses Zyro's Image-Upscaller
-
for Torrents it uses iTorrents and Torrent2Magnet
-
for Date and Time it uses Arrow
-
for Maths and RUN it uses ASTeval
-
for generating 3D Models it uses Point-E hosted on Hugging Face
-
for Chat with AI it uses V23 CHATBOT hosted on Hugging Face
-
for AI Article Writter it uses Bloom hosted on Hugging Face
-
for TEXT-to-MUSIC it uses Riffusion hosted on HuggingFace
-
for BG REMOVE it uses MODNet hosted on HuggingFace