Minimal opinionated Python command-line interface (CLI) to jot timestamped thoughts.
Recommended:
- Install uv.
- Run
uv tool install jot-cliin a terminal. - Update with
uv tool upgrade jot-cliwhen there's a new release.
To install the current development version: uv tool install git+https://github.com/matt-dray/jot.
Alternatively you can use pipx: pipx install jot-cli.
Requires Python >=3.10.
Open a terminal and write a jotting:
jot "ate an apple"The first time you run jot, you'll be prompted for a path to a text file where your jottings will be written.
The file path will be stored under the JOT_PATH key in a config.json file, which is saved to the OS-dependent location resolved by platformdirs.user_config_path("jot").
Each jotting is timestamped and prepended to your text file:
[2025-08-28 11:15] ate an apple
[2025-08-27 10:58] ate a kiwi
[2025-08-26 11:09] ate a pineapple
[2025-08-25 10:40] ate an apple and a pear
You can review your jottings using the provided options. For example:
jot -l 3to list the last threejot -s apple -l 1to search for 'apple' and list the most recent onejot -s "[^pine]apple"to search for 'apple' with a regular expression that excludes 'pineapple'jot -f 20250825 -t 20250828to return jottings from 25 Aug 2025 (inclusive) and to 28 Aug 2025 (exclusive)
You can back up your jottings to a GitHub gist using GitHub's CLI. To do this:
- Download the gh CLI.
- Login with
gh auth login. - Create a new GitHub gist.
- Write some jottings with e.g.
jot "ate an apple". - Run
jot -uto upload the contents of your jot file to the gist.
You'll be asked for a gist ID when you first run jot -u.
This is the 32-character string found in the gist's URL or with gh gist list.
There are also flags to get meta-information:
jot -wto show where the config and jot files arejot -vto get the version numberjot -hto show the help file, which includes possible option combinations
- I developed this tool to help me remember the tasks I've done during my day job and later reflect.
- Your kilometerage may vary; leave an issue if you find bugs or have suggestions.
