A simple Telegram bot that allows users to convert images between different formats. Supports PNG, JPEG, WebP, and more formats in the future.
- Convert images to PNG, JPEG, WebP, and more
- User-friendly Telegram interface
- Future support for more file types (documents, audio, etc.)
-
Clone the repository:
git clone https://github.com/sulaymon1404/file_morph_tg_bot.git
-
Navigate to the project folder:
cd file-converter-bot
-
Install dependencies:
npm install
-
Create a
.env
file and add your bot's API token:TELEGRAM_API_TOKEN=your-telegram-bot-api-token
-
Start the bot:
npm run dev
- Start a conversation with your bot on Telegram.
- Send an image to the bot.
- Choose the format to convert the image to using inline buttons.
- Receive the converted image.
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Commit your changes and push to your fork.
- Create a pull request to the
main
branch of the original repository.