An open-source utility used by thousands

A slab-accurate electricity-bill calculator for Bangladesh, with the core algorithm published as an open-source library.

Role
Creator & Developer
Year
2022
Hosting
Static/edge hosting, with the algorithm published on npm
E-Bill screenshot 1 of 3
E-Bill screenshot 2 of 3
E-Bill screenshot 3 of 3
1 / 3
Slab-accurate tariffs
BERC
Open-source library
npm
Localised for its users
i18n

The story

Households in Bangladesh had no simple, trustworthy way to understand and check their electricity bills. E-Bill calculates monthly bills with slab-aware accuracy across all distribution companies and consumer categories.

The core calculation logic is open-sourced as an npm library, so other developers can build on it, and the whole project is public on GitHub.

What the build involved

  1. 1

    Built a focused, accessible calculator with a clean UI and full localisation.

  2. 2

    Extracted the slab-based calculation logic into a reusable open-source npm library.

  3. 3

    Open-sourced the full project on GitHub for the community.

Hard parts, and how I solved them

The problem

Electricity tariffs are slab-based and vary by company and category.

What I did

A tested calculation engine that models BERC slabs precisely, packaged so it can be reused and verified.

The problem

The audience is non-technical and multilingual.

What I did

A simple, accessible interface with localisation, so anyone can check a bill in their own language.

Built with

  • Next.js
  • React
  • TypeScript
  • NextUI
  • i18next

This is aWeb App Developmentproject.

Next project

Artlist

Scaling a creative platform to 10M+ creators.

Artlist screenshot

Want results like these?

Tell me what you are building. I will reply with a clear scope and a fixed quote.

Prefer one fixed price for one defined build? Start a project

Parish Khan

You work with me directly, on a monthly plan or a fixed-price project. No agency layer, one person accountable for the build.