Download Latest v0.4 | USAGE demo | HackerNews | Wiki/Docs | Bugs & Suggestions
A utility to automatically time-stamp and edit a work-log, or what have you.
It's like a task list, a "done list" that can be saved.
Has a handy calculator built-in.

Plays nice with terminal themes.
Integrates with user (meaning Your's) status-line scripts. Please post your own screenshots in the comments.
This script depends on the FISH shell, as well as a decent date command.
The ANSI-colors stripping requires a sed command.
To use it copy time-log.fish anywhere in your PATH and chmod +x the script.
Run it, optionally followed by a HEADING.
Saving to File
Time Log Fish can write to a file with the !w command.
This file has all the movement and colors.
If you'd like to see the file use cat FILE.
The colors can be removed with cat FILE | time-log.fish -
To exit and stop the script use <Ctrl>-<D> (can do <Ctrl>-<C> as well).
There are more screencasts and screenshots for you in the Time Log Fish WIKI file.
Every line in Time Log Fish is time-stamped by default.
Use / to see the difference between last time-stamp and current time.
Enter an empty line to refresh current time, and show STATUS below.
To keep note of this status line enter ++ (this does not update last time-stamp).
To enter a note without updating last time-stamp start the line with +,
or with - to replace the contents of the line above.
Lines can be deleted and edited with --, and auto-stamped with -+
FISH provides line history with <Up> and <Down> for the current session only.
The standard <Alt>-<E> shortcut will bring up your EDITOR to edit the line,
save and quit to get back to Time Log Fish.
Simple math expressions =1+1 → = 2 are available (do a help math in FISH for more).
To use the last result in a new expression start the line with . instead of =
Going back to the result before last is done with ..
Use ? to summon a HELP cheat-sheet.
<Enter> to refresh the time
⋯ type anything and TIME stays
-- edit last line, replacing it
+⋯ add a NOTE (default: empty line)
-⋯ replace last NOTE (default: delete last note)
-+ prepend current TIME to the last line (+- too)
/ show time difference to the last line (* also)
++ insert weekday & STATUS (default: HH:MM.)
=⋯ calculate and note down the result (default: 0)
.⋯ use last result (default: show it)
.. discard last result, use one before (or 0 if none)
` run MENU and edit resulting string
! insert result of MENU immediately
!w (over)write to file (default: DATE HH:MM.plog)
to strip ANSI coloring use `cat FILE | time-log -`
tag: note
mark:specific.time
For more on how to use Time Log Fish read the WIKI file.
CHANGELOG
* use - once, to remove all lines printed by ?
* changed formatting of time difference to show up as H hrs M min
* restructured WIKI, mirrored on the new website
+ Time Log Fish now has a documentation section and a website for that
+ added a -h/--help arg, to point to website docs etc.
* general formatting improvements
+ added MENU to call custom script with ! or `
- faster, less subshell usage
* calculator changed to use = instead of :
+ see the time difference with just /
* status adding changed from just + to ++
* a + adds an empty line
+ added facility to strip ANSI colors (keeps motions tho)
+ previous line can now be time-stamped with -+
+ previous line can now be edited with --
+ calculate using last calc result with ./3
+ zero out last result with just :
+ TITLE env variable for custom command hooks
+ setting STATUS command, and ovrerriding it with ARGV
+ deleting and replacing lines interactively
+ adding lines interactively
+ refreshing TIME in prompt with Enter, runs STATUS below
+ adding STATUS as a line with just +
+ adding empty lines with +SPACE
+ writing ANSI file with !w (use cat to view)
+ tagging a line
+ back-dating HH:MM. lines
+ calculate math with :5/13
+ exit with Ctrl-C or Ctrl-D
License MIT, free to do whatever. Yours to fuck up.
general USAGE demo
- short link or domain for easy curl/wget install
- update README screenshots, they shold make sense
- update Wiki, make asciicasts for it
- dress up and furnish the project with fish mascot
- watermark for images
- GET FEEDBACK: try HN again? Reddit? Acquaintances?
- FIXME: use manually backdated items for time diff calc when refreshing with /
- accept filename for !w




License MIT, free to do whatever. Yours to fuck up.
asciinema.org/a/447537