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, flexible, 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. You'll have everything you need to build your first app. Explore the other guides as your project grows.
- Getting Started — install Duck, create a project, and start the server.
- Understanding the Project — understand
main.py,urls.py, views, pages, components, templates, and static files.
- Native Apps — get started with Duck Native and native app development.
- Django Integration — add Duck's HTTP/2, HTTPS, and security features to an existing Django project.
- Features — explore Duck's capabilities and planned features.
- AI Guidelines — use Duck with AI assistants and AI-assisted development.
- About & Links — discover real-world apps, useful links, and fun facts.
- Contributing — learn about contributing, reporting issues, sponsorship, and premium components.
- Official Documentation — explore the full documentation.
Duck is updated regularly — check the repo for improvements and bug fixes.
