Selected works

Home System

Your own inflation rate, from your own receipts. A published figure averages a basket somebody else chose. This works out what your basket did: weighted by what you actually spend, carried forward through the months you did not buy something, and traceable line by line to the bills behind it.

Inventory, bills, subscriptions, and the shared calendar feed that number or live off it. Air conditioning, hot water, and pumps, through an edge controller on your own network, plus chat over the same data, are there so one machine in the house can run the lot.

Screenshots

Overview screen with stock counters, a buy-next list, and categories
Overview: stock counters, the buy-next list, and categories
Analytics screen with a spend-weighted basket index, inflation, and a category breakdown
Analytics: basket index, spend-weighted inflation, and category breakdown
Family calendar with events and RSVPs
Family calendar with events and RSVPs
Inventory tabs and a buy-next checklist
Inventory tabs and the buy-next checklist
Bill entry form and recent purchases
Bill entry and recent purchases

Demo data. Run pnpm seed after setup to load the same sample household.

What it covers

Overview and Analytics sit at the top, because the inflation rate is the point. Groceries feed that number. Smart home and chat come after, as extensions.

01

Overview

Today’s plans, what is coming up, stock counters, and a Buy next list when an item is at or below its minimum.

02

Analytics

The household’s own price index and inflation rate, spend over time with a projection, where the money goes, and the biggest price moves. Every figure comes from bills entered here.

03

Inventory

A tab per category, tags, and the purchase history for each item.

04

Bills

Each line is priced per kg, litre, or piece and compared with what that item used to cost.

05

Subscriptions

What renews, the monthly and yearly cost, and who holds or shares each one.

06

Calendar

Shared events with the activity, venue, RSVPs, booking, and comments.

07

Smart home

Air conditioning, hot water, pumps, and sensors through an edge controller on your own network. The app never talks to a device directly.

08

Activity

Household activity in one place, plus the checks the app can make about the machine it runs on.

09

MCP

Household data as MCP tools, plus chat through Ollama, NVIDIA NIM, or OpenRouter.

10

Settings

Profile, family, region, database, inference engine, and theme.

What the numbers look like

The comparison the app exists to draw: a published basket against the one in your receipts. The chart is an illustration of that gap. The cards are how a figure is worked out, and the last card is the demo seed.

Illustration

Same months. Two baskets.

Sample extract.

Someone else’s basket against your receiptsBoth indexes start at 100 in April. By November, someone else’s basket is 104.0 and your receipts are 106.8.100102104106108AprMayJunJulAugSepOctNov

Nov

Someone else’s basket

104.0+4.0%

Your receipts

106.8+6.8%

Your receipts sit 2.8 points above the published basket.

Both lines start at 100. The gold line is a basket somebody else chose, climbing steadily. The teal line follows what this house buys, so a jump in staples shows up here and barely there. Planning a year of supplies off the published figure would miss that gap.

Same item, two sizes

₹120/kg vs ₹110/kg

500 g for ₹60 is ₹120 per kg. 1 kg for ₹110 is ₹110 per kg, so the heavier bag is the cheaper buy. Mass reduces to kilograms, volume to litres, and a countable to pieces. Pack, bottle, or strip stays its own base, so a price per bottle is never compared with a price per kilogram.

One item’s move

₹77 → ₹99 is +28.6%

Per item, inflation is the first recorded price to the latest. A jar that goes from ₹77 to ₹99 has moved 28.6%. That figure is annualised only when the two prices are at least 30 days apart.

What moved the bill

8% on rice beats 40% on cardamom

A plain average treats every item the same. The spend-weighted rate does not: forty percent on cardamom moves the household bill less than eight percent on rice, because rice is more of the spend.

The basket index

First month = 100

An item joins in the month of its first price. That price is carried forward through months it was not bought, so the index tracks what things cost rather than which week you happened to shop.

Demo seed

Index 103.4 · +3.3%

pnpm seed writes invented bills. On that sample, Analytics drew a basket index of 103.4 and +3.3% spend-weighted inflation across 22 items bought more than once. Those figures are demo data, not a real household.

How it is built

Next.js 16 serves the pages. Express is the data API. DB_SELECT in .env chooses SQLite, MongoDB, or Postgres. SQLite uses Node’s built-in node:sqlite and one file, data/homesystem.db by default, so nothing else has to be running. Postgres can be a Supabase-compatible database through DATABASE_URL. Switching databases does not copy data across.

The browser talks only to Next.js on port 3000. Next rewrites /api to Express on port 4000, and Express is the only process that talks to the database. With SQLite, that file is the household. Copy it and you have a backup.

Architecture, the API, and the pricing maths are written up in the project docs.

Run it locally

The short path is SQLite: one file, no database service. Use mise, or install Node 24 and pnpm 12 yourself. MongoDB or Postgres are optional.

  1. Copy .env.example to .env.
  2. Set DB_SELECT to sqlite, mongodb, or supabase and fill in the matching connection settings. SQLite needs none.
  3. Install, check, seed, and start the app. pnpm edge runs a simulated controller for the smart home page.
mise run setup      # toolchain + dependencies, creates .env if missing
mise run doctor     # check Node, pnpm, packages, the selected database, ports
mise run migrate    # Postgres schema, or Mongo indexes
mise run seed       # inventory, demo bills, subscriptions and calendar
mise run develop    # pages on :3000, data API on :4000

Without mise:

pnpm install
pnpm run doctor    # this project's checks, not pnpm's built-in doctor
pnpm migrate
pnpm seed
pnpm dev
pnpm check

The app needs a reachable database. Until you seed, an empty database shows an empty UI.

License

Source-available under the Functional Source License 1.1 (FSL-1.1-ALv2, Fair Source). FSL is not OSI open source. Use source-available or Fair Source when that distinction matters.

Self-host for personal or internal use
Allowed, free
Commercial hosting or a competing product
Commercial terms
Each release, after two years
Becomes Apache 2.0

Contributions are welcome. The repo includes a contributing guide, a code of conduct, and a security policy.