@rewrlution/papyrus-cli
v0.0.7
Published
AI-powered developer journaling CLI
Readme
Papyrus CLI
AI-powered journaling for developers, right in your terminal.
What is Papyrus?
Papyrus is a command-line journaling tool designed for developers who want to capture their thoughts, progress, and insights without leaving the terminal. It combines the simplicity of markdown files with the power of cloud sync and AI assistance.
Key Features:
- 📝 Quick Journaling - Write journal entries in your favorite editor (vim, nano, VS Code)
- 📅 Date-based Organization - Entries organized by date (YYYYMMDD format)
- 🔍 Interactive Browser - Browse and read journals with vim-style navigation
- ☁️ Cloud Sync - Sync journals across devices
- 🔐 Secure - JWT authentication with local token storage
- 💾 Local-First - All journals stored locally in markdown format
- 🎨 Terminal UI - Beautiful React-based interface rendered in your terminal
Installation
# Install globally
npm install -g @rewrlution/papyrus-cli
# Or with pnpm
pnpm add -g @rewrlution/papyrus-cli
# Or with yarn
yarn global add @rewrlution/papyrus-cliQuick Start
1. Register an Account
papyrus registerFollow the interactive prompts to create an account.
2. Log In
papyrus loginEnter your email and password.
3. Create Your First Journal Entry
papyrus addThis opens your default editor. Write your thoughts, save, and close.
4. Browse Your Journals
papyrus appUse arrow keys or j/k to navigate, press Enter to read an entry.
5. Sync to Cloud
papyrus syncYour journals are now backed up and available on other devices!
Commands
Journal Commands
papyrus add [-d <date>]
Create a new journal entry.
# Create entry for today
papyrus add
# Create entry for specific date
papyrus add -d 20260104
papyrus add -d yesterday
papyrus add -d tomorrowWhat it does:
- Opens your default editor ($EDITOR, $VISUAL, or fallback)
- Creates a new markdown file in
~/.local/share/papyrus/journals/ - Filename format:
YYYYMMDD.md
papyrus amend [-d <date>]
Modify an existing journal entry.
# Amend today's entry
papyrus amend
# Amend specific date
papyrus amend -d 20260103What it does:
- Opens existing journal in your editor
- Fails if entry doesn't exist (use
addto create)
papyrus show [-d <date>]
Display a journal entry in the terminal.
# Show today's entry
papyrus show
# Show specific date
papyrus show -d 20260101
papyrus show -d yesterdayFeatures:
- Scrollable viewer with line numbers
- Vim-style navigation (
j/k,g/G,h/l) - Horizontal panning for long lines
- Progress indicator
Keyboard Shortcuts:
↑/↓orj/k- Scroll up/down←/→orh/l- Pan left/rightPgUp/PgDnorSpace- Page up/downgorHome- Jump to topGorEnd- Jump to bottom0- Jump to start of lineqorEsc- Quit
papyrus app
Launch the Papyrus TUI to browse and read journal entries interactively.
papyrus appFeatures:
- Virtual scrolling (handles 1000+ entries smoothly)
- Circular navigation (wraps at top/bottom)
- Today marker (blue dot)
- Selection indicator
Keyboard Shortcuts:
↑/↓orj/k- Navigate listEnterorSpace- Open entry in readerqorEsc- Quit (in list view) or return to list (in reader)
papyrus sync
Sync journals with the cloud.
papyrus syncWhat it does:
- Compares local and remote journals using content hashes
- Uploads new/modified entries
- Downloads remote changes
- Resolves conflicts automatically (merges both versions)
- Shows progress with real-time updates
Requires: Authentication (run papyrus login first)
Authentication Commands
papyrus register
Create a new account.
papyrus registerInteractive prompts:
- Email address
- Password (min 8 chars, uppercase, lowercase, number, special char)
- Confirm password
papyrus login
Log in to your account.
papyrus loginInteractive prompts:
- Email address
- Password
What it does:
- Authenticates with the server
- Stores JWT token locally in
~/.config/papyrus/token - Token expires after 7 days (configurable)
papyrus logout
Log out and clear stored token.
papyrus logoutLicense
MIT License - see LICENSE file for details.
Support
- Email: [email protected]
Made with ❤️ by developers, for developers.
Happy journaling! 📝
