Learn how to use the interactive terminal file browser.
The TUI (Terminal User Interface) browser provides an interactive way to:
- Browse remote directory structure
- View file listings
- Download files to local machine
- Navigate directories
The browser launches automatically after successful connection:
orb connect --session abc123 --passcode xyz789┌─ Remote Files ─────────────────────────────────────┐
│ Current: /documents/projects │
├────────────────────────────────────────────────────┤
│ subfolder/ │
│ report.pdf │
│ data.xlsx │
│ notes.txt │
│ │
│ │
└────────────────────────────────────────────────────┘
Press Enter to select, Backspace for parent, q to quit
- Header: Shows current directory path
- File List: Scrollable list of files and directories
- Status Bar: Helpful key hints and messages
- Icons: for directories, for files
| Key | Action |
|---|---|
↑ |
Move cursor up |
↓ |
Move cursor down |
k |
Move cursor up (Vim-style) |
j |
Move cursor down (Vim-style) |
Enter |
Enter directory or download file |
Backspace |
Go to parent directory |
q |
Quit browser |
Ctrl+C |
Force quit |
Currently not supported. Use keyboard navigation.
- Navigate to a directory using arrow keys
- Press Enter to open the directory
- View contents in the updated list
- Press Backspace to go back
Example navigation:
/ (root)
├── documents/ (Enter to open)
│ ├── work/ (Enter to open)
│ │ └── report.pdf
│ └── personal/
└── photos/
- Navigate to the file you want
- Press Enter on the file
- File downloads to your current directory
- Status message confirms download
Downloading: report.pdf...
Downloaded: report.pdf (1.2 MB)
Files download to the directory where you ran orb connect:
cd ~/Downloads
orb connect --session <ID> --passcode <CODE>
# Files download to ~/DownloadsDownload multiple files by:
- Download first file
- Navigate to next file
- Download next file
- Repeat as needed
Note: Bulk download not currently supported.
[OK] Downloaded: file.txt
[OK] Directory loaded
[OK] Ready
[ERROR] Failed to download: permission denied
[ERROR] Cannot read directory
[ERROR] Connection lost
Loading directory...
Downloading file...
Connecting...
Currently not implemented. Future versions may support:
- Search by filename
- Filter by extension
- Sort by size/date
Currently not implemented. Future versions may support:
- Save frequently accessed paths
- Quick navigation to bookmarks
Currently not implemented. Future versions may support:
- Text file preview
- Image preview
- File size display
Displayed with icon:
documents/
photos/
projects/
Press Enter to navigate into directory.
Displayed with icon:
README.md
report.pdf
data.json
Press Enter to download file.
Hidden Files
Hidden files (starting with .) are shown:
.gitignore
.env
.config/
Symlinks appear as their target type:
- Symlink to directory: Shows as directory
- Symlink to file: Shows as file
- Broken symlink: May show error
For directories with many files:
- Listing may take a moment
- Scrolling remains smooth
- All files shown in list
When downloading large files:
- Download progress not shown (yet)
- Browser may appear frozen
- Wait for completion message
Tip: For very large files, consider using a download manager or resumable protocol in future versions.
On slow connections:
- Directory listings take longer
- File downloads are slower
- Connection may timeout
Tip: Keep connection active, avoid network interruptions.
Error: failed to load directory
Causes:
- Connection failed
- Handshake incomplete
- Permission denied
Solutions:
- Check connection logs
- Verify credentials
- Ensure share is active
Error: download failed
Causes:
- File not readable
- Permission denied
- Network interruption
- Disk full
Solutions:
- Check file permissions on sharer
- Verify disk space
- Test network connection
- Try smaller file first
Causes:
- Large file download in progress
- Network timeout
- Terminal too small
Solutions:
- Wait for operation to complete
- Press Ctrl+C to cancel
- Resize terminal window
- Check network connectivity
Causes:
- Terminal doesn't support colors
- Terminal too small
- Unicode not supported
Solutions:
- Use modern terminal (iTerm2, Alacritty, Windows Terminal)
- Resize to at least 80x24
- Enable UTF-8 support
For best experience:
- Minimum: 80 columns × 24 rows
- Recommended: 120 columns × 30 rows
- Wide terminals show more files
# Create session-specific download directory
mkdir -p ~/Downloads/session-$(date +%Y%m%d)
cd ~/Downloads/session-$(date +%Y%m%d)
orb connect --session <ID> --passcode <CODE># Navigate efficiently
# Use ↓↓↓ or jjj to move down quickly
# Press Enter to open
# Backspace to go back# For bulk downloads, script it (future feature)
# Current: manual download each fileAfter download, verify:
# Check file size
ls -lh downloaded-file.pdf
# Verify with checksum (if available)
sha256sum downloaded-file.pdf- Download to isolated directory
- Scan for malware if needed
- Verify file type
- Check file permissions
- File names visible in browser
- Directory structure revealed
- Consider data sensitivity
Quick reference card:
Navigation:
↑/k Move up
↓/j Move down
Enter Select/Open/Download
Bksp Parent directory
Actions:
q Quit browser
Ctrl+C Force quit
(More shortcuts in future versions)
1. Start at /
2. ↓ to "documents/"
3. Enter
4. ↓ to "projects/"
5. Enter
6. ↓ to "report.pdf"
7. Enter to download
1. Navigate to directory
2. ↓ to first file
3. Enter (downloads)
4. ↓ to next file
5. Enter (downloads)
6. Repeat
1. Navigate directories with Enter
2. Backspace to go up
3. Explore branches
4. Backspace back to root
5. Explore other branches
TUI Browser:
- Interactive browsing
- Visual directory structure
- Easy navigation
- No automation
CLI Download:
- Scriptable
- Batch operations
- No browsing (yet)
- Manual path specification
TUI Browser:
- Works over SSH
- No GUI required
- Lightweight
- Limited features
GUI Client (future):
- Mouse support
- Drag and drop
- Requires desktop
- Not implemented
Planned features:
- Search and filter
- Bulk download
- Upload support (if write access added)
- File preview
- Progress bars
- Sorting options
- Bookmarks
- Mouse support
- Copy/paste paths
- Learn about Command Reference
- Read Troubleshooting guide
- Explore Connection details