Urgent.News

What's breaking now, across thousands of outlets.

Tech

Daylight Left: an offline sunset clock that tells you where to go before dark

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass What I Built Every October the same thing happens: you look up from the screen and the light is already gone. In Dubuque, Iowa, the days are getting almost three minutes shorter every day right now, and "I'll go for a walk later" quietly turns into "tomorrow." Daylight Left is a small command-line tool that…

Every October, the days in Dubuque, Iowa grow shorter by nearly three minutes. Daylight Left is a command-line tool designed to help users determine how much daylight remains and which of their favorite locations they can still visit before it gets too dark. Users input a plain-text list of preferred outdoor spots, including their distance and desired duration.

The tool calculates today's sunset time, adds a 15-minute buffer, and recommends the nearest spot that still allows enough time to enjoy before darkness falls. A small, locally-run AI model provides encouragement in a friendly format. After a simple check to ensure the AI's suggestions align with the real time, the user closes their laptop and heads outside.

The tool operates offline, requiring no internet connection after the initial model download. It is built using only standard libraries and the locally-run Gemma 3 1B model, with no additional dependencies. The tool is MIT-licensed and hosted on Hugging Face.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Hacktoberfest Submission

What I Built CSEHub is a computer-science learning platform: a library of written articles with embedded code snippets, and a per-article AI assistant you can ask questions while reading.

  • CSEHub is a computer-science learning platform
  • Offers library of educational articles with code snippets
  • Uses Django, DRF, PostgreSQL, Pinecone, Gemini models

Is generative AI killing or saving Raku?

Since my ban from the official Raku places , I don't have as many news about the project as I used to - which is a shame because apparently the last couple of months have been more exciting and…

  • Two new Raku runtimes, Raku++ and Mutsu, emerged recently.
  • AI-generated code contributed by senior Raku community members.
  • Timo Paulsen left MoarVM due to disagreements over AI-generated code.

More from Monday 5 October →