-
Notifications
You must be signed in to change notification settings - Fork 0
/
help.html
1240 lines (1239 loc) · 52.2 KB
/
help.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en" data-server-base="https://frogtab.com/" data-registration="short" data-save="browser" data-theme="system">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Learn how to get started with Frogtab and explore Frogtab's features in detail">
<title>Frogtab Help</title>
<link rel="icon" href="favicons/icon-16.png" sizes="16x16" type="image/png">
<link rel="icon" href="favicons/icon-32.png" sizes="32x32" type="image/png">
<link rel="apple-touch-icon" sizes="180x180" href="favicons/icon-180-apple.png">
<link rel="manifest" href="manifest.webmanifest">
<link rel="stylesheet" href="simple.min.css?sha1=7660de36ed47ee62dcbba0a58f50211966c317e3">
<link rel="stylesheet" href="simple-customizations.css?sha1=37543e3ca2e575b95d9a8fbc5cbc62e9b678bfa7">
</head>
<body>
<header>
<nav></nav>
<h1>Frogtab Help</h1>
<p>
<a tabindex="0" href="." target="_blank">Frogtab</a> is a lightweight task manager that<br>
helps you stay focused on today's priorities
</p>
<p>
<a tabindex="0" href="#overview-of-frogtab" class="button">Get Started</a>
</p>
</header>
<main>
<p>
Thanks for exploring Frogtab!
To get in touch, <a tabindex="0" href="https://maybecoding.bearblog.dev" target="_blank">send a message</a> or <a tabindex="0" href="mailto:[email protected]">email me</a> 🐸
</p>
<article>
<p class="before-compact">
<strong>Getting Started</strong>
</p>
<ul class="compact">
<li><a tabindex="0" href="#overview-of-frogtab">Overview of Frogtab</a></li>
<li><a tabindex="0" href="#adding-tasks-to-your-inbox">Adding tasks to your inbox</a></li>
<li><a tabindex="0" href="#triaging-your-inbox">Triaging your inbox</a></li>
<li><a tabindex="0" href="#setting-up-recurring-tasks">Setting up recurring tasks</a></li>
<li><a tabindex="0" href="#tracking-your-completed-tasks">Tracking your completed tasks</a></li>
<li><a tabindex="0" href="#registering-for-a-personal-link">Registering for a personal link</a></li>
</ul>
<p class="before-compact">
<strong>Data & Privacy</strong>
</p>
<ul class="compact">
<li><a tabindex="0" href="#overview-of-data-privacy">Overview of data privacy</a></li>
<li><a tabindex="0" href="#privacy-implications-of-registering">Privacy implications of registering</a></li>
<li><a tabindex="0" href="#exporting-your-data">Exporting your data</a></li>
<li><a tabindex="0" href="#importing-your-data">Importing your data</a></li>
</ul>
<p class="before-compact">
<strong>Quick Reference</strong>
</p>
<ul class="compact">
<li><a tabindex="0" href="#keyboard-shortcuts">Keyboard shortcuts</a></li>
<li><a tabindex="0" href="#completion-commands">Completion commands</a></li>
<li><a tabindex="0" href="#customizing-the-tab-icon">Customizing the tab icon</a></li>
<li><a tabindex="0" href="#changing-the-theme">Changing the theme</a></li>
<li class="service-save-only"><a tabindex="0" href="#sending-tasks-via-a-terminal">Sending tasks via a terminal</a></li>
</ul>
</article>
<h2 id="overview-of-frogtab">Overview of Frogtab</h2>
<iframe tabindex="0" title="Demo of the Today view" src="demo.html?sha1=677c0a6c4bcd497c68a9403bca64c8ea8c3e9190#today/Conduct%20a%20pond%20safety%20inspection%0A%0AArrange%20a%20moonlit%20croaking%20concert/false"></iframe>
<p>
<strong>Today</strong> is your to-do list for today.
Begin the day by writing down everything you'd like to accomplish.
As you complete your tasks, simply delete them.
</p>
<p>
<strong>Inbox</strong> is where you can capture any thoughts or potential tasks that arise during the day.
To learn more, see <a tabindex="0" href="#adding-tasks-to-your-inbox">Adding tasks to your inbox</a>.
</p>
<p>
You can triage your inbox later in the day.
As you triage your inbox, you'll delete or snooze each task.
To learn more, see <a tabindex="0" href="#triaging-your-inbox">Triaging your inbox</a>.
</p>
<p>
Frogtab displays a notification badge to remind you to triage your inbox:
</p>
<iframe tabindex="0" title="Demo of the Inbox view with a notification badge" src="demo.html?sha1=677c0a6c4bcd497c68a9403bca64c8ea8c3e9190#inbox/Why%20has%20the%20water%20clarity%20changed%3F/true"></iframe>
<p class="before-compact">
At the beginning of each day, Frogtab:
</p>
<ul class="compact">
<li>Moves any remaining tasks from Today to your inbox</li>
<li>Unsnoozes any snoozed tasks in your inbox</li>
<li>Adds tasks from your <a tabindex="0" href="#setting-up-recurring-tasks">weekly routine</a> to your inbox</li>
</ul>
<p>
You can then triage your inbox and decide what you'd like to accomplish today.
</p>
<h2 id="adding-tasks-to-your-inbox">Adding tasks to your inbox</h2>
<p>
Frogtab makes it easy to capture any thoughts or potential tasks that arise as you're working through your priorities for the day.
You don't need to fill in lots of information when you capture a task - you can add the task to your inbox without getting distracted.
</p>
<p>
To add a task to your inbox, use either of the following methods:
</p>
<ul>
<li>
<p>
Write down the task in your inbox.
</p>
</li>
<li>
<p>
Open <a tabindex="0" href="send" target="_blank">Send to Frogtab</a> in a new tab, then write down the task and click the send button.
This method is great if you want to capture the task without revealing your inbox (e.g., during a meeting).
</p>
<p class="service-save-only">
You can also <a tabindex="0" href="#sending-tasks-via-a-terminal" title="Sending tasks via a terminal">send tasks to Frogtab via a terminal</a>.
</p>
</li>
</ul>
<p>
These methods don't work from other devices.
To send tasks from other devices, first <a tabindex="0" href="#registering-for-a-personal-link" title="Registering for a personal link">register for a personal link</a>.
</p>
<h2 id="triaging-your-inbox">Triaging your inbox</h2>
<p>
The purpose of triaging your inbox is to make a decision about how to act on each of the tasks that you've captured.
</p>
<p>
To triage your inbox, take one of the following actions for each task in your inbox:
</p>
<ul>
<li>
<p>
Complete the task immediately, then delete it.
</p>
</li>
<li>
<p>
Move the task to Today if you plan to work on it later the same day.
</p>
</li>
<li>
<p>
Snooze the task by writing # in front of the task:
</p>
<iframe tabindex="0" title="Demo of the Inbox view with a snoozed task and an unsnoozed task" src="demo.html?sha1=677c0a6c4bcd497c68a9403bca64c8ea8c3e9190#inbox/%23%20This%20is%20snoozed%0A%0AThis%20is%20not%20snoozed/true"></iframe>
<p>
Frogtab will unsnooze the task at the beginning of the next day.
</p>
</li>
<li>
<p>
Move the task to a more appropriate location outside Frogtab (e.g., a calendar event or a topic in a meeting agenda).
</p>
</li>
<li>
<p>
Delete the task if it's not particularly important.
</p>
</li>
</ul>
<p>
As soon as you've triaged your inbox, Frogtab's notification badge disappears.
</p>
<h2 id="setting-up-recurring-tasks">Setting up recurring tasks</h2>
<p>
If there are tasks that you usually do on the same day each week, Frogtab can add the tasks to your inbox at the beginning of the appropriate day.
</p>
<p>
To set up recurring tasks:
</p>
<ol>
<li>
<p>
Open <a tabindex="0" href="week" target="_blank">Weekly Routine</a> in a new tab.
</p>
</li>
<li>
<p>
Select a day, then write down your recurring tasks for that day. For example:
</p>
<iframe tabindex="0" title="Demo of a recurring task on Wednesdays" src="demo-week.html?sha1=0937f95c458f1d1dc1fe0ca877449afabc3caaa4#wed/Host%20this%20week%27s%20Wild%20Wednesday%21"></iframe>
<p>
If you like planning in the evening, write down your recurring tasks under the previous day,
with # in front of each task. For example:
</p>
<iframe tabindex="0" title="Demo of a recurring task on Tuesdays that will be snoozed until Wednesdays" src="demo-week.html?sha1=0937f95c458f1d1dc1fe0ca877449afabc3caaa4#tue/%23%20Host%20this%20week%27s%20Wild%20Wednesday%21"></iframe>
<p>
You'll then be able to see the recurring tasks one day in advance.
When Frogtab adds the tasks to your inbox, they'll be snoozed (because of the #), so they won't cause Frogtab to display a notification badge.
</p>
</li>
</ol>
<p>
After you've finished writing down your recurring tasks, close the tab.
</p>
<h2 id="tracking-your-completed-tasks">Tracking your completed tasks</h2>
<p>
If you enable the Achievements feature, Frogtab can record your completed tasks.
</p>
<div tabindex="-1" id="achievements-disabled" class="notice display">
<div class="display">
<p>
You have not enabled Achievements.
</p>
<div>
<button tabindex="0" id="enable-achievements">Enable Achievements</button>
</div>
</div>
</div>
<div tabindex="-1" id="achievements-enabled" class="notice">
<div class="display">
<p>
You have enabled Achievements.
</p>
<div>
<a tabindex="0" href="achievements" target="_blank" class="button">Review My Completed Tasks</a>
</div>
<p>
<a tabindex="0" id="start-disable-achievements" href="#">Disable Achievements</a>
</p>
</div>
</div>
<div tabindex="-1" id="confirm-disable-achievements" class="notice">
<div class="display">
<p>
Frogtab will disable Achievements when you
<a tabindex="0" id="finish-disable-achievements" href="#" title="Disable Achievements">click here</a>.
</p>
<p>
Your completed tasks will be deleted.
</p>
<div>
<button tabindex="0" id="cancel-disable-achievements">Don't Disable Achievements</button>
</div>
</div>
</div>
<p>
To complete a task, put your cursor anywhere in the task, then press <kbd>⌘</kbd> + <kbd>K</kbd> (macOS) or <kbd>Ctrl</kbd> + <kbd>K</kbd> (Windows/Linux).
Frogtab moves the task to your <a tabindex="0" href="achievements" target="_blank">completed tasks</a>.
</p>
<p>
When you complete a task, Frogtab sets the completion date to today's date.
To control the completion date, use a <a tabindex="0" href="#completion-commands" title="Completion commands">completion command</a> instead of <kbd>⌘</kbd> + <kbd>K</kbd> or <kbd>Ctrl</kbd> + <kbd>K</kbd>.
</p>
<p>
If you accidentally complete a task, you can mark it as incomplete and remove it from your completed tasks.
Click <strong>Edit</strong> at the top of the Achievements page, select
<strong>Today</strong> or <strong>Inbox</strong> as the new location for the task, then click the task to move it.
</p>
<p>
To import completed tasks from outside Frogtab, see <a tabindex="0" href="#importing-your-data">Importing your data</a>.
</p>
<h2 id="registering-for-a-personal-link">Registering for a personal link</h2>
<p>
If you choose to register this device, you'll get a personal link that you can use to send tasks to Frogtab from any device.
</p>
<div id="case-checking" class="notice display">
<div class="display">
<p>
Checking this device…
</p>
</div>
</div>
<div tabindex="-1" id="case-unregistered" class="notice">
<div class="display">
<p>
You have not registered this device<span class="short-registration-only"> with <span class="server-hostname"></span></span>.
<span id="comment-label" class="long-registration-only">To register this device, please share your experience of using Frogtab - thank you!</span>
</p>
<div class="long-registration-only">
<input tabindex="0" aria-labelledby="comment-label" id="comment" style="width: 100%" type="text" placeholder="Your experience…">
</div>
<div>
<button tabindex="0" id="register" disabled>Send & Register</button>
</div>
<p>
<a tabindex="0" href="#privacy-implications-of-registering">Learn about data privacy</a>
</p>
</div>
</div>
<div id="case-registering" class="notice">
<div class="display">
<p>
Registering this device…
</p>
</div>
</div>
<div tabindex="-1" id="case-registered" class="notice">
<div class="display">
<p>
You have registered this device<span class="short-registration-only"> with <span class="server-hostname"></span></span>.
</p>
<div>
<a tabindex="0" href="#" target="_blank" id="link" class="button">Open My Personal Link</a>
</div>
<p>
<a tabindex="0" href="#privacy-implications-of-registering">Learn about data privacy</a>
</p>
<p>
<a tabindex="0" href="#" id="start-forget">Forget this device</a>
</p>
</div>
</div>
<div tabindex="-1" id="case-registered-forget" class="notice">
<div class="display">
<p>
Frogtab will forget this device when you
<a tabindex="0" href="#" id="forget" title="Forget This Device">click here</a>.
</p>
<p>
Your personal link will be permanently deactivated.
To send tasks to Frogtab from any device, you'll need to re-register this device and get a new personal link.
</p>
<div>
<button tabindex="0" id="cancel-forget">Don't Forget This Device</button>
</div>
</div>
</div>
<div id="case-forgetting" class="notice">
<div class="display">
<p>
Forgetting this device…
</p>
</div>
</div>
<p>
If this device is registered, you'll see a cloud icon at the top of Frogtab.
The cloud icon means that Frogtab is ready to receive tasks from your personal link.
</p>
<p>
More details about your personal link:
</p>
<ul>
<li>
<p>
Anyone who knows your personal link can send tasks to your inbox.
</p>
</li>
<li>
<p>
Tasks may take up to 10 minutes to appear in your inbox.
To force Frogtab to check for new tasks, reload Frogtab.
</p>
</li>
<li>
<p>
If you clear your browsing data, your personal link will stop working.
To reactivate your personal link, <a tabindex="0" href="#importing-your-data">import your Frogtab data</a>
(assuming that you've previously <a tabindex="0" href="#exporting-your-data">exported a backup</a>).
Or you can re-register this device and get a new personal link.
</p>
</li>
</ul>
<h2 id="overview-of-data-privacy">Overview of data privacy</h2>
<p class="before-compact">
Frogtab stores the following data that you create:
</p>
<ul class="compact">
<li>The contents of Today and Inbox</li>
<li>Recurring tasks from your weekly routine</li>
<li>Your completed tasks (part of the <a tabindex="0" href="#tracking-your-completed-tasks" title="Tracking your completed tasks">Achievements</a> feature)</li>
</ul>
<p>
Your data is stored in your browser and isn't sent to a server.
If you like, you can export a backup of your data.
To learn more, see <a tabindex="0" href="#exporting-your-data">Exporting your data</a>.
</p>
<p>
If you choose to register this device, you'll get a personal link that you can use to send tasks to Frogtab from any device.
To learn more, see <a tabindex="0" href="#registering-for-a-personal-link">Registering for a personal link</a> and <a tabindex="0" href="#privacy-implications-of-registering">Privacy implications of registering</a>.
</p>
<p>
Frogtab doesn't use cookies, collect PII, serve ads, or track you in any way.
</p>
<h2 id="privacy-implications-of-registering">Privacy implications of registering</h2>
<p>
If you choose to register this device, Frogtab generates identification and encryption credentials for this device. The credentials are stored in your browser and are included if you export a backup of your data.
</p>
<p>
The credentials are also stored on a server, with the exception of a private key that Frogtab uses to decrypt tasks received from your personal link.
You can delete the credentials from the server at any time.
To delete the credentials, go to <a tabindex="0" href="#registering-for-a-personal-link">Registering for a personal link</a>, then click <strong>Forget this device</strong>.
</p>
<p>
More details about how your personal link works:
</p>
<ul>
<li>
<p>
When you use your personal link to send a task to Frogtab, the task is first encrypted on the sending device.
The encrypted task is then sent to the server.
</p>
</li>
<li>
<p>
Only this device is permitted to download the encrypted task from the server.
After downloading the encrypted task, Frogtab decrypts the task using a private key that never leaves this device.
</p>
</li>
<li>
<p>
The server deletes the encrypted task as soon as it has been downloaded.
</p>
</li>
</ul>
<p>
For technical details, see <a tabindex="0" href="https://github.com/dwilding/frogtab#how-your-personal-link-works" target="_blank">How your personal link works</a> in GitHub.
</p>
<h2 id="exporting-your-data">Exporting your data</h2>
<p>
Your data is stored in your browser.
To export a backup of your data, click
<svg role="img" aria-label="Menu icon" width="20px" height="20px" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" color="currentColor"><path d="M3 5h18M3 12h18M3 19h18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>
at the bottom of Frogtab, then click <strong>Export My Data</strong>.
</p>
<p class="browser-save-only">
Some browsers support automatic backups.
If your browser supports automatic backups, click <strong>Enable Auto-Backup</strong> at the bottom of Frogtab, then specify where to save the backup file.
Frogtab will update the backup file whenever your data changes.
</p>
<p class="browser-save-only">
If your browser doesn't support automatic backups, you won't see Enable Auto-Backup.
If you want automatic backups, you'll need to run <a tabindex="0" href="https://github.com/dwilding/frogtab/releases" target="_blank">Frogtab Local</a> on your computer.
</p>
<div class="notice display service-save-only">
<div class="display">
<p>
To enable automatic backups, select a backup method:
</p>
<div>
<select tabindex="0" id="save-method">
<option value="none" selected>None</option>
</select>
</div>
</div>
</div>
<p>
As part of the <a tabindex="0" href="#tracking-your-completed-tasks" title="Tracking your completed tasks">Achievements</a> feature,
you can export your completed tasks in <a tabindex="0" href="http://todotxt.org/" target="_blank">todo.txt</a> format.
To export your completed tasks, click <strong>Edit</strong> at the top of the Achievements page,
then click <strong>Export a todo.txt file</strong>.
</p>
<h2 id="importing-your-data">Importing your data</h2>
<p>
To restore your data in your browser, <a tabindex="0" href="#" id="start-restore">import a backup file</a>.
</p>
<input type="file" id="choose-backup-file" style="display: none" accept=".json">
<div tabindex="-1" id="staged-restore" class="notice">
<div class="display">
<p>
Frogtab will restore your data from <strong id="restore-date"></strong> when you next reload Frogtab.
</p>
<div>
<button tabindex="0" id="cancel-restore">Don't Restore My Data</button>
</div>
</div>
</div>
<p>
As part of the <a tabindex="0" href="#tracking-your-completed-tasks" title="Tracking your completed tasks">Achievements</a> feature,
you can import completed tasks in <a tabindex="0" href="http://todotxt.org/" target="_blank">todo.txt</a> format:
<ul>
<li>
<p>
If you haven't completed any tasks in Frogtab, click <strong>Import</strong> at the top of the Achievements page, then select a todo.txt file.
</p></li>
<li>
<p>
If you have completed some tasks in Frogtab, you'll need to manually merge your Frogtab completed tasks with your completed tasks from outside Frogtab.
</p>
<p>
Click <strong>Edit</strong> at the top of the Achievements page, then click <strong>Export a todo.txt file</strong>.
The todo.txt file contains your Frogtab completed tasks.
Edit the todo.txt file to include your completed tasks from outside Frogtab, then click <strong>Import the todo.txt file</strong> and select the updated todo.txt file.
</p>
</li>
</ul>
</p>
<h2 id="keyboard-shortcuts">Keyboard shortcuts</h2>
<p>
<label>
<input tabindex="0" id="os-mac" type="radio" name="os" checked> macOS
</label>
<label>
<input tabindex="0" id="os-win-linux" type="radio" name="os"> Windows/Linux
</label>
</p>
<table>
<thead>
<tr>
<th style="width: 68%">Action</th>
<th style="width: 32%">Shortcut</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<p>
Start a new line at the top
</p>
</td>
<td>
<span class="shortcut mac display"><kbd>⌘</kbd> + <kbd>Enter</kbd></span>
<span class="shortcut win-linux"><kbd>Ctrl</kbd> + <kbd>Enter</kbd></span>
</td>
</tr>
<tr>
<td>
<p>
Show Today
</p>
</td>
<td>
<span class="shortcut mac display"><kbd>⌘</kbd> + <kbd>U</kbd></span>
<span class="shortcut win-linux"><kbd>Ctrl</kbd> + <kbd>U</kbd></span>
</td>
</tr>
<tr>
<td>
<p>
Show Inbox
</p>
</td>
<td>
<span class="shortcut mac display"><kbd>⌘</kbd> + <kbd>I</kbd></span>
<span class="shortcut win-linux"><kbd>Ctrl</kbd> + <kbd>I</kbd></span>
</td>
</tr>
<tr>
<td>
<p>
Show Inbox and select all unsnoozed tasks
</p>
</td>
<td>
<span class="shortcut mac display"><kbd>⌘</kbd> + <kbd>Shift</kbd> + <kbd>I</kbd></span>
<span class="shortcut win-linux"><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>I</kbd></span>
</td>
</tr>
<tr>
<td>
<p>
Move selected tasks from Inbox to Today
</p>
<p>
If the tasks are snoozed, Frogtab unsnoozes them.
</p>
</td>
<td>
<span class="shortcut mac display"><kbd>⌘</kbd> + <kbd>Shift</kbd> + <kbd>Enter</kbd></span>
<span class="shortcut win-linux"><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>Enter</kbd></span>
</td>
</tr>
<tr>
<td>
<p>
Complete selected tasks
</p>
<p>
Part of the <a tabindex="0" href="#tracking-your-completed-tasks" title="Tracking your completed tasks">Achievements</a> feature.
Frogtab moves the tasks to your <a tabindex="0" href="achievements" target="_blank">completed tasks</a>.
</p>
</td>
<td>
<span class="shortcut mac display"><kbd>⌘</kbd> + <kbd>K</kbd></span>
<span class="shortcut win-linux"><kbd>Ctrl</kbd> + <kbd>K</kbd></span>
</td>
</tr>
<tr>
<td>
<p>
Snooze selected tasks
</p>
<p>
If the tasks are in Today, Frogtab moves them to Inbox.
</p>
</td>
<td>
<span class="shortcut mac display"><kbd>⌘</kbd> + <kbd>/</kbd></span>
<span class="shortcut win-linux"><kbd>Ctrl</kbd> + <kbd>/</kbd></span>
</td>
</tr>
<tr>
<td>
<p>
Toggle editing position between center and bottom
</p>
<p>
Also accessible via
<strong>Snap to Bottom</strong> or <strong>Snap to Center</strong> from the
<svg role="img" aria-label="Menu icon" width="20px" height="20px" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" color="currentColor"><path d="M3 5h18M3 12h18M3 19h18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>
menu.
This feature is handy for making room for other windows, such as video calls.
</p>
</td>
<td>
<span class="shortcut mac display"><kbd>⌘</kbd> + <kbd>B</kbd></span>
<span class="shortcut win-linux"><kbd>Ctrl</kbd> + <kbd>B</kbd></span>
</td>
</tr>
</tbody>
</table>
<p>
For <a tabindex="0" href="send" target="_blank">Send to Frogtab</a> and your personal link:
</p>
<table>
<thead>
<tr>
<th style="width: 68%">Action</th>
<th style="width: 32%">Shortcut</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<p>
Send
</p>
</td>
<td>
<span class="shortcut mac display"><kbd>⌘</kbd> + <kbd>Enter</kbd></span>
<span class="shortcut win-linux"><kbd>Ctrl</kbd> + <kbd>Enter</kbd></span>
</td>
</tr>
</tbody>
</table>
<h2 id="completion-commands">Completion commands</h2>
<p>
Completion commands are part of the <a tabindex="0" href="#tracking-your-completed-tasks" title="Tracking your completed tasks">Achievements</a> feature.
You can use completion commands to control the completion date when completing tasks.
</p>
<p>
To use a command, write the command in front of a task, then press <kbd>Enter</kbd>.
</p>
<table>
<thead>
<tr>
<th style="width: 50%">Command</th>
<th style="width: 50%">Example</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<p>
<code>x -<em>n</em></code>, where <em>n</em> is a number
</p>
<p>
Completes a task and sets the completion date to <em>n</em> days in the past.
</p>
</td>
<td>
<p>
To set the completion date of a task to yesterday's date,
write <code>x -1</code> in front of the task, then press <kbd>Enter</kbd>.
</p>
</td>
</tr>
<tr>
<td>
<p>
<code>x <em>day</em></code>, where <em>day</em> is one of <code>mon</code> to <code>sun</code>
</p>
<p>
Completes a task and sets the completion date to <em>day</em> from the past week.
</p>
</td>
<td>
<p>
To set the completion date of a task to the most recent Friday,
write <code>x fri</code> in front of the task, then press <kbd>Enter</kbd>.
</p>
</td>
</tr>
</tbody>
</table>
<h2 id="customizing-the-tab-icon">Customizing the tab icon</h2>
<p>
Whenever Frogtab displays a notification badge, Frogtab tries to put a badge on the tab icon too.
Some browsers (e.g., Safari) don't support this feature. If you want this feature, you'll need to use a workaround.
</p>
<p>
To enable the workaround, use <a tabindex="0" href="icon-normal?reload=start" target="_blank">this version of Frogtab</a>.
Frogtab will periodically reload itself to update the tab icon.
When Frogtab reloads itself, your undo history will be lost. Frogtab will only reload itself when the tab isn't active.
</p>
<p>
If your browser supports Frogtab's default way of updating the tab icon, but you prefer no badge on the tab icon, you can use <a tabindex="0" href="icon-normal" target="_blank">this version of Frogtab</a>.
</p>
<h2 id="changing-the-theme">Changing the theme</h2>
<div class="notice display">
<div class="display">
<p>
Select a theme:
</p>
<div>
<label>
<input tabindex="0" id="theme-light" type="radio" name="theme"> Light
</label>
<label>
<input tabindex="0" id="theme-dark" type="radio" name="theme"> Dark
</label>
<label>
<input tabindex="0" id="theme-system" type="radio" name="theme" checked> System
</label>
</div>
</div>
</div>
<div class="service-save-only">
<h2 id="sending-tasks-via-a-terminal">Sending tasks via a terminal</h2>
<p>
As an alternative to using <a tabindex="0" href="send" target="_blank">Send to Frogtab</a>,
you can send tasks to Frogtab via a terminal. To enable this feature:
</p>
<ol>
<li>
<p>
Choose a label for Frogtab.
For example, <code>work</code> or <code>personal</code>.
</p>
</li>
<li>
<p>
Modify the URL of Frogtab to include the label.
For example, <code><span class="origin">http://127.0.0.1:5000</span>/#work</code>.
</p>
</li>
</ol>
<p>
To send a task to Frogtab, use <code>python send.py</code>.
For example:
</p>
<pre><code>python send.py work "Record a new product demo"</code></pre>
<p>
The task will appear in your inbox after a few seconds.
</p>
<p>
You can't use <code>python send.py</code> to send tasks from other devices.
To send tasks from other devices, first <a tabindex="0" href="#registering-for-a-personal-link" title="Registering for a personal link">register for a personal link</a>,
then <a tabindex="0" href="https://maybecoding.bearblog.dev/making-a-command-line-tool-for-your-frogtab-personal-link/" target="_blank">make a command-line tool for your personal link</a>.
</p>
</div>
</main>
<footer>
<p>
Frogtab is an open-source task manager developed by <a tabindex="0" href="https://github.com/dwilding" target="_blank">Dave Wilding</a>.
It's designed to be stable over many years and inexpensive for me to operate.
I hope that Frogtab brings joy to your day!
</p>
<p>
Acknowledgments:
<a tabindex="0" href="https://simplecss.org" target="_blank">Simple.css</a>,
<a tabindex="0" href="https://openpgpjs.org" target="_blank">OpenPGP.js</a>,
<a tabindex="0" href="https://uuid.ramsey.dev" target="_blank">ramsey/uuid</a>,
<a tabindex="0" href="https://iconoir.com" target="_blank">iconnoir</a>,
<a tabindex="0" href="https://www.fiverr.com/mackwhyte" target="_blank">mackwhyte</a>
</p>
<p>
<a tabindex="0" href="https://github.com/dwilding/frogtab" target="_blank">Source code</a>
•
<a tabindex="0" href="https://maybecoding.bearblog.dev/blog/?q=frogtab-featured" target="_blank">Dev blog</a>
</p>
<p id="stop-service" class="service-save-only">
<a tabindex="0" href="#" id="action-stop-service">Stop Frogtab Local</a>
</p>
</footer>
<script>
function updateSelectedTheme() {
if (localStorage.getItem("ui.theme") == "light") {
dom.themeLight.checked = true;
}
else if (localStorage.getItem("ui.theme") == "dark") {
dom.themeDark.checked = true;
}
else {
dom.themeSystem.checked = true;
}
}
function delayForUX(f) {
return Promise.all([
f(),
new Promise(resolve => window.setTimeout(resolve, 1500))
]);
}
function getPersonalLink() {
return `${serverBase}send#${localStorage.getItem("user.userID")}`;
}
async function verify() {
await delayForUX(async () => {
if (localStorage.getItem("user.userID") === null) {
return;
}
let response;
try {
response = await fetch(`${serverBase}open/post-verify-user`, {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
user_id: localStorage.getItem("user.userID"),
api_key: localStorage.getItem("user.apiKey")
})
});
}
catch (err) {
return;
}
if (!response.ok) {
return;
}
const result = await response.json();
verifiedUser = result.success;
});
dom.caseChecking.classList.remove("display");
if (verifiedUser) {
dom.caseRegistered.classList.add("display");
dom.link.href = getPersonalLink();
}
else {
dom.caseUnregistered.classList.add("display");
}
}
function generateRandomHex(length) {
chars = "0123456789abcdef";
let randomHex = "";
for (let i = 0; i < length; i++) {
charRandom = chars.charAt(Math.floor(Math.random() * chars.length));
randomHex = `${randomHex}${charRandom}`;
}
return randomHex;
}
async function register() {
dom.caseUnregistered.classList.remove("display");
dom.caseRegistering.classList.add("display");
await delayForUX(async () => {
if (openpgp === undefined) {
openpgp = await import("./openpgp.min.mjs?sha1=280298d02f97111053fdb1215ac5011e0c7bd4fb");
}
const pgpKey = await openpgp.generateKey({
userIDs: [{
name: "Frogtab",
comment: `${generateRandomHex(3)}-${generateRandomHex(3)}`
}]
});
const requestBody = {
pgp_public_key: pgpKey.publicKey
};
if (document.documentElement.getAttribute("data-registration") == "long") {
requestBody.comment = await openpgp.encrypt({
message: await openpgp.createMessage({
text: `Registration: ${dom.comment.value}`
}),
encryptionKeys: await openpgp.readKey({
armoredKey: "-----BEGIN PGP PUBLIC KEY BLOCK-----\n\nxjMEZC0XTRYJKwYBBAHaRw8BAQdAQGn1uwsmrmyNDjJEpBItytslxrvK0Iym\nKrSeCQaWOv7NNzx1c2VyXzAzYWU2YjZmLTExMzQtNGU3Yi04M2VkLWRlYWFl\nNGI1M2FmN0Bmcm9ndGFiLmNvbT7CjAQQFgoAPgWCZC0XTQQLCQcICZDHWnmD\n1b6y2wMVCAoEFgACAQIZAQKbAwIeARYhBOsq7cBWQAUaO3W7VMdaeYPVvrLb\nAACwZQD+J8iHCcZwYwO3U/5dUu0fKR9iCInWlFk23UTgzUFkCS4BAILb2Xzy\nMORtPHGaBqUP0v7XbnnigyCwC2zg1JiJ5bIOzjgEZC0XTRIKKwYBBAGXVQEF\nAQEHQCbGVL7Nh+2kYvX2W6FTK7f/n7Fo7OclmEOS3xjUzEs0AwEIB8J4BBgW\nCAAqBYJkLRdNCZDHWnmD1b6y2wKbDBYhBOsq7cBWQAUaO3W7VMdaeYPVvrLb\nAABb/gEApI8wmO4HQ82pTMg2POA/AT85AseK3lv4ds1Mz6W5p48A/jbtMsAG\nn5seyoPf02oOSmPmNr7OhtP/19HeoY6Sj1IG\n=PY9A\n-----END PGP PUBLIC KEY BLOCK-----\n"
})
});
}
let response;
try {
response = await fetch(`${serverBase}open/post-create-user`, {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify(requestBody)
});
}
catch (err) {
return;
}
if (!response.ok) {
return;
}
const result = await response.json();
verifiedUser = result.success;
if (!verifiedUser) {
return;
}
localStorage.setItem("user.pgpPublicKey", pgpKey.publicKey);
localStorage.setItem("user.pgpPrivateKey", pgpKey.privateKey);
localStorage.setItem("user.apiKey", result.user.api_key);
localStorage.setItem("user.userID", result.user.user_id); // Update userID last because other tabs may be watching
});
dom.caseRegistering.classList.remove("display");
if (verifiedUser) {
if (document.documentElement.getAttribute("data-registration") == "long") {
dom.comment.value = "";
dom.register.disabled = true;
}
dom.caseRegistered.classList.add("display");
dom.caseRegistered.focus();
dom.link.href = getPersonalLink();
}
else {
dom.caseUnregistered.classList.add("display");
dom.caseUnregistered.focus();
}
}
async function forget() {
dom.caseRegisteredForget.classList.remove("display");
dom.caseForgetting.classList.add("display");
await delayForUX(async () => {
let response;
try {
response = await fetch(`${serverBase}open/post-remove-user`, {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
user_id: localStorage.getItem("user.userID"),
api_key: localStorage.getItem("user.apiKey")
})
});
}
catch (err) {
return;
}
if (!response.ok) {
return;
}
const result = await response.json();
verifiedUser = !result.success;
if (verifiedUser) {
return;
}
localStorage.removeItem("user.userID"); // Update userID first because other tabs may be watching
localStorage.removeItem("user.apiKey");
localStorage.removeItem("user.pgpPrivateKey");
localStorage.removeItem("user.pgpPublicKey");
});
dom.caseForgetting.classList.remove("display");
if (verifiedUser) {
dom.caseRegistered.classList.add("display");
dom.caseRegistered.focus();
}
else {
dom.caseUnregistered.classList.add("display");
dom.caseUnregistered.focus();
}
}
function tryToStageRestore(backupJSON) {
let backupData;
try {
backupData = JSON.parse(backupJSON);
}
catch (err) {
return;
}
if (!("date" in backupData)) {
return;
}
localStorage.setItem("restore", backupJSON);
setRestoreStatus(backupData);
}
function setRestoreStatus(backupData) {
const backupDate = (new Date(backupData.date)).toLocaleDateString(undefined, {
day: "numeric",
month: "short",
year: "numeric"
});
dom.stagedRestore.classList.add("display");
dom.stagedRestore.focus();
dom.restoreDate.textContent = backupDate;
dom.cancelRestore.addEventListener("click", () => {
localStorage.removeItem("restore");
dom.stagedRestore.classList.remove("display");
});
}
function setAchievements() {
if (localStorage.getItem("achievements") !== null) {
dom.achievementsDisabled.classList.remove("display");
if (!dom.confirmDisableAchievements.classList.contains("display")) {
dom.achievementsEnabled.classList.add("display");
}
else {
dom.achievementsEnabled.classList.remove("display");
}
}
else {
dom.achievementsDisabled.classList.add("display");
dom.achievementsEnabled.classList.remove("display");
dom.confirmDisableAchievements.classList.remove("display");
}
}
function setSaveMethod() {
let saveMethod = localStorage.getItem("saveMethod");
if (saveMethod === null) {
saveMethod = "none"
}
dom.saveMethod.value = saveMethod;
}
async function fetchSaveMethods() {
let response;
try {
response = await fetch("service/get-methods");
}
catch (err) {
return;
}