Skip to content

wr0te 0.2.0

Latest

Choose a tag to compare

@cmod cmod released this 08 Nov 06:49
· 1 commit to main since this release

A settings window, more than one folder, more accurate counting, and almost no CPU when you're not writing.

Settings and folders

  • Settings… (⌘,) in the menu bar: folders to watch, don't-count folders, daily goal, when the day starts, whether to show streaks, and how much space your history takes
  • Watch several folders. Each can have a short name it shows up under in reports
  • Don't count folders for notes and backups (misc, *backup*, or a specific folder): still tracked, so text moved out of them is recognized, but not counted
  • Org files are tracked too (#1)
  • Streak and days-written counts can be turned off everywhere

Menu bar

  • Today's goal as 100 boxes that fill in as you write
  • Update Now (⌘U) and About wr0te
  • Updates the moment a scan finishes, instead of on a timer

Counting

  • Text copied from a file you'd revised a few words at a time is now recognized as moved. Before, much of it counted as written or pasted
  • A change seen before its saved copy has synced no longer counts as written (a pasted chapter could look like a day's typing until the next edit)

CPU

  • The launcher asks macOS's journal of file changes (FSEvents) whether any text file changed and only starts Python if one did. A one-character edit counts. Most 5-minute checks now take about 10 ms

Upgrading from 0.1.0

cd wr0te && git fetch --tags && git checkout v0.2.0
python3 wr0te.py install
open ~/Applications/wr0te.app    # the launcher was rebuilt: click Allow if macOS asks

Your history and settings carry over (root and also_watch in older settings still work). The first report rebuilds wr0te's index of past text, so earlier days may come out slightly lower where text had been copied rather than written.