Skip to content

ororsatti/lotion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧴 lotion

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.


Features

  • 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)

Installation

# 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

Usage

  • 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 fzf and nvim or your preferred editor)

About

Tiny cli tool to manage notes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published