Implement Jade CLI v1.0 MVP

Complete implementation of note management CLI with all core features:

Commands:
- add: Create new notes in $EDITOR with auto-generated filenames
- list: Display all notes with titles, paths, and tags
- search: Full-text search via ripgrep, tag-based filtering
- tags: List all tags with occurrence counts
- edit: Fuzzy search and edit notes by title
- rm: Move notes to trash with confirmation prompt

Features:
- Automatic depository structure initialization (.jade/trash/)
- Configurable tag prefix (default '+')
- Parse title from first # heading (filename fallback)
- Extract tags anywhere in content
- Parse both [[wiki-links]] and [markdown](links)
- Trash system with timestamps to prevent conflicts

Technical:
- Global config at ~/.config/jade/config.yml
- Per-depository settings support
- Ripgrep integration for fast search
- $EDITOR integration for note editing
- Comprehensive README with usage examples
This commit is contained in:
2026-01-01 21:54:36 +01:00
parent 26a46f92c1
commit 52160345bf
14 changed files with 927 additions and 16 deletions
+10 -6
View File
@@ -1,5 +1,7 @@
# Notr
Simple [lang: go, lua or other?] application for organizing and referencing notes. Loosly based on obsidian.
Simple Go application for organizing and referencing notes. Loosely based on Obsidian.
**Implementation:** See `jade-depo/` directory for the CLI tool.
## Workflow
I take notes in two primary ways:
@@ -34,11 +36,13 @@ Here I use other tools for the note-taking and accept that any searching is on a
- [ ] Find a good Markdown editor for android.
- [ ] Adopt any crutial Obsidian notes
### Version 1.0
This is where I can use Notr to find and search notes on my workstation. I think a CLI would be my best bet, although a NeoVim tool could accomplish the same.
- [ ] Process notes. Metadata and diffs
- [ ] Search and Filter by tags
- [ ] Search and Filter by content
### Version 1.0
This is where I can use Notr to find and search notes on my workstation. CLI implementation complete!
- [x] Process notes. Metadata and diffs
- [x] Search and Filter by tags
- [x] Search and Filter by content
- [x] Add, edit, delete notes
- [x] List all notes and tags
### Version 2.0
Here I can do the same on my phone.