Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

AbdulazizAyalew/Liquid-Glass-Overlay-Bot

Record type:

softwaretools
Creator:
Abd
Host:
A Telegram bot that automatically brands images for an Amharic tech news channel by analyzing each image and overlaying the best-matching "liquid glass" design (created in Figma) before sending it back ready to post. # Liquid Glass Overlay Bot A Telegram bot that automatically brands images for an Amharic tech news channel by analyzing each image and overlaying the best-matching "liquid glass" design (created in Figma) before sending it back ready to post. ## Why Every post in the channel is paired with a relevant image (e.g. a photo of the person being discussed) so readers immediately understand the topic at a glance. This bot adds a consistent branded look on top of those images automatically, using a set of liquid glass design variants prepared in different color schemes — instead of manually applying the overlay in a design tool for every single post. ## How it works 1. Send a photo to the bot. 2. The bot downloads it and analyzes its dominant colors. 3. It picks the closest-matching liquid glass design variant from the asset library. 4. It composites the overlay onto the image. 5. It sends the finished image back to you, ready to post to the channel. ## Features - 🖼️ Automatic image analysis (dominant color extraction). - 🎨 Data-driven design variant library — add new Figma exports without touching code. - 🤖 Automatic best-match design selection. - 🔁 Manual override (`/variant `) to force a specific design. - ⚙️ Simple admin commands (`/list_variants`, `/help`). ## Tech Stack - Language: (`python-telegram-bot` + `Pillow` + `colorthief`) - Telegram Bot API - Image processing: Pillow ## Project Structure ``` . ├── assets/ │ └── variants/ # Exported transparent PNG overlays from Figma │ └── variants.json # Metadata: id, filename, palette, placement rule ├── src/ │ ├── bot.py # Telegram bot entrypoint │ ├── analyze.py # Image analysis (color extraction) │ ├── select.py # Design selection logic │ └── composite.py # Overlay compositing ├── SRS.md ├── README.md └── .env.example ``` ## Setup 1. Clone the repo. 2. Create a bot via @BotFather and get your bot token. 3. Copy `.env.example` to `.env` and fi …

Visit

github.com

Tasks

computer vision

Languages

Amharic

Similar

KnightDanny/ethiopian-calendar-overlayGlass Tumbling for Safe Waste Glass Disposal in Cape Maclear, MalawiOverlay Text Extraction From TV News BroadcastA Liquid AfricaLiquid realization in RutooroScan-classify-overlay model for Bozo and Bangime nominal tones

KnightDanny/ethiopian-calendar-overlay

Chrome extension that shows Ethiopian calendar dates inside Google Calendar, alongside the Gregorian

Glass Tumbling for Safe Waste Glass Disposal in Cape Maclear, Malawi

Glass waste is an increasing environmental challenge, particularly in communities with limited waste

Overlay Text Extraction From TV News Broadcast

The text data present in overlaid bands convey brief descriptions of news events in broadcast videos

A Liquid Africa

Abstract This essay coins the term liquid Africa to describe the continent as protean and fluid, a

Liquid realization in Rutooro

This paper provides a description and analysis of te distribution of the liquids [r] and [l] in Rutooro (E.12), a Ugandan Bantu language. The allophone that appears is conditioned by the backness of both the preceding and following vowel. Assuming /r/ is underlying

Scan-classify-overlay model for Bozo and Bangime nominal tones

Nominal compounds (N-N) and noun-adjective (N-Adj) sequences share a distinctive morphotonology and