← All work

KhamarTools

A free set of poultry-farming calculators and guides for small farms in Bangladesh — bilingual, installable, and fully usable with no internet signal in the shed.

Live 2026 Solo — product, design, build, SEO Open the site ↗

The problem

Small poultry farmers make expensive decisions by guesswork. Eggs go into an incubator with no written hatch schedule, so candling and lockdown days get missed. Feed is bought by the sack with no idea whether the birds are converting it efficiently. Chicks are bought without anyone working out the sale price the batch needs to hit just to break even.

Each of those is a two-minute calculation — if you have the formula, the local benchmark numbers, and a phone that works where you're standing. The site answers three questions: when will my eggs hatch, is my feed being wasted, will this batch make money.

Built for its actual audience

This is not a generic calculator with a translation bolted on. It is aimed at Bangladeshi smallholders, and that shaped every decision:

What I built

8
species supported
3
calculators
2
languages
0
build steps

The detail I'd point at in a code review

The service worker refuses to cache a page response unless it is both res.ok and not a redirect. That one condition prevents a transient 404 or 500 — the kind you get when a mobile connection drops mid-request — from overwriting a good cached page and leaving the installed app permanently broken offline.

For an audience on patchy rural connections, that failure mode is not hypothetical: the whole value proposition is "it still works when the signal doesn't," and one poisoned cache entry would quietly destroy it. Navigations are network-first so content stays fresh, assets are stale-while-revalidate so they're instant, and non-GET or cross-origin requests bypass the worker entirely.

Deliberately boring technology

Eleven hand-written HTML pages, one 194-line stylesheet, and vanilla JavaScript. No framework, no bundler, no package.json, no build step. The result loads fast on a cheap phone, can be edited a year from now without reinstalling a toolchain, and deploys by copying files to the server. Every page carries its own title, description, canonical URL and Open Graph tags, and the two incubation calculators cross-reference each other with hreflang so Google serves the right language.

Stack

HTML5 Vanilla JavaScript CSS custom properties Service Worker API Web App Manifest iCalendar (.ics) generation Inline SVG illustration i18n — English / Bengali Technical SEO Caddy

Status & what's next

Live at farm.skarrnd.top and serving over HTTP/3. The affiliate layer is fully built — a single product registry rewrites every gear link with proper nofollow sponsored attributes, an indicative price range and a visible disclosure — but it is deliberately switched off until the partner accounts are approved, so no link currently earns anything.

Next on the list: structured data for the FAQ and how-to sections, more Bengali pages, and growing the guide library.