Metadata-Version: 2.4
Name: tg-webui
Version: 0.0.1
Summary: Legacy web panel for tg-agent (`tg-agent serve`): FastAPI + Jinja2 dashboard; frozen, optional
Author: Axisrow
License-Expression: MIT
Project-URL: Homepage, https://github.com/axisrow/tg_webui
Project-URL: Issues, https://github.com/axisrow/tg_webui/issues
Keywords: telegram,agent,web,fastapi
Classifier: Development Status :: 7 - Inactive
Classifier: Environment :: Web Environment
Classifier: Framework :: FastAPI
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Typing :: Typed
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: tg-agent
Requires-Dist: tg-shared
Requires-Dist: fastapi<0.163,>=0.136.3
Requires-Dist: jinja2>=3.1.6
Requires-Dist: python-multipart>=0.0.29
Requires-Dist: itsdangerous>=2.2.0
Requires-Dist: qrcode>=8.0
Dynamic: license-file

# tg-webui

The legacy web panel of tg-agent (`tg-agent serve`): a FastAPI + Jinja2/HTMX
dashboard over the same services the CLI uses. Split out of the core in
[#1720](https://github.com/axisrow/tg_content_factory/issues/1720) (wave 3),
following the `packages/tg_shared` layout.

**Status: legacy, frozen.** Under the automation-first contract the web panel
is a deprecated human-facing surface: it keeps working, gets no new features.
The core (`tg_agent`) never imports this package — an import-linter contract
enforces it; only the `serve` entry point loads it lazily. The runtime split
is unchanged: `serve` hosts uvicorn plus an embedded worker, `serve --no-worker`
runs only the web side next to a separate `tg-agent worker`.

## Install

```bash
pip install -e packages/tg_webui
```

Without it, `tg-agent serve` exits with code 1 and an install hint; the worker
daemon (`tg-agent restart` / `tg-agent worker`) and every other command work
without the package.
