This project is an interactive Telegram Bot built with GrammyJS, designed to let you add text to your uploaded images. Whether you're using your own images or our pre-made templates, it's never been easier to customize your visuals. With the support of Firebase Storage for data persistence, Canvas for graphics manipulation, a unique Persian font for text rendering, and Express.js for API development, this bot is a comprehensive tool for image personalization.
Social Media Posts: Create unique and engaging posts by overlaying text on your images. Personalized Greetings: Send personalized images to your loved ones on special occasions. Add heartfelt messages to images for birthdays, anniversaries, or just to say hello.
- Interactive Telegram Bot interface
- Image manipulation with Canvas
- Text rendering with a unique Persian font: فونت دستنویس نوژه2
- RESTful API with Express.js
Clone the repository:
git clone https://github.com/yourgithubusername/telegram-bot.git
Install the dependencies:
cd telegram-bot
npm install
Set up Firebase for yourself as my firebase is private.
Update the .env
file with your Firebase project details and your Telegram bot token.
node index.js
After starting the bot, you can interact with it through the Telegram app. Send a command, and the bot will respond accordingly.
Contributions are welcome. Please open an issue or submit a pull request.
This project is licensed under the terms of the MIT license.