Light don go: when Nigeria's power cuts out, my laptop sends me outside
Описание и применение
Инструмент «Light don go» помогает пользователям ноутбуков в регионах с частыми отключениями электроэнергии оставаться продуктивными и безопасными, показывая офлайн‑страницу с планом растяжки и напоминанием выйти на улицу.
Задача
Laptop users in regions with frequent power cuts need a way to stay productive and safe during outages without relying on internet or external APIs.
Результат
The tool runs offline, uses local resources, and keeps users productive during outages, with a 60‑second stretch plan and safe outdoor activity nudge.
Рабочий процесс
- Detect battery drop >30s via psutil
- Load pre‑saved weather data from Open‑Meteo
- Compute sunset via NOAA formula
- Generate nudge text with Gemma 4 E2B (local Ollama)
- Show full‑screen page with timer and nudge
- Close page after user acknowledges or timer ends
Доказательства
The page works with no internet, because the router is already off: it uses no web fonts and loads nothing from a CDN.
The model is a 4.3 GB download. My laptop is an i5-1135G7 with no NVIDIA GPU. Measured: 14 s cold, 3.6 to 4.0 s warm, about 15 to 20 tokens per second.
The guard checks numbers and topic, not sense. In one test run Gemma wrote "watch the rain inside the phone", and it passed.
- Дата записи: 2026-10-15T11:56:06.022Z