Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 1.15 KB

readme.md

File metadata and controls

26 lines (14 loc) · 1.15 KB

Telegram Code Beautifier Bot

Telegram Code Beautifier Bot is a Telegram bot that beautifies code snippets by generating an image of the code with the Carbon API. The bot adds user information such as name, username, and avatar to the image and sends it back to the user. The bot is built with Node.js and the Telegraf library.

Usage

To use the bot, simply send a code snippet to the bot and it will send back an image of the code with your name, username, and avatar added to the image. You can use the bot in private chats or group chats by mentioning the bot or replying to a message by mentioning the bot.

Installation

To install the bot, clone the repository and run npm install to install the dependencies. Then, create a .env file with your Telegram bot token:

BOT_TOKEN=<your_bot_token_here>

Finally, run npm start to start the bot.

Contributing

Contributions are welcome! If you find a bug or have a feature request, please open an issue. If you would like to contribute code, please fork the repository and submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.