Metadata-Version: 2.4
Name: llm-sniffer
Version: 0.1.0
Summary: LLM Sniffer - OpenAI-compatible reverse proxy with request/response inspector
Author: january
License: MIT License
        
        Copyright (c) 2026
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/web-infra-dev/midscene-skills
Project-URL: Bug-Tracker, https://github.com/web-infra-dev/midscene-skills/issues
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: fastapi>=0.100.0
Requires-Dist: uvicorn>=0.23.0
Requires-Dist: httpx>=0.24.0
Requires-Dist: pyyaml>=6.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.21; extra == "dev"
Dynamic: license-file

# LLM Sniffer

LLM Sniffer is an OpenAI-compatible reverse proxy with request/response inspector.

## Features

- **Reverse Proxy**: OpenAI-compatible API proxy
- **Request/Response Inspector**: Monitor and inspect all LLM requests and responses
- **SSE Support**: Server-Sent Events for streaming responses
- **Modern UI**: Clean web interface for inspecting traffic

## Installation

```bash
pip install llm-sniffer
```

## Usage

Start the proxy server:
```bash
llm-sniffer
```

Configure your LLM client to use:
```
http://127.0.0.1:8000/v1
```

Then open http://127.0.0.1:8000 in your browser to inspect requests.

## Configuration

Default port is 8000. You can customize the port in the config file.

## License

MIT License
