Metadata-Version: 2.4
Name: comfyui-workflow-to-api
Version: 0.1.0
Summary: Small feedback form widget for ComfyUI workflows
Project-URL: Homepage, https://github.com/brnv/comfyui-workflow-to-api
Author-email: Artem <brnv@canva.com>
License-Expression: MIT
License-File: LICENSE
Keywords: api,comfyui,feedback,ui,workflow
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Requires-Dist: flask>=3.0
Description-Content-Type: text/markdown

# comfyui-workflow-to-api

Small feedback form for ComfyUI workflows. Collects ratings and comments via a lightweight web UI.

## Installation

```bash
pip install comfyui-workflow-to-api
```

## Usage

```bash
comfyui-feedback --port 5000
```

Open http://localhost:5000 to see the form. Feedback is stored in `feedback.json` (JSON-lines).

### API

- `POST /api/feedback` — submit `{"workflow_id", "rating", "comment"}`
- `GET /api/feedback` — list all feedback entries

### Python

```python
from comfyui_workflow_to_api import create_app

app = create_app(storage_path="my_feedback.json")
app.run(port=8080)
```

## License

MIT
