DEV Community

Cover image for # 🎨 I built QuoteSparkBot – a Telegram bot for multilingual quotes with custom image generation
Techno Otaku V2
Techno Otaku V2

Posted on • Edited on

# 🎨 I built QuoteSparkBot – a Telegram bot for multilingual quotes with custom image generation

Hey devs πŸ‘‹

Just finished a personal side project I wanted to share: QuoteSparkBot, a Telegram bot that delivers inspirational quotes… with a twist.

The goal: provide translated, visual, and fully personalized quotes inside Telegram – with rich customization and automation options.


βš™οΈ Key Features

  • πŸ–Ό Stylized quote images generated via a custom Canvas engine
  • 🌍 Automatic translation (supports 10+ languages)
  • πŸ›  User preference system: style, themes, subtitles, captions, etc.
  • πŸ“… Scheduled quote posting in groups/channels
  • πŸ’¬ Custom captions/legends
  • πŸ’Ž Premium mode (beta) for content creators
  • πŸ” Backend secured with persistent storage and encoded logic

πŸš€ Try it out

πŸ‘‰ https://t.me/QuoteSparkBot

Bot is live and can be added to groups and channels.


πŸ“Έ Visual Example

Example customization menu:

Example Quote cards models menu

Image themes
Futuristic Theme
Image theme
Urban theme


🧰 Tech Stack

  • Node.js + node-telegram-bot-api
  • Canvas-based custom image renderer
  • MongoDB for preferences & logs
  • Task scheduler (cron-style) for automated delivery
  • Telegram inline keyboard interface + callback handlers

πŸ”§ What I learned

  • How to build a dynamic image generator with Canvas in Node
  • Implementing user preference systems with persistence
  • Keeping Telegram UX smooth while handling customization
  • Building something stable and production-ready

πŸ’¬ Looking for feedback

Happy to hear any thoughts:

  • Features you’d expect from a quote bot?
  • How to make onboarding more engaging?
  • Dev questions about image gen, scheduling, or architecture?

Thanks for reading πŸ™

β€” Techno otaku

Top comments (2)

Collapse
 
alexanderlamdan profile image
Alexander • Edited

Hey nice bot. I already use it. Very nice and good.

UPD:
Do you work on telegram api directly or telegram local bot api?