Skip to content

Duck Framework

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.

Python >=3.10 GitHub stars License Build Status

(More badges — security, performance, integrations — on the Features page.)


Quickstart

# 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 runserver

Visit http://localhost:8000 — you're running Duck. For the full walkthrough (install options, project types, what gets generated), see Getting Started.


Documentation

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.

About

Build high-performance, scalable, server-side reactive web applications — without a separate frontend framework or a complex JavaScript stack.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

44 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages