A Telegram bot that generates personalized Easter postcards with Amharic text using Node.js and Canvas.
# Telegram Easter Postcard Bot π
A Node.js Telegram bot that generates personalized Easter postcards with custom names and stylish Amharic typography.
## β¨ Features
- Collects sender and receiver names via chat
- Dynamically generates postcard images using Canvas
- Supports Amharic text with custom fonts (Abyssinica SIL)
- Adds Easter message: "α₯αα³α αα αα α α°αα!"
- Clean and centered text layout with shadow and glow effects
- Inline buttons:
- π Create another postcard
- π₯ Download again
## π οΈ Tech Stack
- Node.js
- node-telegram-bot-api
- canvas (image processing)
- dotenv (environment variables)
## π Project Structure
- `index.js` β Bot logic and interaction flow
- `services/imageService.js` β Image generation logic
- `assets/` β Postcard image and fonts
## π Security
- Bot token is stored securely using environment variables (.env)
- `.env` is excluded from version control using `.gitignore`
## π How it works
1. User starts the bot
2. Bot asks for recipient name
3. Bot asks for sender name
4. Generates a customized postcard image
5. Sends the image with interactive buttons
---
Built as a creative project combining backend development, design, and cultural storytelling πͺπΉ