Chandima Bandara

Solution architect and creative coder. I build the unglamorous machinery underneath things people use.

Each dot is a commit I wrote. There are 3,937, from May 2021 to November 2026. Scroll to sort them.

The record

Most of my time goes into the layer nobody screenshots: the ledger that has to balance, the queue that cannot drop a message, the parser that meets a scanned form in a script with almost no training data.

The same discipline carries across payments, public platforms and applied AI. Map the failure modes, design the contract, then write the smallest thing that holds.

1,074 went into the five projects below 2,863 into everything else

Commits per year: 2021, 500; 2022, 213; 2023, 673; 2024, 971; 2025, 564; 2026, 1,016.

Social listening platform

2026 286 commits

Delphi Collective

Collects conversation across fifteen channels, scores it, groups it into the stories an audience is telling, and lets a team question all of it in plain language.

Collection moves outward in rings: a profile, its posts, the replies, then the accounts that turned up in them.
  • Rebuilt from a Keycloak, Kafka, Elasticsearch, Neo4j and MinIO estate onto one Cloudflare Worker and Postgres.
  • A collection run can be paused, cancelled and resumed where it stopped. Every queue has a dead-letter twin.
  • The assistant answers with charts, tables and mention cards, and sets projects up with the user's approval.
  • The console tracks what each customer costs to serve, split by AI, data purchase and compute.

Cloudflare Workers, Queues, Workflows, Hono, Drizzle, Postgres, R2, Next.js

Architecture and most of the build.

AI customer messaging

2026 112 commits

ChatStream

AI agents and flows that answer customer messages across social and web channels, with a human inbox for the conversations that need a person.

Many channels in, one conversation out. Each lane is a channel; they meet at the inbox.
  • One Worker API and four static frontends: customer app, operations console, marketing site, partner portal.
  • Inbound webhooks are deduplicated and processed inline, with a queue behind them as the safety net.
  • Agents answer from a knowledge base on Postgres and pgvector, and hand off when they should.
  • Outbound messages are metered against each account's plan, with top-ups and billing through Stripe.

Cloudflare Workers, Durable Objects, Queues, Hono, Postgres, pgvector, React, Stripe

Architecture and lead engineering, with one collaborator. chatstream.us

Payment gateway

2024 to 2026 145 commits

easypay

A Stripe-model payment gateway for Sri Lanka: cards through hosted checkout, QR through bank APIs, and a ledger that reconciles before anyone is paid.

Two columns that have to agree, and one entry still being reconciled between them.
  • Full ledger and event log, refunds, bank reconciliation, and automated daily payouts to merchant accounts.
  • Merchant onboarding is gated on KYC, aligned with central bank rules.
  • A 96-check suite drives every flow through public surfaces only: tenant isolation, webhook signatures, rate limits.
  • The merchant API and the admin API run as separate containers with separate signing secrets.
  • A sister service adds pay-in-three and pay-in-six instalments with a rules-based credit check.

Node.js, TypeScript, Hono, Drizzle, PostgreSQL, React, Flutter, Docker Compose

Architecture and build.

AI board teacher

2026 111 commits

AI Guru

A tutor for Sri Lankan students from Grade 6 to 13 that teaches each textbook page on a live chalkboard, in Sinhala, Tamil or English.

A standing wave on a string, three loops, the kind of thing she draws on the board.
  • 465 government textbooks, 62,988 pages, and 1,756 past papers, all browsable and wired into the tutor.
  • The board draws while she talks: graphs, lab apparatus, sketch-style 3D models, music notation with sound.
  • A student can raise a hand mid-lesson, and the teacher sees what they have drawn.
  • Quizzes come from the chapter's own exercises, with spaced-repetition flashcards and six-week study plans.

Cloudflare Workers, Hono, Drizzle, Postgres, Next.js, AI SDK, three.js, Rough.js, Tone.js

Architecture and build.

National grocery e-commerce

2023 to 2026 420 commits

Lanka Sathosa

Online ordering for Sri Lanka's state supermarket chain: a storefront, a mobile app, and consoles for head office and every branch.

Sri Lanka, one dot per commit. The chain has branches across the island.
  • The storefront shipped to production with separate dev and prod pipelines for rules, indexes and functions.
  • A Flutter app, head-office and branch consoles, and the importers that load branches, cities and products.
  • Later re-architected as four Cloudflare Workers, with queues for orders, refunds and SMS.
  • English, Sinhala and Tamil throughout.

Next.js, Firebase, Flutter, AWS Lambda, Cloudflare Workers, Postgres

Architecture and engineering, with a team.

Everything else

51 more, from payment backends to a water tank controller. Open a row for the detail. The band along the bottom of the screen is the same record in the order it was written. Open a row and its commits light up there.

  • ePay Mobile wallet and gateway services Money 2023 to 2026 239 commits

    A mobile wallet with merchant portals behind it. I worked across the Flutter app, the Azure functions and their Pulumi infrastructure, the sandbox integrators test against, and checkout plugins for WooCommerce and Shopify.

    Flutter, Azure Functions, Pulumi, Postgres, Hono

  • X8 Merchant payments backend Money 2024 to 2025 102 commits

    Backend for a merchant app that takes QR and bank-transfer payments: API Gateway, Lambda, a payout queue on SQS and Postgres, deployed with SST. The Flutter merchant app sits on top.

    SST, AWS Lambda, SQS, Drizzle, Postgres, Flutter

  • Finline KYC onboarding assistant Money 2025 44 commits

    Officers run guided KYC interviews with an assistant that asks for documents, reads them, and keeps a live record of the case. Customers send documents through a public link.

    Cloudflare Workers, D1, R2, Queues, Gemini, React

  • Mini Loans Microfinance platform Money 2026 2 commits

    A microfinance platform for Sri Lanka as two independent Workers: an API on D1 and R2, and an admin console for the people running the book.

    Cloudflare Workers, Hono, Drizzle, D1, React

  • Pascal Double-entry personal finance Money 2026 5 commits

    A local-only double-entry ledger for personal money. Timeline, canvas, dashboard and a command palette on the web, with a desktop build in Tauri.

    Hono, Drizzle, SQLite, React, Tauri

  • totl Personal finance app Money 2025 to 2026 3 commits

    A Flutter app that reads bank SMS alerts, categorises the transactions, and gives an AI-assisted view of where the money goes.

    Flutter, Firebase

  • Rajya Pay Payment collection consoles Money 2024 10 commits

    Three React consoles for one payment collection platform: one for the bank, one for institutions, one for customers.

    React, Vite, Tailwind, Firebase

  • LankaQR Viewer QR payload inspector Money 2026 1 commits

    Scan a national-standard merchant QR and read every tag in its payload. A small tool that came out of building against the scheme.

    Next.js, Cloudflare Workers

  • Tarkeys Opinion panel platform, four countries Intelligence 2026 177 commits

    Surveys, polls, quests and rewards, run as separate distributions for Sri Lanka, Indonesia, Malaysia and Greece. Each country is cloned from one template and deployed from a central operations repo.

    Cloudflare Workers, Hono, Drizzle, Postgres, Next.js, GitHub Actions

    xvo.lk

  • Delphi Digital Twin Multi-agent persona simulation Intelligence 2026 3 commits

    Agentic personas that stand in for a population. They ingest news, form emotion memories at points in time, and answer surveys from those memories.

    Cloudflare Workers, Hono, Postgres, pgvector, React

  • doctors.lk Medical specialist finder Intelligence 2025 to 2026 18 commits

    An assistant that helps people in Sri Lanka work out which medical specialist they need, then hands them booking links.

    Cloudflare Workers, D1, Hono, Next.js, DeepSeek

    doctors.lk

  • Gridcast AI social content operations Intelligence 2026 2 commits

    Connect accounts, mirror every post, turn what performed into a plan and a calendar, then automate the work with flows and agents.

    Cloudflare Workers, Postgres, Queues, React, Next.js, Stripe

  • News Aggregator Core News pipeline Intelligence 2026 7 commits

    Event-driven scraping, LLM enrichment and semantic clustering on Cloudflare. Queues and Workflows carry the pipeline; Vectorize holds the embeddings.

    Cloudflare Workers, Workflows, Vectorize, Postgres, Gemini

  • Techno Bot Exhibition guide Intelligence 2025 to 2026 39 commits

    The guide for an engineering exhibition. Visitors chat or talk to it in English, Sinhala or Tamil, get walking directions across a 2D and 3D map of 251 stalls, and check themselves in from their phone.

    Cloudflare Workers, Hono, Gemini, three.js, React

  • Sentry Video analytics Intelligence 2026 no recorded commits

    Watches several camera feeds at once. It detects and counts people, recognises the same person across cameras, and draws movement trails and heatmaps.

    Python, YOLO, Docker Compose, React

  • Meteorological record digitisation Document extraction pipeline Intelligence 2026 no recorded commits

    Turns scanned strip-charts and sunshine cards into structured data. The model writes a JSON Schema for each document type, then extracts every page against it.

    Python, Gemini

  • Sinhala OCR Low-resource OCR Intelligence 2026 6 commits

    A web tool that reads Sinhala-script documents into text you can edit and search.

    Next.js, Cloudflare Workers, AI SDK

  • Radio Airplay Broadcast monitoring Intelligence 2026 1 commits

    Fingerprints radio audio to log what each station plays, with a Worker API and a dashboard over the results.

    Node.js, Cloudflare Workers, Drizzle, React

  • Support chat widgets Embeddable assistants Intelligence 2025 65 commits

    A run of embeddable chat widgets and document assistants for different companies, each with its own admin console and knowledge base.

    Firebase, Gemini, AI SDK, React

  • Product capture Catalogue demo Intelligence 2026 1 commits

    A store clerk photographs a product, a model goes online to find its exact specifications, and the listing writes itself. Built so products can be queued back to back.

    Cloudflare Workers, Hono, Drizzle, React

  • Grad Photo Studio Bulk photo retouching Intelligence 2026 no recorded commits

    A local-first, Lightroom-style workspace for retouching graduation photos in bulk with AI image-edit models.

    React, Hono, Drizzle, SQLite, AI SDK

  • EPUB Translate Book translation Intelligence 2026 no recorded commits

    Translates an EPUB from one language to another while keeping its chapters, images, styling and inline markup intact.

    Python, Gemini

  • Contribution Report Git analysis Intelligence 2026 no recorded commits

    Generates a contribution report for any git repository: a daily heatmap, features over time, and a timeline of every commit.

    Python

  • Portovino Wine store Commerce 2023 to 2026 230 commits

    An online wine store: storefront, Flutter app, a Medusa backend, and the importers that keep the catalogue honest. Later rebuilt on Cloudflare.

    Next.js, Medusa, Flutter, Drizzle, Cloudflare Workers

  • East Indies Ordering app and portal Commerce 2023 to 2024 98 commits

    A Flutter ordering app and a React portal with map views, on a Bun and Elysia backend with Prisma.

    Flutter, React, Bun, Elysia, Prisma

  • Tilldot Offline-first point of sale Commerce 2026 4 commits

    Point of sale as a service that keeps selling without a connection: register, catalogue, shifts and a customer display, plus a platform console for stores and plans.

    Cloudflare Workers, Hono, Postgres, React, Stripe

  • Welawa Astrology marketplace Commerce 2021 to 2023 274 commits

    Find an astrologer, book an appointment, order a service and pay. A Flutter app on a serverless AWS API, with an admin console.

    Flutter, AWS Lambda, Serverless, Firebase, React

  • AppointmentsLK Booking app Commerce 2021 to 2023 538 commits

    An appointment booking app in Flutter, built and maintained over three years.

    Flutter

  • WyldWays Naturalist marketplace Commerce 2026 5 commits

    Connects travellers with freelance naturalists who design and lead wildlife excursions. Every naturalist and every listing is reviewed before it goes live.

    Cloudflare Workers, Hono, Drizzle, Next.js, Leaflet

  • Sports Team App Club management Commerce 2026 18 commits

    Registration, teams, attendance, KPI evaluation, fees, tournaments and messaging for a sports club. Four independently deployed Workers over a shared domain layer.

    Cloudflare Workers, Hono, Postgres, React, Next.js

  • Mauritius car rental Booking back office Commerce 2024 to 2025 149 commits

    The admin behind a car rental business, built on Next.js server actions with media in S3.

    Next.js, S3, Tailwind

  • INVOS SMS Gateway Messaging infrastructure Commerce 2022 to 2026 16 commits

    Three Workers and one send endpoint. Customers and staff sign in to their consoles by magic link; sends go through a queue.

    Cloudflare Workers, Hono, D1, Queues, React

  • OutrightPlay Concert ticketing Commerce 2024 to 2026 47 commits

    A public concert site with ticketing, a backend API, and an internal dashboard for managing concerts and orders.

    Next.js, Cloudflare Workers, Hono, Gatsby

  • MegaMart Grocery storefront Commerce 2026 10 commits

    A grocery storefront as four independent apps: API, admin, web and mobile, with a receipt printer service alongside.

    Cloudflare Workers, Hono, Drizzle, Next.js, React

  • Co-op ERP Distribution logistics Commerce 2026 1 commits

    Logistics and distribution for a co-operative retail network, from head office through area groups and distributors to the shops.

    Cloudflare Workers, Hono, Drizzle, Postgres, React

  • Petals Quotes Quoting system Commerce 2026 2 commits

    Replaces a long-lived Excel quoting workbook with two Workers and a desktop shell, without changing how the business quotes.

    Cloudflare Workers, Hono, D1, React, Electron

  • Cake shop 3D order form Commerce 2026 no recorded commits

    Customers configure a cake through a step form with a live 3D preview. The baker works the queue from an admin console.

    Cloudflare Workers, D1, R2, React, three.js

  • Butterflies of Sri Lanka Species atlas Public and field 2026 no recorded commits

    An interactive atlas of the island's 248 butterfly species: photographs, larval food plants, distribution, seasonality, and how they relate. 571 plants and 183 survey locations link back to every species.

    Cloudflare Workers, Hono, D1, R2, React, Leaflet

    slbutterflies.bmcx.me

  • RB Plant Database Medicinal flora dashboard Public and field 2026 4 commits

    A dashboard over a database of Sri Lankan medicinal plants, moved from an Express and IndexedDB app onto Workers, D1 and R2.

    Cloudflare Workers, Hono, Drizzle, D1, R2, React

  • Forest Transect Planner Field survey tool Public and field 2026 3 commits

    Draw a base line on a map and it generates transects every 90 metres with points every five. Each point takes temperature, canopy cover, species observations and photos, and everything exports as CSV.

    React, Leaflet, Cloudflare Pages, D1, R2

  • Korean Bhasha Language learning Public and field 2021 to 2022 115 commits

    Korean lessons and EPS-TOPIK exam preparation for Sinhala speakers. First a Flutter app, later rebuilt as a gamified web app on Workers.

    Flutter, Firebase, Cloudflare Workers, Next.js, Gemini

  • Water tank automation ESP32 controller Public and field 2026 no recorded commits

    A controller for an overhead tank with two sources, a well pump and a mains line. It reads the level, fills from the preferred source, protects the pump from running dry, and reports over MQTT.

    ESP32, MQTT

  • Device tracker Location pings Public and field 2026 no recorded commits

    A bare-minimum tracker in three parts: an Android sender, a Worker that takes binary location pings into D1, and a map to read them back.

    Android, Cloudflare Workers, D1, MapLibre

  • Zoral Labs Studio website Web and play 2025 to 2026 88 commits

    A company site with WebGL scenes and scroll-led motion, with content managed in Strapi.

    Next.js, three.js, React Three Fiber, GSAP, Lenis

  • Omi Online card game Web and play 2026 3 commits

    The four-player trick-taking card game, online. One person makes a table and shares the link; friends or bots fill the seats. Each table is a single Durable Object that shuffles, deals and referees.

    Cloudflare Workers, Durable Objects, D1, React

    playomi.app

  • The Clubs Generative collection Web and play 2022 to 2023 46 commits

    A generative art engine that composes the pieces, the Solidity contracts that mint them, the mint site, and a console for administering the contracts.

    Node.js, Solidity, Hardhat, Next.js, ethers

  • A case-file portfolio Editorial site Web and play 2026 8 commits

    A single-page editorial portfolio for a digital marketer, on an Astro CMS so every section stays editable, with shader backdrops and an image lens.

    Astro, Cloudflare Workers, D1, three.js, GSAP

  • Invictus Company website Web and play 2025 45 commits

    A company website that went through three rebuilds in a year as the brand settled.

    Next.js, Framer Motion

  • Wedding invitation Personalised links Web and play 2025 12 commits

    An invitation site where every guest gets their own link, served from a Worker.

    Next.js, Cloudflare Workers

  • Timebox Task app Web and play 2026 3 commits

    A small, fast task app around the timebox method: brain dump, pick a top three, then drop tasks onto an hourly timeline.

    Cloudflare Workers, Hono, D1, Next.js

  • Shader and motion studies Experiments Web and play 2025 to 2026 8 commits

    The work with no defensible return: WebGL point clouds, deck.gl particle fields, path-drawn logo reveals, a 3D book you can page through.

    three.js, GLSL, deck.gl, React Three Fiber

How I work

  • Boring where it is load-bearing

    Novelty budget is finite. Spend it on the surface the user touches, never on the thing that holds the money.

  • Design the seam first

    Integrations do not fail in the middle, they fail at the boundary. Write the contract and its failure modes before the feature.

  • Latency is a feature

    Measure from the far edge of the network, on the cheapest device you can find. Everything else is a benchmark you wrote to win.

  • Legible beats clever

    The next person to read this is you, eighteen months from now, at two in the morning, during an incident.

  • Accessibility is architecture

    Semantics, focus order and reduced motion are structural decisions. Retrofitting them costs an order of magnitude more.

Send a message

Have a system that has to hold, or an interface that should feel like nothing else? Write to me with what it needs to do and where it hurts today.