Back to selected work

Case study

BiMO Personal Bot

Full-Stack EngineerOctober 2026 – Present

Daily agenda · Notes and tasks · Events and reminders · Personal finance

Notes, tasks, events, reminders, and finances can end up scattered across different apps. I built BiMO as a personal bot that brings the daily agenda and money tracking into one place through Telegram and a private web app.

System architecture

The system I built

I designed how these layers connect — interface, business rules, data, and delivery — not only the screens on top.

  1. 01

    Transport adapters

    Telegram, MCP clients, web interface, OAuth/API endpoints

  2. 02

    Application core

    Authorization, audit, idempotency, domain services, workflow orchestration

  3. 03

    Data layer

    PostgreSQL, Drizzle, Graphile Worker, object storage

  4. 04

    External integrations

    Google Workspace, GitHub, Gemini, Telegram

How the layers connect

Orange rectangle = my work — the parts I took responsibility for

Not highlighted = Database and Redis cache

100%

Labeled arrows show which parts talk to each other, and how.

User & External Sources

My work

Telegram

Commands, alerts, reminders, and chat

My work

Web

Protected browser interface

My work

MCP

Tool access via local or remote protocol

My work

GitHub

Repository event tracking and alerts

My work

Google Workspace

Drive, Calendar, Gmail, and OAuth

Transport Layer

My work

Telegram Bot

Command handling and notifications

My work

Fastify API

Protected REST endpoints and auth

My work

Next.js UI

Private app shell and dashboard

My work

OAuth / API

Secure third-party authorization

Application Services

My work

Authorization

Owner and capability-based access control

My work

Domain Services

Tasks, notes, finance, events, reminders

My work

Worker

Reminders, daily agenda, GitHub, email jobs

My work

Gemini AI

Natural-language parsing and read-only data access

Persistence

PostgreSQL

Primary persistent data store

My work

Object Storage

Private attachments and files

Dashboard

My work

Next.js Interface

Dashboard and application views

My work

Personal Portal

Unified access to tasks and life operations

Problem

I wanted one place to answer: What do I need to do today, what should I remember, what is coming up, and where is my money going? Notes, tasks, calendar events, reminders, and finance records were spread across separate tools. I built BiMO to bring those daily needs into one personal assistant.

My contribution

  • Built task, note, event, and reminder workflows so the daily agenda could be managed in one place.
  • Added personal finance views for expenses, income, budgets, balances, and debts alongside everyday planning.
  • Created Telegram and private web interfaces for capturing information and reviewing the day.
  • Integrated natural-language parsing so notes, tasks, events, and finance entries could be captured conversationally.
  • Built background jobs for scheduled reminders and daily agenda alerts.
  • Connected Google Workspace and MCP access to the same application services, with owner-controlled permissions and isolated personal data.

Engineering challenges

  • Bringing notes, tasks, events, reminders, and finances together without making everyday capture and review complicated.
  • Balancing strict user privacy with automation: personal data cannot be exposed to general chat or untrusted users.
  • Designing authorization boundaries across Telegram, web sessions, MCP tools, and custom access grants without accidental privilege leakage.
  • Maintaining data integrity with finance workflows, debt tracking, budgets, and idempotent writes while avoiding destructive mistakes.
  • Handling multiple external integrations without creating brittle coupling or duplicated credentials.
  • Keeping the assistant responsive while processing notifications, webhook events, and periodic background jobs.

Why I made this decision

Why combine the daily agenda and personal finance?
Planning the day involves both commitments and money. Keeping them in one assistant lets me capture a task, save a note, check an event, or log an expense through the same interface.
Why capability-based access instead of broad admin access?
Each grant is explicit and scoped. This keeps personal data isolated, reduces accident risk, and lets the owner selectively enable features for one user at a time.
Why split web + worker + MCP runtime processes?
Separate entrypoints isolate transport concerns while reusing the same domain logic, database, and authorization model across the whole product.
Why Gemini-assisted natural-language workflows?
Natural-language interaction shortens the path from idea to action while the confirmation model keeps destructive or sensitive operations safe and reviewable.
Why strict audit and idempotency?
Personal data and financial records must be auditable and replay-safe; every write is checked against identity, grants, and repeat-attempt protection.

Delivery

  1. Telegram / web / MCP input
  2. Validation and authorization checks
  3. Application service orchestration
  4. Database writes and external integrations
  5. Background worker processing
  6. Protected dashboard and notifications

Result

  • One personal assistant for notes, tasks, events, reminders, and finance

  • Scheduled reminders and daily agenda alerts through background jobs

  • Conversational capture through Telegram, with a private web dashboard

  • Budgets, balances, and debt tracking alongside daily planning

  • Owner-controlled access across Telegram, web, and MCP

Built with

Node.js 24TypeScriptFastifyNext.js 16React 19PostgreSQLDrizzle ORMGraphile WorkerTelegram Bot APIMCPGemini APIGoogle Drive APIGoogle Calendar APIGmail APIGitHub APIDockerDocker ComposeS3-compatible object storageTailwind CSS