Obsidian CLI: Open, Search, Create or Edit Notes

I am Obsidian user and lover. I’ve made a CLI tool that lets you open, search, create and update notes from the terminal. I originally made it for myself to quickly open or create notes and as a way to learn a new programming language (Go). I think it might be useful to others so I have made it super simple to install and use, all instructions are here: Obsidian CLI.

Once you’ve installed it and set up your vault, you can open an existing note like this

obs open "{file}"

Create note like this:

obs create "{file}" --content "abcde"

Or edit note like this:

obs create "{file}" --content "abcde" --overwrite
obs create "{file}" --content "abcde" --append

Please comment if you have any questions, feedback or suggestions!

3 Likes