Metadata-Version: 2.4
Name: tsmc-server
Version: 0.1.0
Summary: Self-hosted FastAPI backend and Linux service CLI for TSMC
Requires-Python: >=3.12
Description-Content-Type: text/markdown
Requires-Dist: aiosqlite>=0.21.0
Requires-Dist: fastapi>=0.115.0
Requires-Dist: greenlet>=3.2.4
Requires-Dist: httpx>=0.28.1
Requires-Dist: orjson>=3.10.0
Requires-Dist: pydantic-settings>=2.10.1
Requires-Dist: sqlalchemy>=2.0.44
Requires-Dist: uvicorn[standard]>=0.35.0
Requires-Dist: uvloop>=0.22.1; platform_system != "Windows"

# TSMC Server

Self-hosted FastAPI backend and Linux service CLI for TSMC.

## Install As a Tool

Recommended user flow on Linux:

```bash
uv tool install tsmc-server
tsmc service install --start
```

That installs the backend as an isolated `uv` tool, writes config under `~/.config/tsmc/`, stores runtime data under `~/.local/share/tsmc/`, and registers a `systemd --user` service.

Useful commands:

```bash
tsmc service status
tsmc service logs -f
tsmc config path
tsmc doctor
```

## Run In the Foreground

```bash
tsmc run
```

## Development

Run the local development server from source with:

```bash
uv sync
uv run dev
```
