Jot (not to be confused with unix utility jot) is a simple command-line tool written in Go for quickly appending notes to your daily note file in Obsidian.
- Append a note to your daily note file with a single command.
- Integrates seamlessly with Obsidian's daily note format (
YYYY-MM-DD.md
). - If the daily note file exists, your note is appended; if not, the file is created automatically.
-
Set environment Variables
Before using Jot, set the
OBSIDIAN_VAULT_PATH
environment variable to the full path where your Obsidian daily notes are stored:export OBSIDIAN_VAULT_PATH=/path/to/your/obsidian/vault
-
Add a Note
Use the
jot
command followed by your note:jot "Here's a new note that will be appended to my daily note file in Obsidian"
This will append your note to today's daily note file (format:
YYYY-MM-DD.md
). If the file does not exist, it will be created.
-
Clone this repository:
git clone https://github.com/rodfmarin/jot.git cd jot
-
Build the binary:
go build -o jot
-
Set your OBSIDIAN_VAULT_PATH environment variable:
export OBSIDIAN_VAULT_PATH=/path/to/your/obsidian/vault
Alternatively, you can set this variable permanently in your shell configuration file (e.g.,
.bashrc
,.zshrc
):echo 'export OBSIDIAN_VAULT_PATH="/path/to/your/obsidian/vault"' >> ~/.bashrc source ~/.bashrc
-
(Optional) Move the binary to your PATH:
mv jot /usr/local/bin/
-
(Optional) Add an alias to your shell configuration file (e.g.,
.bashrc
,.zshrc
);echo 'alias jot="/path/to/jot"' >> ~/.bashrc source ~/.bashrc
or if you want to use the original
jot
command:echo 'alias anotherjot="/path/to/jot"' >> ~/.bashrc source ~/.bashrc
- Go 1.24 or newer
- Obsidian (for daily note integration), or any path where you want to keep .md note files!
This project is licensed under the GNU General Public License (GPL). See the LICENSE file for details.