Logo Lanfrica

Girum-Birhanu/telegram-postcard-bot

Domain:

natural language processing

Record type:

software
Creator:
Gir
Host:
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