# Memora

> A Telegram-first archive for voice notes, links, screenshots and forwards.

A case study by Maxim Esipov: https://qwinty.my/work/memora/

- Category: Telegram bot · Mini App · AI
- Role: Solo — product, design, engineering
- Status: Live · early access
- Years: 2025 — 2026
- Stack: Python, FastAPI, Celery, PostgreSQL, pgvector, aiogram, React, Tailwind CSS, Gemini
- Website: https://memorabot.app
- Telegram bot: https://t.me/memora_ai_bot

## The problem

Telegram's Saved Messages is where voice notes, links, screenshots and forwarded posts go to be
forgotten. Saving is easy. Finding it again is not.

## What it does

Memora lives where the saving already happens. Forward anything to the bot and it becomes a memory
you can find later.

- It takes text, links, photos and albums, documents, video, voice messages, video notes and
  forwarded channel posts. An album becomes one memory.
- It transcribes voice and video notes, reads screenshots, extracts text from Office documents and
  summarizes links.
- Every memory gets a title, a summary and tags.
- It spots real events and deadlines and suggests reminders and to-dos, with snooze and done buttons
  right in the chat.
- A Telegram Mini App holds the archive: filters, memory details with transcripts, a voice player and
  galleries, plus reminders, to-dos and settings.
- Search shows local results instantly while the server search runs, and a change feed keeps the Mini
  App in sync with the bot.
- JSON and Markdown export, a full account delete, and everything in English and Russian.

## How it's built

- An aiogram bot, a FastAPI backend and Celery workers on eight queues, so heavy work never blocks a
  reply. The memory is saved at once, and the bot edits its "Saved" message as transcription and
  analysis finish. Undo cancels the queued AI work.
- Gemini for text, images and embeddings, Whisper for speech, and PostgreSQL with pgvector for keyword
  and vector search.
- The Mini App signs in with Telegram's signed launch data. Media goes through short-lived signed
  links, so raw Telegram file IDs never reach the browser.

## Decisions I'm proud of

- Analytics that respect privacy: an allowlist of events, no note text or search queries, and
  bucketed values instead of raw numbers.
- An AI cost ledger records the cost and latency of every provider call without storing prompts. The
  free plan's limits come from those real costs.
- I audited my own product: 21 findings, fixed in four stages, then a repeat audit with nothing new or
  reopened.
- The landing promises only what is shipped.

## By the numbers

- About 1,100 commits across five repositories.
- About 90,000 lines of product code and more than 1,400 automated tests.
- Free and Pro plans, paid with Telegram Stars or by card.

## Status

Live in early access. A wider public launch waits on a second, independent security review.
