Inspiration

A 20-liter jerrycan is still how millions of people bring drinking water home when it is not on the premises. Meanwhile a typical U.S. household day is nearly 200 gallons — easy to say, hard to feel. Acodemic × KeebsforWater asked for an original digital project tied to a UN Sustainable Development Goal. SDG 6 (Clean Water and Sanitation) is not only about infrastructure. It is also about making the gap between a tap and a can visible, using numbers that already exist in EPA, USGS, WHO, and UNICEF publications, not invented statistics.

What it does

Twenty Liters is a live, client-side water-access workbench.

  • Open one of eight one-click presets: a typical U.S. home, a family of four, a WaterSense retrofit, a campus dorm, an arid-west yard, a leaky day, or a WHO 50-liter or 20-liter quantity day.
  • Watch the day turn into a wall of 20-liter cans, kilograms of water, and walking hours on a 30-minute round trip — the WHO/UNICEF Joint Monitoring Programme threshold that separates “basic” from “limited” drinking-water service.
  • Edit the day in the water lab. Fixture rates are labeled EPA or federal-standard figures. A WHO quantity day uses a per-person liter budget. Totals update immediately.
  • In the carry lab, change the round-trip time or carry one can versus two, as a thought experiment — not a claim about any named community’s actual walk.
  • Snap the fair-share equalizer to 20, 50, or 100 liters per person and watch the wall shrink.
  • Read the 2024 JMP drinking-water ladder (published August 2025): 74% safely managed, and 2.1 billion people still without, including 106 million using surface water.
  • Copy a share link (the day lives in the URL hash). Mute or unmute subtle Web Audio cues (sound starts off). Nothing is uploaded. There is no backend and no account.

How we built it

A static HTML, CSS, and ES-module app with no framework, no build step, and no tracking. Unit, household, carry, share, and WHO/JMP engines live in public/js/core/ and are covered by npm test. GitHub Actions runs lint and unit tests, then deploys public/ to GitHub Pages. A headless Chrome suite (npm run qa:browser) walks every interactive flow, including a 390×844 mobile viewport and a zero-console-error check.

The math uses published figures only: NIST’s 1 US gallon = 3.785411784 liters; EPA WaterSense household and fixture rates; USGS 2015 domestic use; Water Research Foundation Residential End Uses of Water, Version 2 (2016); Howard & Bartram / WHO 2003 quantity bands; and WHO/UNICEF JMP 2000–2024 (August 2025) plus the JMP 2023 gender analysis.

Challenges we ran into

Translating a U.S. household day into cans without turning it into a judgment of any one home or village. The carry lab had to stay a clearly labeled thought experiment, with the 30-minute JMP threshold explained as a service-ladder definition, not a measured walk. Getting the end-use accounting honest also mattered: REU2016 indoor components sum to 137.7 gallons against a published 138, outdoor water is a share of the household total following EPA, and a WHO quantity day is a budget, not a fixture model.

Accomplishments that we're proud of

  • A working core feature a judge can try in one click, with cited math, not a mocked chart.
  • The typical U.S. home loads at 37.3 cans, 745 kg, and 18 hr 38 min of walking at the 30-minute threshold.
  • The fair-share equalizer makes a 50-liter cap concrete: an arid-west yard shrinks from 65.2 cans (32 hr 37 min) to 6.2 cans (3 hr 8 min).
  • The JMP ladder is part of the product, so the 2.1 billion and 106 million figures are something you can scroll to, not just a line in a write-up.
  • 31/31 unit tests, lint with 0 warnings, and 47/47 Chrome E2E tests with 0 console errors, including a mobile viewport with no horizontal overflow, and a fixture-slider check that the hero can count, kilograms, and walking time all update immediately.

What we learned

Volume comparisons are only honest if every input is labeled and every total can be rebuilt from the source figures. A 20-liter can is a better unit than a gallon for this gap, because it is the load a person actually carries. And a “safely managed” service is not the same thing as a chosen budget — the workbench has to keep those ideas separate.

What's next

Add a simple side-by-side comparison of two saved days, a printable one-pager, and optional country-level JMP context that stays fully client-side. Keep the carry lab a thought experiment. No accounts, no backend.

AI assistance disclosure

This project was built with assistance from AI coding tools (Cursor / Grok Bot) for scaffolding, test authoring, the demo video pipeline, and copy editing. The water, carry, and JMP models were specified and checked against published EPA WaterSense, USGS, Water Research Foundation, WHO, and WHO/UNICEF JMP figures. All calculations run locally in the browser; no household data is sent to any AI service.

Judge testing instructions

  1. Open https://mogzz2008.github.io/twentyliters/
  2. Confirm the Typical US home preset is already loaded: 37.3 jerrycans, 745 liters · 197 gallons, 745 kg, and 18 hr 38 min if carried 1 can at a time on 30-minute trips.
  3. Click Campus dorm. The wall should drop to 8.5 cans (one student, no lawn).
  4. Click 20-liter day. It should be exactly 4.0 cans for four people (20 L each).
  5. Click Arid-west yard, then in Fair-share equalizer click Snap to 50 L. The result should read that a 50 L cap would shrink this day from 65.2 cans (32 hr 37 min of walking) to 6.2 cans (3 hr 8 min).
  6. Click Family of four (45.4 cans, 909 kg, 22 hr 43 min). Open the fixture lab and drag Minutes per shower, Showerhead gallons per minute, and Toilet gallons per flush. The hero jerrycan count, kilograms, walking time, can wall, and “Where the water goes” bars should all update immediately — not just the bars.
  7. Optional: click WaterSense retrofit and confirm the can count falls (standard 45.4 → WaterSense 39.1) without changing habits. Unmute sound, copy the share link, read Sources and limits, and try the app at a phone width. Nothing is uploaded.

Built With

  • github-pagesweb-audio-api
  • htmlcss
  • javascriptun-sdg-6
Share this project:

Updates

Submission history