The Ergs web interface provides a modern, responsive web application for browsing and searching your datasources through a user-friendly interface. It offers an alternative to the command-line interface for interactive data exploration.
The web interface provides:
- Search: Full-text search across all datasources with pagination
- Browse: View and navigate through all your configured datasources
- Statistics: Overview of data collection and storage usage
- Responsive Design: Works on desktop, tablet, and mobile devices
# Start with default settings (localhost:8080)
ergs web
# Custom port and host
ergs web --port 3000 --host 0.0.0.0
# With specific configuration file
ergs web --config /path/to/config.toml --port 8080--port- Port to listen on (default: 8080)--host- Host to bind to (default: localhost)--config- Configuration file path
Once started, access the web interface at http://localhost:8080
- Home (
/) - Overview of all datasources with statistics - Search (
/search) - Search across all datasources - Datasources (
/datasources) - Browse individual datasources - API (
/api/) - REST API endpoints (see API Documentation)
- Navigate to the search page or use the search box on any page
- Enter your search terms
- Results are displayed with 30 items per page
- Use pagination controls to navigate through results
- Filter by specific datasources if needed
Search Tips:
- Use quotes for exact phrases:
"error message" - Search is case-insensitive
- All search terms must be present (AND logic)
- Go to the datasources page to see all configured datasources
- Click on any datasource to view its data
- Browse through blocks with pagination
- Each datasource displays data in an appropriate format
- Ctrl+K (or Cmd+K on Mac): Focus search input
- Escape: Clear search focus
The web server uses your existing Ergs configuration. Make sure your datasources are properly configured in ~/.config/ergs/config.toml before starting the web interface.