Logo Lanfrica

Girum-Birhanu/telegram-postcard-bot

Domaine:

natural language processing

Type de record:

software
Créateur:
Gir
Hôte:
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 🇪🇹

Languages

Licenses