Skip to content
online
env0.46.1 · 1d135e2
ArchivedUpdated Aug 25, 2023

Lendbor

A Telegram bot for personal loans between friends and family — who owes what, how much is left and when the next payment is due — with a landing page. A 2023 pet project.

Challenge

Personal loans between friends and family live in memory or scattered notes: who owes what, how much is left, when the next payment is due.

Solution

  • Telegram bot: a keyboard with lends, borrows and payments, guided dialogues to add a loan or a payment, lists as compact tables with inline buttons for details and deletion, automatic sign-up on /start; the remaining balance is recalculated with every payment.
  • Extras: hourly crypto rates cached in Redis and weather by city.
  • Web side: an admin with users, loans and payments; a second version on Django with a REST API (filters, search, sorting, pagination) and HTMX modals.
  • Infrastructure: Docker Compose with PostgreSQL, Redis and nginx, secrets from the environment.
  • Landing page: React and TypeScript with a persistent dark theme, deployed to GitHub Pages.

Result

A working prototype of the bot and two web back ends, built in 2023 as a pet project.