A CLI tool for smooth note-taking, inspired by Notion, but with a little more... lotion.
Manage your personal notes from the terminal and sync them with GitHub (or any git remote). Lotion keeps your notes silky and organized, so you can focus on what matters.
- Create new notes in organized notebooks
- List all your notes at a glance
- Search and preview notes with your favorite tools
- Sync your notes with a remote git repository (like GitHub)
# Clone the repo
git clone https://github.com/yourusername/lotion.git
cd lotion
go build main.go
# go ahead and add it to your path-
Create a new note:
lotion new -notebook <notebook_name> <note_name>
(Creates a note named
<note_name>inside<notebook_name>) -
List all notes:
lotion list
-
Set up remote sync (run once):
lotion sync -remote <git_repository_url>
-
Sync notes with remote:
lotion sync
-
Search & Open (Recommended Alias):
# Add to your .bashrc or .zshrc alias sn="lotion list | fzf --preview='cat {}' | xargs -o nvim" # Then run: sn
(Requires
fzfandnvimor your preferred editor)