Vibe Reader
Read terminal output and code files on your eink device. Designed for comfortable reading during vibe coding sessions.
Features
Tmux Integration
- Browse and view tmux session/window/pane output
- 1000-line scrollback history capture (configurable)
- Smart auto-scroll: Follow content end or freeze position
- Visual scrollbar: Shows position in scrollback and viewport size
File Browser
- Navigate directories and view file contents
- Visual scrollbar showing file length and current position
- Server-side syntax highlighting for code and Markdown (tables supported)
- Mermaid diagrams inside Markdown
```mermaidfences render inline when syntax highlighting is enabled
Configuration
- Adjustable scrollback lines (100-10000)
- Font size selection (12-20px)
- Settings persist via localStorage
Eink-Optimized UI
- High contrast, large fonts, no animations
- Collapsible sidebar, compact window display
- Page up/down buttons for manual scrolling
- Single-page design that fits viewport
Quick Start
# Install dependencies
uv sync
# Start server via packaged entry point (restricts file browsing to current directory by default)
uv run vibe-reader
# Or run uvicorn directly (same behavior as above)
uv run uvicorn backend.main:app --host 0.0.0.0 --port 28000
# Optional: Set custom project root for file browser (works with either command)
VIBE_READER_ROOT=/path/to/project uv run vibe-reader
# Open on your eink device
# Navigate to: http://YOUR_SERVER_IP:28000
Usage
Tmux View
- Click ☰ to toggle sidebar
- Select session → window (→ pane if multiple)
- Click Refresh to update content
- Use Page ↑/↓ for manual scrolling
- Toggle Auto↓ to enable/disable auto-scroll to end
- Scrollbar shows your position in scrollback history
Files View
- Enter path or browse directories
- Click folders to navigate, files to view
- Page ↑/↓ for scrolling
- Scrollbar shows file length and current position
- Security: File browsing is restricted to the project root (configurable via
VIBE_READER_ROOT) - File size limit: Maximum 10MB per file
Config View
- Adjust scrollback lines (100-10000, default 1000)
- Change font size (12-20px, default 14px)
- Set auto-refresh interval (0-60 seconds, default 5s)
- Click Save Settings to persist changes
Technical Details
Backend: FastAPI + libtmux Frontend: Vanilla JS, eink-optimized CSS Package Manager: uv
flowchart LR
Browser["Eink Browser"] --> App["FastAPI App"]
App --> Tmux["Tmux Router"]
App --> Files["Files Router"]
App --> Git["Git Router"]
App --> Static["Static Frontend"]
Tmux --> Session["tmux sessions/panes"]
Files --> Repo["project files"]
Git --> Repo
Static --> Browser
Environment Variables
VIBE_READER_ROOT: Sets the root directory for file browsing (default: current working directory)- Files outside this directory cannot be accessed
- Use this to restrict file browsing to a specific project
API Endpoints
Tmux:
GET /api/tmux/tree- List all sessions/windows/panesGET /api/tmux/pane/{session}/{window}/{pane}?scrollback=1000- Get pane content with configurable scrollback
Files:
GET /api/files?path=.- List directory contents (relative to project root)GET /api/files/content?path=file.txt- Render file content (max 10MB) with fieldspath,render_mode,html, andmetadata
Design Principles
- Eink-first: No animations, high contrast, instant updates
- Minimal overhead: Direct tmux capture, simple file operations
- Space-efficient: Every pixel counts on small eink screens
- Single-page: All content fits viewport, reduces refresh artifacts
Project Structure
vibe-reader/
backend/
main.py # FastAPI app with router includes
tmux.py # Tmux endpoints
files.py # File browser endpoints
frontend/
index.html # Single-page UI (Tmux/Files/Config views)
styles.css # Eink-optimized styles
app.js # Client logic with scrollbar management
pyproject.toml # uv configuration
Requirements
- Python 3.13+
- tmux (for tmux viewing feature)
- Modern browser on eink device
License
MIT
Metadata
Release files for vibe-reader 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vibe_reader-0.2.3.tar.gz | 3.5 MB | With provenance | Details for vibe_reader-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vibe_reader-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for vibe_reader-0.2.3-py3-none-any.whl |
Total release size: 7.0 MB
Release files / vibe_reader-0.2.3.tar.gz
| Download URL | vibe_reader-0.2.3.tar.gz |
|---|---|
| Size | 3.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eef3ff1c3ed108cf015910d2f0d5c151fea13f5e3f950b28e9789e886f8cb9fa
|
|
BLAKE2b-256 checksum How to use checksums |
2b173e636ba24ab191c2066b2af768786063b36bf5ebf3d58006ac0566d43cd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.
Transparency logRelease files / vibe_reader-0.2.3-py3-none-any.whl
| Download URL | vibe_reader-0.2.3-py3-none-any.whl |
|---|---|
| Size | 3.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9883f00277865215e66b08dc2f0f3be099ed27e155558e779402f14f77fbfdc
|
|
BLAKE2b-256 checksum How to use checksums |
9c8324be29883713acb5d388c399b32b6b8752b7dca096f84459c2a24be86803
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.
Transparency logSecurity for vibe-reader 0.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for vibe_reader-0.2.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.