Кейсы и проекты - Истории успеха BarsConsult
BarsConsult Logo

Project: Genealogy Bot

Uniting generations with technology

A Telegram bot that turns the complex process of studying family history into an engaging and simple activity, available to everyone right on their smartphone.

Challenge: Make family history accessible and interactive

Traditional family tree building is a complex process that requires special programs, lengthy data collection, and manual drawing of connections, but our Telegram bot for genealogy simplifies this.

  • Easily add and edit information about themselves and relatives.
  • Visualize the family tree on the fly.
  • Find potential relatives among other bot users.
  • Use the bot in their native language.

Solution: A multifunctional genealogy assistant in Telegram

We developed a bot with a step-by-step interface that guides the user. The main functionality includes:

Profile management

Convenient forms for adding and editing complete information about a person, including dates and places of birth/death, photos, and maiden names.

Automatic tree generation

The main 'magic' of the project. The bot builds and sends the user a PNG image of their family tree in real time, clearly displaying all family ties.

Intelligent match search

A unique system that analyzes the data of all users and looks for potential intersections — from direct matches to common ancestors (for example, second cousins), with subsequent confirmation of the connection.

Full multilingual support

The bot's interface supports Russian, English, Kazakh, and Tatar languages, with the ability to switch at any time.

Under the hood: A reliable stack for complex logic

Architectural diagram

graph TD;
    User[User (Telegram)] --> Bot(aiogram bot);
    Bot --> DB[PostgreSQL (DB)];
    Bot --> Graphviz(Graphviz - Tree generator);

aiogram 3

Asynchrony, FSM, keyboards

PostgreSQL

Reliable storage of connections

Graphviz

Core for drawing trees

Python 3.12+

Fast development and integration

Explore your history or create your own bot

Try how easy it is to build your family tree, or discuss with us the creation of your own unique community bot.