{"by":"jerryliu12","descendants":130,"id":45361268,"kids":[45368576,45368495,45370471,45369222,45375360,45370602,45371517,45363218,45368719,45369683,45370659,45371787,45368816,45370890,45427101,45361539,45371408,45369106,45370132,45370577,45368914,45368869,45376820,45369933,45370141,45389753,45371242,45384921,45369627,45376392,45376523,45369045,45369745,45369433,45374505,45370215,45372905,45372262,45369376,45377010,45387031,45372143,45372275,45370036,45372366,45366483,45361849,45376313,45368219,45369775,45370275,45372129,45370024,45370239,45370775,45372541,45374447,45371497,45374333,45376031,45383395],"score":480,"text":"Hi HN! I&#x27;ve been building Dayflow, a macOS app that automatically tracks what you&#x27;re actually working on (not just which apps you have open).<p>Here&#x27;s what it does:<p>- It creates a semantic timeline of your day;<p>- It does it by understanding the content on your screen (with local or cloud VLMs);<p>- This allows you to see exactly where your time went without any manual logging.<p>Traditional time trackers tell you &quot;3 hours in Chrome&quot; which is not very helpful. Dayflow actually understands if you&#x27;re reading documentation, debugging code, or scrolling HN. Instead of &quot;Chrome: 3 hours&quot;, you get &quot;Reviewed PR comments: 45min&quot;, &quot;Read HN thread about Rust: 20min&quot;, &quot;Debugged auth flow: 1.5hr&quot;.<p>I was an early Rewind user but rarely used the retrieval feature. I built Dayflow because I saw other interesting uses for screen data. I find that it helps me stay on track while working - I check it every few hours and make sure I’m spending my time the way I intended - if I’m not, I try to course correct.<p>Here’s what you need to know about privacy:<p>- Run 100% locally using qwen2.5-vl-3b (~4GB model)<p>- No cloud uploads, no account<p>- Full source available under MIT license (<a href=\"https:&#x2F;&#x2F;github.com&#x2F;JerryZLiu&#x2F;Dayflow\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;JerryZLiu&#x2F;Dayflow</a>)<p>- Optional: BYO Gemini API key for better quality (stored in Keychain, with free-tier workaround to prevent training on your data)<p>The tech stack is pretty simple, SwiftUI with a local sqlite DB. Uses native macOS apis for efficient screen captures. Since most people who run LLMs locally already have their tool of choice (Ollama, LLMStudio, etc.), I decided to not embed an LLM into Dayflow.<p>By far the biggest challenge was adapting from SOTA vision models like Gemini 2.5 Pro to small, local models. My constraints were that it had to take up &lt;4GB of ram and have vision capabilities. I had to do a lot of evals to figure out that Qwen2.5VL-3B was the best balance of size and quality, but there was still a sizable tradeoff in quality that I had to accept. I also got creative with sampling rates and prompt chunking to deal with the 100x smaller context window. Processing a 15 minute segment takes ~32 local LLM calls vs 2 Gemini calls!<p>Here’s what I’m working on next:<p>Distillation: Using Gemini&#x27;s high-quality outputs as training data to teach a local model the patterns it needs, hopefully closing the quality gap.<p>Custom dashboards where you can track answers to any question like &quot;How long did I spend on HN?&quot; or &quot;Hours until my first deep work session of the day<p>I&#x27;d love to hear your thoughts, especially if you&#x27;ve struggled with productivity tracking or have ideas for what you&#x27;d want from a tool like this.","time":1758725637,"title":"Show HN: Dayflow – A git log for your day","type":"story","url":"https://github.com/JerryZLiu/Dayflow"}