AI food diary · Telegram Mini App, web app, bots

perek.us

Snap your plate and get calories and macros in seconds.

An AI food diary that lives where people already are: in Telegram and as an installable web app. Send a photo, a sentence, a voice note or a receipt. The app finds every product, estimates the weight and fills in the diary, showing its progress as it goes.

Platforms
Telegram Mini App, PWA
Year
2026
Live product
perek.us
Daily summary in the dark theme
to open the app, down from 8-16 s
1-2 s
codebase for the bot, the Mini App and the web app
1
interface labels editable from the admin
1,900
commits in the first three months
1,200+

The challenge

Food diaries die on day three. Typing every meal is tedious, and calories from a single AI guess are often off. The product had to make logging effortless, keep the numbers trustworthy and stay fast inside a messenger on an ordinary phone.

What we built

A three-stage AI pipeline. A vision model lists the products and estimates weights. Each product is then researched in parallel across nutrition sources and cross-checked, and the totals land in the diary. Progress streams live, in the chat and in the app. The Mini App is plain HTML, CSS and JS with a liquid-glass look and fullscreen mode on phones. We cut it from 125 requests to 8 and the start from 8-16 seconds to 1-2.

How it works

  1. 01

    Send a photo, watch it think

    Or a sentence, a voice note, a receipt. Each product is researched in parallel, and progress shows item by item instead of a spinner.

  2. 02

    Correct anything

    Tap a product and change the portion, or simply write “the rice was 150 g”. The meal and the whole day recalculate at once.

  3. 03

    See the whole day

    Calories left, macros and fibre at a glance. The diary, the norm and the goals are one tap away.

Inside the product

  • Photo, text, voice, receipt

    Log a meal any way you like. The pipeline is the same.

  • Every product researched

    Weights and macros per item, cross-checked across nutrition sources.

  • Corrections in plain words

    Edit a portion by writing it, and the totals recalculate instantly.

  • Norm and goals

    Calorie calculator, target-date forecast, weight and body composition.

  • A coach with character

    Nine personalities comment on meals and adapt to how the user writes.

  • Streaks and leagues

    Streak freezes, weekly leagues and achievements keep people coming back.

  • Premium

    Weekly meal plans and nutrition reviews, paid with Telegram Stars or cards.

  • Every word editable

    Around 1,900 interface labels can be changed from the admin with a live preview.

In motion

Mini App in motion

Screens

Mini App · light theme

  • perek.us daily summary: calories left, protein, fat and carbs

    perek.us daily summary: calories left, protein, fat and carbs

  • Adding a meal with a photo and a short description

    Adding a meal with a photo and a short description

  • The AI counting macros for each product, live progress

    The AI counting macros for each product, live progress

  • Meal added: per-product weights and calories

    Meal added: per-product weights and calories

  • Meal card: 553 kcal lunch with editable portion and nutrients

    Meal card: 553 kcal lunch with editable portion and nutrients

  • Food diary by day with macros per meal

    Food diary by day with macros per meal

  • Profile with the daily calorie norm and goals

    Profile with the daily calorie norm and goals

Mini App · dark theme

  • Daily summary in the dark theme

    Daily summary in the dark theme

  • Adding a meal in the dark theme

    Adding a meal in the dark theme

  • Live macro counting in the dark theme

    Live macro counting in the dark theme

  • Meal result in the dark theme

    Meal result in the dark theme

  • Meal card in the dark theme

    Meal card in the dark theme

  • Food diary in the dark theme

    Food diary in the dark theme

  • Profile in the dark theme

    Profile in the dark theme

What we did

  • Product and UX
  • Mini App and web app
  • Telegram bots
  • AI pipeline
  • Payments and subscriptions
  • Admin and analytics

Stack

  • Python
  • aiogram
  • FastAPI
  • PostgreSQL
  • Redis
  • OpenAI Responses API
  • Brave Search
  • Vanilla JS
  • PWA
Next project iHrb.shop E-commerce · Telegram Mini App and web

Tell us about your app

No calls: fill in a short brief, and within 24 hours you get an estimate with a fixed price for each stage.