Clepho uses a three-pane file browser inspired by ranger and yazi, providing efficient keyboard-driven navigation through your photo collection.
┌─────────────────────────────────────────────────────────────┐
│ │
├─────────────┬─────────────────────┬─────────────────────────┤
│ PARENT │ CURRENT │ PREVIEW │
│ (20%) │ (40%) │ (40%) │
│ │ │ │
│ ../ │ > photo1.jpg │ ┌─────────────────┐ │
│ backup/ │ photo2.jpg │ │ │ │
│ 2023/ │ photo3.png │ │ [Image] │ │
│ > 2024/ │ vacation/ │ │ │ │
│ │ │ └─────────────────┘ │
│ │ │ Name: photo1.jpg │
│ │ │ Size: 2.4 MB │
│ │ │ Date: 2024-01-15 │
├─────────────┴─────────────────────┴─────────────────────────┤
│ ~/Photos/2024 | 1 dir, 3 files | s:scan ?:help q:quit │
└─────────────────────────────────────────────────────────────┘
| Pane | Purpose | Content |
|---|---|---|
| Parent | Shows parent directory | Directories only, highlights current |
| Current | Active directory listing | Files and directories |
| Preview | Shows selected item | Image preview or directory contents |
| Key | Action |
|---|---|
j / ↓ |
Move cursor down |
k / ↑ |
Move cursor up |
h / ← / Backspace |
Go to parent directory |
l / → / Enter |
Enter directory or select file |
| Key | Action |
|---|---|
gg |
Jump to first item |
G |
Jump to last item |
Ctrl+f |
Page down |
Ctrl+b |
Page up |
Ctrl+d |
Half page down |
Ctrl+u |
Half page up |
| Key | Action |
|---|---|
~ |
Go to home directory |
- |
Go to previous directory |
Clepho supports full mouse interaction:
| Action | Location | Effect |
|---|---|---|
| Left click | Parent pane | Navigate to clicked directory |
| Left click | Current pane (directory) | Enter directory |
| Left click | Current pane (file) | Select file |
| Right click | Any file | Open with external viewer |
| Scroll up/down | Parent/Current pane | Navigate list |
| Scroll up/down | Preview pane | Scroll preview text |
The preview pane displays different content based on selection:
When an image is selected:
┌─────────────────────────┐
│ │
│ [Rendered Image] │
│ │
└─────────────────────────┘
Name: vacation_001.jpg
Size: 3.2 MB
Dimensions: 4032 x 3024
Camera: Canon EOS R5
Date: 2024-06-15 14:32:00
[AI Description if available]
A sunny beach scene with...
When a directory is selected:
Contents of vacation/:
├── day1/
├── day2/
├── highlights/
├── photo001.jpg
├── photo002.jpg
└── ... (15 more items)
3 directories, 12 files
For long descriptions or metadata:
| Key | Action |
|---|---|
{ |
Scroll preview up |
} |
Scroll preview down |
Select multiple files for batch operations:
| Key | Action |
|---|---|
Space |
Toggle selection on current file |
v / V |
Enter visual mode (select range) |
Ctrl+a |
Select all (in gallery view) |
Esc |
Clear selection / exit visual mode |
In visual mode, movement keys extend the selection:
- Press
vto start visual mode - Move with
j/kto extend selection - Press
Escto confirm selection
Selected files are highlighted and can be used with:
m- Move selected filesr- Rename selected filese- Export metadata@- Schedule processing
By default, Clepho hides dotfiles/directories and shows only supported image files. Toggle filters to see everything:
| Key | Action |
|---|---|
. |
Toggle hidden files (dotfiles) |
H |
Toggle show all files vs images only |
When filters are active, the status bar shows indicators like [.*] (hidden shown) or [all] (all files shown).
The bottom status bar shows:
~/Photos/2024 | 3 dirs, 45 files | [.*,all] | [S:75%] [!2 changes] | s:scan ?:help q:quit
| Element | Meaning |
|---|---|
| Path | Current directory |
| Counts | Directory and file counts |
[.*] |
Hidden files visible |
[all] |
All files visible (not just images) |
[S:75%] |
Running scan at 75% |
[!2 changes] |
2 file changes detected |
| Hints | Available keyboard shortcuts |
| Indicator | Meaning |
|---|---|
/ suffix |
Directory |
> prefix |
Currently selected |
* prefix |
Selected for operation |
| Cyan color | Scanned (in database) |
| White color | Not scanned |
Files are displayed in the following order:
- Directories first (alphabetical)
- Files (alphabetical)
Image preview quality depends on terminal support:
| Terminal | Protocol | Preview Quality |
|---|---|---|
| Kitty | Kitty | Full color, sharp |
| iTerm2 | iTerm2 | Full color, sharp |
| WezTerm | Kitty/Sixel | Full color, sharp |
| Konsole | Sixel | Good color |
| foot | Sixel | Good color |
| xterm | Sixel | Good (if compiled with sixel) |
| Others | Halfblocks | Basic, blocky |
In config.toml:
[preview]
# Auto-detect best protocol
protocol = "auto"
# Or force a specific protocol
# protocol = "kitty"
# protocol = "sixel"
# protocol = "halfblocks"
# protocol = "none" # Disable previews- Use
ggandGto quickly jump to start/end - Use
/to search by description instead of scrolling - Use
~to quickly return to home directory
- Scan the directory first (
s) to enable metadata display - Use semantic search (
/) to find specific photos - Use duplicate detection (
u) to find similar photos
- Run Clepho in one terminal
- Right-click to open photos in external viewer on another monitor
- Use the preview pane for quick verification