Duck Framework is an open-source Python web framework and web server with a built-in reactive UI engine and real-time WebSocket support.
Build high-performance, scalable, server-side reactive web applications — without a separate frontend framework or a complex JavaScript stack.
(More badges — security, performance, integrations — on the Features page.)
# Install Duck Framework
pip install duckframework
# Create a project
duck makeproject myproject
# Change directory to myproject
cd myproject
# Run the webserver
python web/main.py # Optionally use duck runserverVisit http://localhost:8000 — you're running Duck. For the full walkthrough (install options, project types, what gets generated), see Getting Started.
Duck includes everything you need to build your UI, while Quirl, the official component library, provides modern, reusable HTML and Lively components for building richer interfaces and interactions.
New to Duck? Start with Getting Started, then Understanding the Project — that's really all you need to build your first app. The rest is there when you need it.
- 🟢 Getting Started — install Duck, create a project, and start the server
- 🟢 Understanding the Project — what each generated file does:
main.py,urls.py, views, pages, components, templates, static files - 🔵 Django Integration — add Duck's HTTP/2, HTTPS, and security features to an existing Django project
- 🔵 Features — full feature breakdown, plus what's coming next
- 🔵 AI Guidelines — using Duck with AI assistants / vibe coding
- ⚪ About & Links — real-world apps, fun facts, useful links
- ⚪ Contributing — sponsorship, reporting issues, premium components
- ⚪ Official Documentation — full documentation
🟢 = start here
🔵 = once you're building
⚪ = optional reading
Duck is updated regularly — check the repo for improvements and bug fixes.