Repository navigation
Releases
wr0te 0.2.0
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.
wr0te 0.1.0
First public release.
wr0te watches a folder of Markdown and plain-text files on your Mac and shows how much you actually wrote: per day, per project, per file and by hour. Text you pasted in or moved from elsewhere in your writing doesn't count.
- HTML report, terminal summary (
today) anddaily.csv - Menu bar item with today's words, goal progress, streak and an Open Report button
- Daily goal notification, sent once across all your Macs
- Works across several Macs through a synced data folder (e.g. Dropbox)
- No dependencies: one Python file plus a small launcher, built with Apple's Command Line Tools
Install
git clone https://github.com/cmod/wr0te.git
cd wr0te && git checkout v0.1.0
python3 wr0te.py install ~/path/to/your/writing
open ~/Applications/wr0te.app
See the README for settings, how counting works, and the privacy note: wr0te keeps a copy of every version of your files in a wr0te-data folder.