A simple, fast, and powerful CLI tool for managing your markdown notes. OpenNotes helps you organize, search, and manage your thoughts without leaving the terminal.
- Notebook Storage: choose where you want the notes stored, here in your repo, there in your home directory, or anywhere else on your filesystem.
- Create, list, search, and view notes from the command line.
- Associate default metadata based on groups or folders.
- Preset queries: Kanban, Daily Notes, Tags, and more
- Advanced SQL search powered by DuckDB
go install github.com/zenobi-us/opennotes@latestRequires Go 1.24+
Get started in seconds:
-
Initialize a notebook in your current directory:
opennotes init
-
Create your first note:
opennotes notes add "My First Idea" -
List your notes:
opennotes notes list
-
Search your notes:
opennotes notes search "Idea"
Create a new note with a title. You can also specify a path if you want to organize notes into folders.
# Create a note in the root
opennotes notes add "Meeting Notes"
# Create a note in a subfolder
opennotes notes add "Project Specs" projects/See all your notes in the current notebook.
opennotes notes listFind notes instantly by keyword.
opennotes notes search "important"Opennotes supports various preset views to help you organize and visualize your notes.
Output is JSON by default.
# view all available views
opennotes notes view
# display notes in kanban view
opennotes notes view kanbanOpenNotes works out of the box, but you can customize it.
Global configuration is stored in:
- Linux:
~/.config/opennotes/config.json - macOS:
~/Library/Preferences/opennotes/config.json - Windows:
%APPDATA%\opennotes\config.json
OpenNotes is built on DuckDB, allowing for powerful SQL querying, automation, and complex data extraction for power users.
For advanced features like SQL search, JSON output for automation, and multi-notebook management, please see our Advanced Documentation.
