flodo 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -25,6 +25,12 @@ This fork of [michellemayes/flodo](https://github.com/michellemayes/flodo)
25
25
  adds importance and custom flags, larger resize targets, stable drag reordering,
26
26
  a minimize button, search, optional target dates, and a sliding calendar.
27
27
 
28
+ ## New in 0.5.0
29
+
30
+ - Keep the same tasks, flags, target dates and local calendar events on several
31
+ computers through a private git repository. See
32
+ [Sync across computers](#sync-across-computers).
33
+
28
34
  ## New in 0.4.0
29
35
 
30
36
  - Search task titles, descriptions, and custom flags beside the sorting dropdown.
@@ -62,6 +68,7 @@ The calendar image uses example local events.
62
68
  | Undo | Deletes, check-offs, clears and pastes all go back with <kbd>⌘</kbd><kbd>Z</kbd>, as many steps as you like. A delete is also announced and offered back for a few seconds. |
63
69
  | Size | A single binary, around 8 MB. No webview, no background service, no account. |
64
70
  | Storage | Plain JSON files you can read, edit, and sync. |
71
+ | Sync | Optional. Keeps several computers in step through a private git repository you own. |
65
72
  | Scripting | A CLI over the same list, and an optional Claude skill for agents. |
66
73
 
67
74
  ## Install
@@ -153,6 +160,37 @@ failed refresh keeps the previous result with a warning. New Outlook, macOS,
153
160
  and Linux do not support this connection; local calendar entries work on all
154
161
  three platforms.
155
162
 
163
+ ### Sync across computers
164
+
165
+ Flodo can keep your list the same on every computer you use, through a git
166
+ repository that you own. It runs the `git` already installed on each computer
167
+ and uses the sign-in that git has saved. Flodo stores no password or token.
168
+
169
+ 1. Create an empty private repository, for example a new GitLab project. Any
170
+ git host works.
171
+ 2. On each computer, make sure git can reach it. Set up a credential helper or
172
+ an SSH key, then run `git ls-remote <url>` once in a terminal to sign in.
173
+ 3. On each computer, run `flodo sync setup <url>`, or open Settings, tick
174
+ **Sync through a private git repository** and paste the URL.
175
+
176
+ While the app is open it syncs shortly after launch, about ten seconds after
177
+ you change something, every two minutes, and when you press **Sync now**.
178
+ `flodo sync` runs one sync from a terminal, `flodo sync status` shows the last
179
+ result, and `flodo sync off` stops syncing while keeping the remote.
180
+
181
+ Tasks, custom flags, target dates and local calendar events are synced.
182
+ Settings, the window position, which descriptions are expanded, and Outlook
183
+ entries stay on each computer.
184
+
185
+ When two computers change the same task, Flodo compares both with the last
186
+ version they shared. Changes to different fields are both kept. When both
187
+ changed the same field, the computer that is syncing keeps its own value. A
188
+ task deleted on one computer and edited on the other is kept. Before a sync
189
+ rewrites `todos.json` or `calendar.json`, the previous file is copied to
190
+ `sync/last-local-todos.json` or `sync/last-local-calendar.json` in your data
191
+ directory. Only the most recent copy is kept. Flodo's own clone of the
192
+ repository lives in `sync/repo`.
193
+
156
194
  ### Standalone download
157
195
 
158
196
  Download the latest [release](https://github.com/Geozstevenzz/flodo/releases).
@@ -439,6 +477,10 @@ $ flodo list --count
439
477
  | `flodo done <id>...` | Mark complete |
440
478
  | `flodo undone <id>...` | Mark not complete |
441
479
  | `flodo rm <id>...` | Delete |
480
+ | `flodo sync` | Sync with the git remote now |
481
+ | `flodo sync setup <url>` | Set the remote, turn sync on, and sync |
482
+ | `flodo sync status` | Show the remote and the last result |
483
+ | `flodo sync off` | Stop syncing; the remote is kept |
442
484
 
443
485
  `--json` gives a stable record shape — internal fields never leak into it:
444
486
 
@@ -503,7 +545,9 @@ require it.
503
545
  | Windows | `%APPDATA%\Flodo\` |
504
546
 
505
547
  `todos.json` and `settings.json` hold your tasks and preferences. Local calendar
506
- entries use `calendar.json`, created when you first save an event.
548
+ entries use `calendar.json`, created when you first save an event. With sync
549
+ on, the `sync` folder holds Flodo's clone of your repository and the backup
550
+ copies described in [Sync across computers](#sync-across-computers).
507
551
  `todos.json` looks like this:
508
552
 
509
553
  ```json
@@ -22,8 +22,8 @@
22
22
  <key>CFBundleIconFile</key><string>Flodo</string>
23
23
  <key>CFBundlePackageType</key><string>APPL</string>
24
24
  <key>CFBundleInfoDictionaryVersion</key><string>6.0</string>
25
- <key>CFBundleShortVersionString</key><string>0.4.0</string>
26
- <key>CFBundleVersion</key><string>0.4.0</string>
25
+ <key>CFBundleShortVersionString</key><string>0.5.0</string>
26
+ <key>CFBundleVersion</key><string>0.5.0</string>
27
27
  <key>LSMinimumSystemVersion</key><string>11.0</string>
28
28
  <key>NSHighResolutionCapable</key><true/>
29
29
  <key>NSSupportsAutomaticGraphicsSwitching</key><true/>
Binary file
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "flodo",
3
- "version": "0.4.0",
4
- "description": "Floating desktop to-do list with search, target dates and a calendar drawer",
3
+ "version": "0.5.0",
4
+ "description": "Floating desktop to-do list with search, target dates, a calendar drawer and git sync",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",