{"repo":"usmanhalalit/DjangoRealtime","free":true,"listed":false,"github":"https://github.com/usmanhalalit/DjangoRealtime","clone":"git clone https://github.com/usmanhalalit/DjangoRealtime.git","description":"Realtime browser events, SSE for Django + PostgreSQL","language":"Python","stars":195,"topics":["django","django-application","postgresql","pubsub","realtime","server-sent-events","sse"],"license":"MIT","category":"databases-storage","readme_excerpt":"DjangoRealtime Add realtime capabilities to your Django web app in no time. No WebSockets, no Channels, no processes to run, no Redis. Just set up and go! Django + PostgreSQL = Realtime Updates in Browser Live Demo Check out the live demo at and chat in 90s-style chatroom: Chat room Built with HTMX and 6 lines of vanilla JavaScript! Code is in examples/chatroom. Basic Usage Browsers receive it instantly ✨: How it works Built on HTTP Server-Sent Events (SSE) and native PostgreSQL NOTIFY/LISTEN. Everything is auto-configured: - Secure by default - events are user-scoped by default - Works everywhere - SSE is your standard HTTP, no WebSocket complexity - Scales across workers - multiple Django processes can communicate via PostgreSQL - Zero fluff - runs on your existing Django + PostgreSQL stack. - Automatic reconnection - handles network interruptions seamlessly, for both client and server - Event persistence - events stored in database for reliability and replay - Django admin integration - view and replay events from the admin panel - Sync or async views - keep using sync views, only make sure to use asgi server Use Cases - Update UI state without polling - Notify users of background task completion - Realtime messaging and chat - Communicate between multiple Django instances or background workers - Event-driven applications - Live dashboards and notifications, like polls, comments, displays etc - Flexible event log - And more! Table of Contents - Installation - Database Migr","default_branch":null,"files":null,"tree":[],"storefront":"/r/usmanhalalit","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/usmanhalalit/DjangoRealtime/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}