{"id":20825994,"url":"https://github.com/bearbobs/stream-data","last_synced_at":"2025-10-16T19:21:40.388Z","repository":{"id":39720660,"uuid":"248962522","full_name":"Bearbobs/stream-data","owner":"Bearbobs","description":"Data Streaming application using Django Channels","archived":false,"fork":false,"pushed_at":"2022-12-08T03:51:12.000Z","size":49,"stargazers_count":2,"open_issues_count":4,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T20:36:30.273Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Bearbobs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-21T11:31:02.000Z","updated_at":"2023-07-16T18:32:41.000Z","dependencies_parsed_at":"2022-09-20T08:52:23.763Z","dependency_job_id":null,"html_url":"https://github.com/Bearbobs/stream-data","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bearbobs%2Fstream-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bearbobs%2Fstream-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bearbobs%2Fstream-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bearbobs%2Fstream-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bearbobs","download_url":"https://codeload.github.com/Bearbobs/stream-data/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252954125,"owners_count":21830892,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T23:07:25.352Z","updated_at":"2025-10-16T19:21:35.331Z","avatar_url":"https://github.com/Bearbobs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stream-data\nData Streaming application using Django Channels\nIt provides API endpoints for your Django application that can push data to connected clients. Data is sent using the Server-Sent Events protocol (SSE), in which data is streamed over a never-ending HTTP response.\n\nFor example, endpoint, `/events/`, that a client could connect to with a GET request:\n\n```http\nGET /events/ HTTP/1.1\nHost: api.example.com\nAccept: text/event-stream\n```\n\nThe client would receive a streaming HTTP response with content looking like this:\n\n```http\nHTTP/1.1 200 OK\nTransfer-Encoding: chunked\nConnection: Transfer-Encoding\nContent-Type: text/event-stream\n\nevent: message\ndata: {\"foo\": \"bar\"}\n\nevent: message\ndata: {\"bar\": \"baz\"}\n\n...\n```\n\n## Features:\n\n* Easy to consume from browsers or native applications.\n* Highly reliable. Events can be persisted to your database, so clients can recover if they get disconnected.\n* Set per-user channel permissions.\n\n## How to Setup:\npython3 is assumed to be installed, if not do the same\n```\nvirtualenv venv\npip install -r requirements.txt\npython manage.py migrate\npython manage.py makemigrations\npython manage.py runserver\n```\nfor Authorization: channelmanager in stream app\nfor Generating data: generators.py\n\n### for Scaling and Large UserBase:\nyou need to run multiple instances of your Django project for high availability, or need to push data from management commands, or need to be able to scale to a large number of connections, you can introduce a GRIP proxy layer (such as [Pushpin](https://pushpin.org) or [Fanout Cloud](https://fanout.io)) into your architecture.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbearbobs%2Fstream-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbearbobs%2Fstream-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbearbobs%2Fstream-data/lists"}