Metadata-Version: 2.4
Name: logler-web
Version: 0.1.0
Summary: Web interface for logler - log viewing with thread tracking and analysis
Project-URL: Homepage, https://github.com/gabu-quest/logler-web
Project-URL: Documentation, https://github.com/gabu-quest/logler-web#readme
Project-URL: Repository, https://github.com/gabu-quest/logler-web
Author: Logler Contributors
License: MIT
Keywords: debugging,logging,logs,monitoring,viewer,web
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: FastAPI
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Debuggers
Classifier: Topic :: System :: Logging
Requires-Python: >=3.9
Requires-Dist: fastapi>=0.100.0
Requires-Dist: logler>=1.0.0
Requires-Dist: uvicorn[standard]>=0.20.0
Provides-Extra: dev
Requires-Dist: httpx>=0.28.0; extra == 'dev'
Requires-Dist: pytest>=8.0.0; extra == 'dev'
Requires-Dist: ruff>=0.3.0; extra == 'dev'
Description-Content-Type: text/markdown

# Logler Web

Web UI for [Logler](https://github.com/gabu-quest/logler) - Beautiful log viewer with Vue3 + Naive-UI.

## Features

- **Log Viewer** - Virtualized rendering with color-coded log levels
- **File Browser** - Navigate directories and search with glob patterns
- **Multi-File Interleaving** - Open multiple files with merged timeline
- **Filtering** - Search, level, thread, and correlation ID filters
- **Live Following** - Real-time log updates via WebSocket
- **Hierarchy View** - Thread/span tree visualization
- **Waterfall View** - Timeline visualization
- **SQL Queries** - Query logs with SQL using DuckDB

## Installation

```bash
pip install logler-web
```

## Usage

```bash
# Start the web server
logler-web --port 8080

# With custom log root directory
LOGLER_ROOT=/var/log logler-web
```

## Development

### Prerequisites

- Python 3.9+
- Node.js 18+
- pnpm (recommended) or npm

### Setup

```bash
# Install Python dependencies
pip install -e ".[dev]"

# Install Node dependencies
pnpm install

# Start development servers
pnpm dev          # Vue dev server (port 5173)
logler-web --reload  # FastAPI server (port 8080)
```

### Build

```bash
# Build Vue frontend
pnpm build

# The built files go to dist/ and are served by FastAPI
```

## Tech Stack

- **Frontend**: Vue 3, Naive UI, Phosphor Icons, Pinia
- **Backend**: FastAPI, Uvicorn
- **Design**: [the-style](https://github.com/gabu-quest/the-style) Cyberpunk edition
- **Log Processing**: [logler](https://github.com/gabu-quest/logler) package

## License

MIT
