Skip to content

A simple Telegram bot for converting images to various formats. The bot supports PNG, JPEG, and WebP conversions. Future updates will include more file formats and features.

License

Notifications You must be signed in to change notification settings

sulaymon1404/File-Converter-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple Telegram bot that allows users to convert images between different formats. Supports PNG, JPEG, WebP, and more formats in the future.

Features

  • Convert images to PNG, JPEG, WebP, and more
  • User-friendly Telegram interface
  • Future support for more file types (documents, audio, etc.)

Installation

  1. Clone the repository:

    git clone https://github.com/sulaymon1404/file_morph_tg_bot.git
  2. Navigate to the project folder:

    cd file-converter-bot
  3. Install dependencies:

    npm install
  4. Create a .env file and add your bot's API token:

    TELEGRAM_API_TOKEN=your-telegram-bot-api-token
    
  5. Start the bot:

    npm run dev

Usage

  1. Start a conversation with your bot on Telegram.
  2. Send an image to the bot.
  3. Choose the format to convert the image to using inline buttons.
  4. Receive the converted image.

Contributing

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Commit your changes and push to your fork.
  4. Create a pull request to the main branch of the original repository.

About

A simple Telegram bot for converting images to various formats. The bot supports PNG, JPEG, and WebP conversions. Future updates will include more file formats and features.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published