@devbrevity/note-cli
v1.1.2
Published
CLI tool for notesBrevity journal entries
Maintainers
Readme
@devbrevity/note-cli
A terminal-based CLI for LifeBrevity journal entries. Create, list, search, and manage your notes from the command line.
Requirements
- Node.js 18 or later
- An active LifeBrevity subscription
- Register for an account at lifebrevity.com/register
Install
npm install -g @devbrevity/note-cliQuick Start
# Sign in (opens browser)
note login
# Create a note
note create -t "Meeting Notes" -b "Discussed the roadmap for Q2"
# List recent notes
note list
# Search your notes
note search "roadmap"Commands
note login
Opens your browser for secure sign-in via LifeBrevity. Your session lasts 7 days.
note loginnote create
Create a new journal entry.
note create -t "Title" -b "Body content"
note create -t "Ideas" -b "Some thoughts" -s --tags "work,ideas"| Flag | Description |
|------|-------------|
| -t, --title <title> | Entry title (required) |
| -b, --body <body> | Entry body (required) |
| -s, --summarize | Generate an AI summary |
| --tags <tags> | Comma-separated tags |
note list
List journal entries with optional filters.
note list
note list --limit 5 --tags "work" --start-date 2026-01-01| Flag | Description |
|------|-------------|
| --limit <n> | Number of entries (default 20) |
| --start-date <date> | Filter from date (YYYY-MM-DD) |
| --end-date <date> | Filter to date (YYYY-MM-DD) |
| --tags <tags> | Filter by tags |
note get <entryId>
Display a full journal entry.
note get abc12345-6789-...note search <query>
Semantic search across all your entries.
note search "what did I write about productivity?"
note search "meeting notes" --limit 5note whoami
Show current user, token expiry, and config location.
note logout
Clear all stored credentials.
note --help
Show all available commands and options.
note --version
Show the installed version.
Authentication
The CLI uses browser-based OAuth (same as the LifeBrevity web app). When you run note login, your browser opens to the LifeBrevity sign-in page. After authenticating, you're redirected back and the CLI stores your session locally.
- Token location:
~/.config/note-cli/auth.json(Linux/macOS) or%APPDATA%\note-cli\auth.json(Windows) - Session duration: 7 days
- API key: Provided automatically at login
Uninstall
npm uninstall -g @devbrevity/note-cliLinks
License
MIT
