Daphne
HTTP, HTTP/2 and WebSocket protocol server for ASGI applications, developed to power Django Channels.
Daphne is an HTTP, HTTP/2 and WebSocket server for ASGI applications, written in Python and developed by the Django project to power Django Channels. It is started as a command that points at an ASGI application and listens on localhost port 8000 by default. It can listen on a UNIX socket behind a reverse proxy or run inside a process manager. The Channels documentation installs it as the channels[daphne] extra of the Channels package.
Worth knowing
HTTP/2 is served natively only when Daphne runs with TLS, set up through Twisted endpoint strings. A reverse proxy in front of it has to pass the HTTP/2 connection through for the protocol to reach the browser.
Identity
- Status
- Active
- Maintainer
- Django Software Foundation3
- Maintained by
- Foundation3
- First release
- 20166
Rendering and deploy
Releases
Adoption
Sources
- 2026-10-28: links, Written in, License, License model, GitHub stars
api.github.com/repos/django/daphne - 2026-10-28: links, Install with
channels.readthedocs.io/en/stable/installation.html - 2026-10-28: Maintainer, Maintained by
github.com/django/daphne/blob/main/LICENSE - 2026-10-28: Categories, Runs as
github.com/django/daphne - 2026-10-28: Runtime, Minimum runtime
github.com/django/daphne/blob/4.2.3/pyproject.toml - 2026-10-28: First release
pypi.org/pypi/daphne/json - 2026-10-28: Current major version, Last release
github.com/django/daphne/blob/main/CHANGELOG.txt - 2026-10-28: Contributors
api.github.com/repos/django/daphne/contributors?per_page=1 - 2026-10-28: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/pypi.org/packages/daphne