What problem does it solve?
Building a Quart web application with correct server structure, WebSocket handling, and safe CORS/origin behavior is easy to get wrong and time-consuming to standardize across projects.
Core Features & Use Cases
- Application factory pattern: Centralized configuration loading and repeatable app creation for consistent deployments.
- WebSocket endpoints: Real-time async message handling with an explicit event loop approach.
- CORS and CSWSH-safe origin validation: CORS configured with explicit allowed origins and WebSocket Origin validation to reduce cross-site WebSocket risk.
- Testing UI for WebSockets: A built-in lightweight index page to manually test WebSocket connections end-to-end.
- Uvicorn entry points: Clear module exports for running with uvicorn as an ASGI app.
Quick Start
Ask the AI to create a Quart webapp using the quart-webapp skill with a health endpoint, a WebSocket /ws/chat endpoint, and secure CORS/origin handling.