clidocs
What is clidocs
clidocs is a terminal-native snippet manager built with Go and the Bubble Tea framework. It organizes code snippets, notes and reference material without ever leaving the command line.
The interface has three panels, fully keyboard-driven:
- Folders: categories and subfolders for your snippets.
- Snippets: the files in the selected folder.
- Preview: content with syntax highlighting (GitHub Dark theme).
Main features
- Create, rename, move and delete folders and files.
- Real-time search across folders, files and inside the preview.
- Open files in Neovim or VS Code.
- Favorite folders and import files from anywhere.
- Sync your snippets to a GitHub repository.
- Built-in console (
:) with commands such astime,whoamiandnvim.
Technologies
| Technology | Type | Version |
|---|---|---|
| Go | Language | 1.25.8 |
| Windows | Platform | 11 |
| PowerShell | Shell | 5.1+ |
| Neovim | Editor | nvim in PATH |
Dependencies
| Package | Module | Version | Purpose |
|---|---|---|---|
| Bubble Tea | charmbracelet/bubbletea | v1.3.10 | TUI framework (Elm architecture) |
| Bubbles | charmbracelet/bubbles | v1.0.0 | Text input components |
| Lip Gloss | charmbracelet/lipgloss | v1.1.1 | Layout and styling |
| Glamour | charm.land/glamour/v2 | v2.0.1 | Markdown rendering |
| Chroma | alecthomas/chroma/v2 | v2.27.0 | Syntax highlighting |
| clipboard | atotto/clipboard | v0.1.4 | Clipboard write support |
Official repository
Documentation
InstallationHow to install clidocs
UsabilityHow to use clidocs
