Inspiration
In many Nigerian homes, the generator is the real power grid. Fuel is bought in small amounts, a few litres at a time, so the true monthly cost stays hidden. A family can spend close to NGN 100,000 a month on fuel without ever seeing that number in one place. GenShift NG makes that cost visible, then turns it into a plan.
What it does
GenShift NG is a web app for Nigerian homes that run generators. You log three numbers each day: generator hours, fuel litres, and NEPA hours. The dashboard shows your total fuel, your true fuel cost in naira, your carbon emissions, and your average generator hours per day. The shift planner answers the key question: what if you run the generator less? Move a slider to cut generator hours per day, and GenShift shows the fuel, money and CO2 you save each month, plus how many months a typical inverter or solar kit takes to pay for itself at that saving. The appliance load calculator helps you size a system before you buy. Set the quantity and daily hours for your bulbs, fans, TV, fridge and other appliances, and GenShift totals your daily energy in kWh, so you can pick the right battery and panels. A short habits checklist covers simple actions that cut fuel use today, like charging devices during NEPA hours and swapping bulbs for LED.
How I built it
The app is built with React, Vite and Tailwind CSS, with a dark data dashboard design. All calculations live in one tested module: fuel cost, emissions at 2.31 kg CO2 per litre of petrol, appliance energy, monthly savings and payback time. Ten unit tests cover the maths. Data is saved in local storage on the device, so the app works offline after first load and needs no sign up.
Challenges I ran into
Prices move fast. Pump price and grid tariff change by place and by band, so both are editable settings and every number recalculates at once. Kit prices also vary by installer, so the payback figures are clearly labelled as planning estimates, not quotes. I also kept the daily log to three fields, because a tool people must open every day has to be fast.
Accomplishments that I am proud of
A complete working prototype with a real example week of data, tested calculations, and a clear path from daily habit to long term change. Cutting three generator hours a day saves about 72 litres of fuel, about NGN 79,200 and about 166 kg of CO2 every month for a typical small generator.
What I learned
Sustainability tools work best when they start with money people already feel. The environmental benefit becomes clear once the naira cost is visible. I also learned to design for offline use first, since power and network are both unreliable for the target users.
What is next for GenShift NG
A weekly summary view, a shareable savings card for family groups, and a simple installer directory so users can get real quotes for the kit sizes the planner suggests.
Built With
- javascript
- localstorage
- react
- tailwind-css
- vite
- vitest
