Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Light don go: when Nigeria's power cuts out, my laptop sends me outside

说明与用途

Light don go 在尼日利亚停电时自动提示用户,提供60秒行动计划以减少停机时间。

问题

Power cuts in Nigeria cause laptops to switch to battery, interrupting work and requiring manual intervention to start a generator.

结果

The tool runs offline, uses no internet, and reduces idle time during power cuts by prompting users to act within 60 seconds.

工作流

  • Detect battery state via psutil every 5s
  • If battery >30s, open full‑screen page
  • Show 60‑second stretch timer and activity plan
  • Provide button to dismiss
  • After timer, show completion message
  • Log event and update local weather data
  • Keep Gemma model loaded with keep_alive:-1

证据

When NEPA goes, the router goes with it. So while power is on, the tool saves the hourly Open‑Meteo forecast every 30 minutes.

来源

The page works with no internet, because the router is already off: it uses no web fonts and loads nothing from a CDN.

来源

I split the job: code writes the facts line, Gemma writes only the nudge.

来源

  • 记录日期: 2026-10-21T08:41:20.128Z