A TUI + Web documentation viewer that renders markdown in real-time. Built with Go, Bubble Tea and Glamour.
- 📺 Dual Preview: View documentation in Terminal (TUI) or Browser (Web)
- 🎨 Live Rendering: Markdown is converted to HTML on-the-fly via local HTTP server
- 📚 Two-column layout (TUI): Navigation on the left, markdown preview on the right
- 🌐 Web Preview: Opens in browser with syntax highlighting and light/dark theme toggle
- 🔍 Full-text search: Search across all documentation
- 📱 Responsive: Adapts to terminal size
- 📋 Clipboard: Copy documentation with
[Enter]key - ⌨️ Full keyboard navigation
# Build
make build
# Run - select a workspace to view docs
./bin/efx-docPress w to open the web preview in your browser!
Download the latest release for your platform:
# macOS
curl -L https://github.com/efxlab/efx-doc/releases/latest/download/efx-doc-darwin-arm64 -o efx-doc
chmod +x efx-doc
# Linux
curl -L https://github.com/efxlab/efx-doc/releases/latest/download/efx-doc-linux-amd64 -o efx-doc
chmod +x efx-doc
# Windows
curl -L https://github.com/efxlab/efx-doc/releases/latest/download/efx-doc-windows-amd64.exe -o efx-doc.exegit clone https://github.com/efxlab/efx-doc.git
cd efx-doc
make build# Run the application
./efx-doc
# Or install to PATH
make install| Key | Action |
|---|---|
↑/↓ or j/k |
Navigate document list |
Space |
Next document |
Tab |
Switch category |
←/→ |
Previous/Next page (list) |
PgUp/PgDn |
Scroll documentation |
/ or ? |
Search |
Enter |
Copy to clipboard |
f |
Open folder in Finder |
w |
🌐 Open web preview |
s |
Stop web server |
q |
Quit |
This is the main feature of efx-doc! Press w to start a local HTTP server and open documentation in your browser:
- Live conversion: Markdown → HTML in real-time
- Sidebar navigation: Browse categories and documents
- Syntax highlighting: Code blocks with GitHub Dark/Light themes
- Light/Dark mode: Toggle button in top-right corner
- Keyboard navigation:
j/knavigate,Enteropen,rrefresh - Auto-sync: Changes in TUI reflect instantly in browser
The application uses workspace configuration to load documentation. Workspaces are defined in ~/.config/efx-doc/workspaces.yaml.
See BUILDING.md for detailed instructions on creating documentation for efx-doc.
# Build for current platform
make build
# Build for all platforms
make build-all
# Run in development mode
make dev
# Run tests
make testMIT License - see LICENSE for details.
Built with ❤️ using Bubble Tea and Glamour

