# Repository Briefing: JerryZLiu/Dayflow
> Source: https://repoforai.com/repo/JerryZLiu/Dayflow (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/JerryZLiu/Dayflow
- **Official Docs / Website**: https://www.dayflow.so/
- **Category**: Chat UI & AI Apps (聊天界面与 AI 应用)
- **Primary Language**: Swift
- **License**: MIT
- **Engineering Health**: A+ (92/100 · Maintenance 35/35 · Adoption 17/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v2.9.9 (2026-12-01) — https://github.com/JerryZLiu/Dayflow/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: Local AI
- **Momentum**: 7,543 ★ total (+9 24h / +42 7d) · 478 forks
- **Topics**: `ai`, `chatgpt`, `claude`, `gemini`, `llm`, `lmstudio`, `local-first`, `macos`, `ollama`, `productivity`, `productivity-tools`, `screen-recording`
- **When to Use**: Best for: Mac users who need to reconstruct their day, prepare standups, or review focus patterns without manually timing tasks, and can permit screen capture. Skip if: Your policy prohibits recording screen contents, you need a cross-platform tracker, or your workflow requires audited, billing-grade time entries.

## Overview
```text
### Architecture & Core Mechanics
Dayflow is a Swift macOS desktop application built around a capture-to-journal pipeline. It captures screen activity in chunks, passes activity data to the selected AI backend for interpretation, and turns the results into chronological activity cards. The timeline then supplies context for journal chat and the data for standup and weekly reviews; chat is a way to query the journal, not the core capture mechanism.

Recordings, timeline data, and the application database are stored under ~/Library/Application Support/Dayflow/ by default. The inference boundary depends on the provider: Ollama and LM Studio keep analysis on the Mac, whereas cloud analysis sends the activity data it needs to the selected provider. A local CLI invocation is not the same as local inference. The source tree includes DayflowTests/ and plugins/, but those directory names alone do not establish a public plugin interface, a database engine, or a capture API.

### Key Capabilities & Differentiators
Dayflow uses screen context to distinguish activities that would look identical to an app-usage tracker, such as writing a feature and reviewing a pull request in the same editor. The standup view organizes recent highlights, current priorities, and blockers. Weekly review aggregates focus patterns, activity categories, app usage, and interaction graphs, while distraction tracking puts inferred distraction periods alongside focused work.

You can ask natural-language questions grounded in the timeline and export any date range as Markdown, a practical handoff to notes or status reports. Inference options include Ollama and LM Studio for local models, Gemini with a user-supplied API key, and ChatGPT or Claude through Codex CLI or Claude Code. Configurable storage limits support automatic cleanup of older recordings; that cleanup should not be treated as a guarantee that derived timeline data or provider-side copies are also removed.

### Trade-offs & Limitations
Compared with an app-usage tracker, Dayflow can explain more about what happened within an app, but it needs access to screen contents rather than just app identity and duration. Compared with a manual timer, it removes the need to start and stop sessions, but task labels and summaries are AI interpretations. Review consequential entries before using them in client reports or billing; the timeline is better suited to reconstructing work than to serving as an authoritative timesheet.

Local inference avoids sending activity data to a cloud AI provider for analysis, but puts model memory and compute demands on the same Mac you work on. Cloud-backed inference can offload model compute while adding network dependency, potential provider costs, and a disclosure boundary for screen-derived data. Storage limits help with disk usage, but neither local storage nor cleanup substitutes for a recording policy when client data, credentials, or private messages can appear on screen.

### Hardware & Deployment Guide
Dayflow requires macOS 14 or later and macOS Screen & System Audio Recording permission. Install with `brew install --cask dayflow`, or download `Dayflow.dmg` from GitHub Releases and drag the app into Applications. To build from source, open `Dayflow/Dayflow.xcodeproj` in Xcode, select the Dayflow scheme, and run it.

For on-device analysis, prepare a local model in Ollama or LM Studio. For cloud-backed analysis, configure a Gemini API key or the applicable CLI. Size the machine by testing the chosen local model alongside a normal workload and checking recording growth under the intended retention policy; no fixed hardware minimum or throughput target is specified. The listed releases progress from v2.9.6 to v2.9.9 between November 22 and December 1, 2026. Without release notes, that sequence does not establish any specific feature or compatibility change.
```

## Key Capabilities
```text
- Capture pipeline: Screen activity is captured in chunks and interpreted as chronological activity cards rather than reduced to app titles.
- Inference options: Ollama and LM Studio keep analysis on the Mac; Gemini uses an API key, while ChatGPT and Claude are accessed through Codex CLI and Claude Code.
- Data boundary: Recordings, timeline data, and the database live under ~/Library/Application Support/Dayflow/ by default; cloud analysis sends the activity data it needs to the selected provider.
- Review workflow: Standup views surface highlights, priorities, and blockers; weekly views aggregate focus patterns, app usage, and distractions.
- Journal access: Ask questions grounded in the timeline or export a selected date range as Markdown.
- Recording lifecycle: Configurable storage limits let Dayflow automatically purge older recordings.
```

## Quick Start / Clone
```bash
brew install --cask dayflow
```
