A cli clipboard history manager built in Go with a terminal UI (TUI). Automatically monitors your clipboard, stores entries in a SQLite database, and provides an intuitive interface to search, view, and manage your clipboard history.
┌─ SEARCH ───────────────────────────────────────────────────────┐
│ │
├─────────────────────────────────────────────────────────── ─┤
│ ┌─ PREVIEW ──────── 1 ─┐ ┌─ CONTENT ─────────── 3 ─┐ ┌─ PIN ──────── 2 ─┐ │
│ │ > hello world │ │ Full Content: │ │ Pinned │ │
│ │ (11 chars) │ │ │ │ clips │ │
│ │ another text │ │ hello world │ │ │ │
│ │ (12 chars) │ │ │ │ │ │
│ │ ... │ │ │ │ │ │
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │
│ │ │ └────────────────────┘ │ │ │
│ │ │ ┌─ INFO ───────────── 4 ─┐ │ │ │
│ │ │ │ Clip Details: │ │ │ │
│ │ │ │ │ │ │ │
│ │ │ │ Char Count: 11 │ │ │ │
│ │ │ │ Times: 1 │ │ │ │
│ │ │ │ Words: 3 │ │ │ │
│ │ │ │ CopiedAt: Today │ │ │ │
│ │ │ │ Last Copied: Today │ │ │ │
│ └────────────── ──┘ └────────────────────┘└───────────── ─┘ │
├────────────────────────────────────────────────────────── ──┤
│ Press ↑/↓ to navigate • 'q' to quit │
└───────────────────────────────────────────────────────── ───┘
- Go 1.24 or higher
- SQLite (included as a dependency)
- fswatch (optional, for development hot-reload)
git clone https://github.com/yourusername/clipshistory.git
cd clipshistory
go build -o aclips./watch.shThis will automatically rebuild and restart the application whenever you make changes.
./aclips| Key | Action |
|---|---|
↑ / k |
Navigate up in clip list |
↓ / j |
Navigate down in clip list |
q / Ctrl+C |
Quit the application |
y |
Copy selected clip to clipboard |
- Full clipboard monitoring integration
- Search functionality (FTS5)
- Pin/unpin clips
- Delete clips
- Export/Import clipboard history
- Keyboard shortcuts for quick actions
- Configurable content filtering
MIT License.
Contributions are welcome! Please feel free to submit issues or pull requests.
Created with ❤️ using Go, Bubble Tea, and SQLite.