See where your day actually went, without sending it anywhere.
Weft is a free, open-source time tracker that lives in your Mac's menu bar. It notices which app, window and website you're using, sorts the time into categories like Code, Meetings or Social Media, and draws your day as a few parallel streams of work.
Weft takes after Rize but works from a different idea: people rarely do one thing at a time. You write code, check a doc, answer a message and go back to the code. So instead of a log of app switches, Weft shows the threads of work you kept coming back to.
- Native and small. Weft is built with SwiftUI, so it looks and feels like the rest of macOS. The whole app is under 10 MB, with no Electron and no bundled browser.
- Easy on your battery. A native app already uses far less power than an Electron one. Weft is also event-driven instead of constantly polling your windows, so it stays idle until something actually changes.
- Your data never leaves your Mac. There's no account, no server and no analytics. Categories, summaries and reviews come from Apple's on-device model by default, and your history stays in a folder on your Mac (see Privacy).
- Open source and free. Weft is MIT-licensed, with no subscription and no paid tier. You can read the code, change it and build it yourself.
- A timeline of your day. Your work forms parallel streams by category, each with a one-line summary of what you did.
- Tracking you don't think about. Weft follows app, window and tab changes, and stops counting when you step away, close the lid or lock the screen.
- Categories that sort themselves. A few hundred apps and sites are built in; new ones are categorized by Apple Intelligence or a model you choose, and you can correct any of them.
- A Focus Score. A daily 0–100 score for deep work and distractions. Click it to see how it's calculated.
- Your coding agents, too. Claude Code, Codex and pi sessions appear on the timeline, and time spent waiting on them counts towards your day. With HAPI 0.33 or later, Weft uses your hub’s history first, including agents on other machines; local logs fill in only sessions HAPI has not recorded.
- Focus, meeting and break sessions from the menu bar, with an optional blocker that nudges you back when you drift to something distracting.
- Healthy hours. Break reminders, and a daily target that tells you when you've done enough.
- Daily and weekly reviews, with a suggestion for tomorrow and a comparison with last week.
- English and Simplified Chinese. Weft follows your system language, or pick one in Settings → General.
- What Weft records: the app in front, its window title and, in supported browsers, the address of the current tab.
- What it never records: screenshots, keystrokes or the contents of your screen.
- Coding agents: Weft reads the logs Claude Code, Codex and pi keep on your Mac and keeps only each session's title, project folder and working times, never prompts or replies. With HAPI, it asks your own hub when your agents worked and skips the local logs of sessions the hub has recorded. Each session uses one source, never a mixture; saved HAPI history remains authoritative while offline.
- Where it goes: nowhere. Categories, summaries and reviews are all produced on your Mac. Your data lives in
~/Library/Application Support/Weft/. The one exception is a remote model you set up yourself in Settings → Model: it receives the apps and sites Weft doesn't know with their window titles, the apps, sites and window titles behind each work stream, and your daily totals. A local server such as Ollama or LM Studio keeps even that on your Mac. - What you control: In Settings → Tracking, you can stop recording window titles, keep only the domain of URLs, and exclude specific apps and websites completely. Pause tracking any time from the menu bar or Settings.
- Your data is yours: You can export everything to CSV from Settings → Data. To erase your history, quit Weft and delete the folder above.
You'll need macOS 26 or later. Apple Intelligence is optional but recommended (it isn't offered in every region). Without it, Weft still categorizes the apps and sites it already knows and anything you've set yourself, and makes a rough guess for the rest from each app's App Store category or each site's name. Those guesses wait on the Review page for you to confirm or fix. You can also connect any OpenAI-compatible API (OpenAI, OpenRouter, DeepSeek, a local Ollama…) in Settings → Model.
- Download the latest
Weft-<version>.dmgfrom Releases. - Open it and drag Weft into Applications.
- Open Weft from Applications. It's signed and notarized by Apple, so macOS opens it without warnings.
Weft appears in the menu bar. On first launch, it asks for Accessibility access. The other permissions come up the first time Weft needs them:
| Permission | What it's for |
|---|---|
| Accessibility | Reading window titles, so the timeline shows which document or project you were working in, not just the app |
| Automation (asked once per browser) | Reading the current tab's address in Safari, Chrome, Arc, Edge, Brave, Vivaldi, Opera, Dia and Comet. Other browsers are tracked by app and window title only |
| Notifications | Break reminders, work-hours alerts, session endings and the blocker's notification mode. If they're off, Settings → General shows it |
To start Weft automatically, turn on Launch Weft at login in Settings → General. To update, download the new DMG and replace the app. Your history and permissions carry over.
Install Xcode and Homebrew, then run:
brew install xcodegen
git clone https://github.com/tiann/weft.git
cd weft
xcodegen generate
xcodebuild -project Weft.xcodeproj -scheme Weft -derivedDataPath build/DerivedData build
open build/DerivedData/Build/Products/Debug/Weft.appYour own builds aren't signed with a developer certificate, so macOS treats each one as a new app and drops its Accessibility permission. Grant it again in System Settings → Privacy & Security → Accessibility. Alternatively, sign with your own identity: copy Config/Local.xcconfig.example to Config/Local.xcconfig and fill it in.
Control Weft from Raycast, Alfred, Shortcuts or a script by opening these links:
| Link | Does |
|---|---|
weft://focus?minutes=50 |
Start a focus session (leave out minutes to use your default) |
weft://meeting, weft://break |
Start a meeting or a break; both also accept minutes |
weft://stop |
End the current session |
weft://pause, weft://resume |
Pause or resume tracking |
weft://dashboard |
Open today in the main window |
For example, open "weft://focus?minutes=25" in Terminal.
Lots of entries are "Uncategorized" or marked with a question mark. No model is available, so those entries are waiting or only guessed. Apple Intelligence is probably off or still downloading: turn it on in System Settings, or set up another model in Settings → Model. Then open Review and click Retry. You can also categorize entries yourself from the log.
Agents from HAPI don't show up. Update HAPI to 0.33 or later, on this Mac and on your hub. If hapi --version still shows the old version, reinstall it: bun remove -g @twsxtd/hapi && bun add -g @twsxtd/hapi.
Time I spent reading is missing. Weft treats you as away after 5 minutes without keyboard or mouse input. If you often read or think for longer stretches, raise the threshold in Settings → Tracking.
Bug reports and pull requests are welcome. AGENTS.md covers the architecture, build commands and how to run the tests.