← do.stuff documentation

Chrono guide

A screen-time app for macOS that works alongside do.stuff: it records where your time on the computer goes, lets you organize it, and can block, warn, or allow things by rules you write. Everything runs on your own Mac.

macOS only for now. Chrono watches the Mac's frontmost app, browser tab, and open document, which needs macOS-specific system access. On Windows and Linux the do.stuff button for it stays hidden; the rest of do.stuff works normally.

Six building blocks

Chrono has no fixed list of "features". Instead it has six small pieces that combine. A block list, a bedtime, a daily limit, and an automatic sorter are all just different combinations of the same pieces, so once you know the six you can build almost anything.

  1. Paths — a name for what you are doing at a given moment. Each moment can carry up to three: the app (for example Safari), the website (for example youtube.com/watch, keeping at most the first two parts of the address and ignoring everything after ?), and the document file open in the front window. Paths nest: youtube.com covers every page and subdomain of YouTube, while youtube.com/shorts covers only the Shorts pages. A folder on disk such as ~/Games covers every file inside it. When two paths both match, the more specific one counts: a website or file beats a whole app, and a longer path beats a shorter one.
  2. Folders — your own organization. Folders can sit inside folders. Each path is filed into exactly one folder, and a folder includes everything inside its subfolders. Time you spend is credited to the most specific filed path that matches; anything not filed yet is "unfiled".
  3. Rules — "for this, when these conditions hold, do that". The this is folders and/or paths. The conditions are any mix of: a time window on chosen weekdays (it may run past midnight), time already used today or this week, today's do.stuff tasks being below a completion percentage, and the do.stuff focus timer running. Any condition can be flipped to mean its opposite ("not during focus"). The that is block, warn (one notification each time you enter it), or allow. When several rules match, the most specific match wins; on a tie, block beats warn and warn beats allow.
  4. Passes — a short, temporary permission for one path, granted when an appeal succeeds. A pass beats every rule until it runs out.
  5. Lock — a one-way ratchet over your settings. Making things stricter is always allowed. Making things looser needs the passcode (if you set one) and needs the lock time to have passed (if you set one). The two parts work alone or together; the lock time can be at most 72 hours ahead.
  6. Judges — two optional helpers. Jev makes small, typed yes/no or pick-one decisions: which folder a never-seen site or app belongs in, whether to grant an appeal, and afterwards whether a pass was used honestly. The assistant is a fast chat model that turns plain sentences ("block Reddit after 10pm on weeknights") into the same changes you could make by hand.

Every change to your setup, whether from you, the assistant, or Jev, goes through the same small set of operations and the same lock check. That is why none of them can bypass the others: the assistant cannot loosen a locked rule any more than you can.

Familiar features, built from the blocks

Why lying to an appeal does not pay

When a pass ends, Chrono reviews it: how long you actually used it and up to 30 window titles and addresses seen under it. Jev then judges whether that activity matched the reason you gave, scoring it from 0 (did not match) to 1 (matched). Your credibility is the average of your last ten reviewed passes, starting at full when there are none. Every future appeal shows Jev both your credibility and your recent claims next to what you actually did, so "I need this for research" followed by twenty minutes of unrelated videos makes the next appeal harder to win. Being honest is the cheapest way to keep getting passes.

The four rooms

Chrono is one narrow window with four rooms. Only one shows at a time, and the room links stay visible at the top, so you can always see where you are and jump elsewhere with a single key.

The header also has a do.stuff ↗ button (⌘⇧O) that brings your tasks forward, and three small indicators. Clicking any of them opens Guard at the matching section.

Ask ai

Ask ai (1, or / from any room) is where Chrono opens and where everything can happen. Say what you want in plain words, such as "limit YouTube to 30 minutes a day", "block everything after 11pm on school nights", "I need YouTube for 15 minutes to watch a lecture for class", or "what took most of my time this week?", and it does it right away: rules, folders, settings, the lock, asking Jev for time with your reason, opening do.stuff. Each change is listed under its reply with whether it went through; say "undo that" to reverse it. Loosening anything while locked still needs the passcode (Chrono asks) or waits for the lock to end. Keys and the passcode are typed in Guard, not in the conversation. C clears the conversation.

The lock

The lock is meant for the version of you that will want an exception later. Stricter changes always go through: adding a folder, filing a new path, adding a blocking rule, turning a rule on, raising how sure Jev must be, turning recording on, adding a passcode where there was none, or pushing the lock time further out. Looser changes need unlocking: deleting or turning off rules, moving or deleting folders, refiling or unfiling paths, adding allow rules, lowering Jev's bar, turning recording off, and removing or changing the passcode or shortening the lock time. Jev may correct its own automatic filings while locked, because those were never yours to protect.

Chrono keeps running in the background: closing its window only hides it, and the clock icon in the menu bar or the Dock icon brings it back. It starts hidden at login unless you turn that off in Guard (G). While locked, quitting Chrono only hides it, so enforcement keeps running.

API keys

Jev and the assistant are optional. Each needs its own key, entered in Guard and stored in the macOS Keychain (the system's password store), not in Chrono's files. Each has a test button that sends one tiny request and updates its dot in the header. Without a Jev key, sorting, appeals, and pass reviews are unavailable; rules, folders, blocking, and the lock still work. The assistant uses an OpenAI-style chat service; by default OpenRouter with a small fast model, and both can be changed.

macOS permissions

Blocking a website replaces the tab with a blank page; blocking an app hides it. Then the block window appears, at most once every 20 seconds for the same thing while the block holds.

Your data and privacy

Everything Chrono records stays on your Mac, in ~/Library/Application Support/com.sohan.chrono/: your setup (config.json), every app, site, and file it has ever seen (known.json), one usage file per day in usage/, and your pass history (passes.json). There is no account and no sync. Idle time (no keyboard or mouse for your chosen number of minutes) is never recorded. Window and tab titles are saved only while titles are set to "recorded" in Guard.

Only two things ever leave the machine, and only when you have entered a key and turned them on:

Delete the folder above to erase all Chrono history; remove the keys in Guard to delete them from the Keychain.

Keyboard

Every action also has a button, and each button shows its key. Keys below work outside text fields. They follow the current design and may change; the in-app guide (?) is always the authority. In the new-rule sheet, Enter moves to the next question and Esc cancels.

⌘⇧OOpen Chrono from do.stuff, or open do.stuff from Chrono.
1 2 3 4 5Go to Ask ai, Today, Paths, Rules, Guard.
D / WToday: show one day / one week.
← / →Today: previous / next day or week. Arrow keys also move the selection in lists.
Enter / EscToday: look inside the selected folder / go back up. In sheets and ask ai: confirm / cancel.
BQuick block: type a site, app, or file location to put it in Blocked.
FPaths: file the selected path into a folder.
NPaths: new folder. Rules: new rule.
EPaths: rename the folder. Rules: edit the rule.
MPaths: move the folder under another one.
DelPaths: delete the folder (its paths become unfiled, subfolders move up). Rules: delete the rule.
APaths: add a path by hand. Block window: appeal.
ShiftPaths: hold to select several items.
SpaceRules: turn the selected rule on or off.
/Ask the assistant (when it is on).
?Show or hide the in-app guide.