{"id":18510973,"url":"https://github.com/akhtar21yr/realtime-feed-subscription","last_synced_at":"2026-05-01T18:33:01.409Z","repository":{"id":229171531,"uuid":"775972883","full_name":"Akhtar21yr/RealTime-Feed-Subscription","owner":"Akhtar21yr","description":"This repository contains a Django application for building a real-time feed subscription system. The system allows users to subscribe to channel groups and receive live feed updates using the Binance WebSocket API.","archived":false,"fork":false,"pushed_at":"2024-03-24T08:51:11.000Z","size":167,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-05T19:11:53.837Z","etag":null,"topics":["django","django-rest-framework","djangp-channel","postgresql","redis","socket","sql","websocket"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Akhtar21yr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-22T12:24:15.000Z","updated_at":"2024-06-12T10:47:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"4b929e7d-c19b-4463-a370-05e8b3eba474","html_url":"https://github.com/Akhtar21yr/RealTime-Feed-Subscription","commit_stats":null,"previous_names":["akhtar21yr/realtime-feed-subscription"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Akhtar21yr/RealTime-Feed-Subscription","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akhtar21yr%2FRealTime-Feed-Subscription","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akhtar21yr%2FRealTime-Feed-Subscription/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akhtar21yr%2FRealTime-Feed-Subscription/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akhtar21yr%2FRealTime-Feed-Subscription/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Akhtar21yr","download_url":"https://codeload.github.com/Akhtar21yr/RealTime-Feed-Subscription/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akhtar21yr%2FRealTime-Feed-Subscription/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32508901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["django","django-rest-framework","djangp-channel","postgresql","redis","socket","sql","websocket"],"created_at":"2024-11-06T15:26:16.377Z","updated_at":"2026-05-01T18:33:01.388Z","avatar_url":"https://github.com/Akhtar21yr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Real-Time Feed Subscription System with Django\n\nThis repository contains a Django application for building a real-time feed subscription system. The system allows users to subscribe to channel groups and receive live feed updates using the Binance WebSocket API.\n\n## Features\n\n1. **User Authentication:** Users can register and log in to the application.\n2. **Subscription:** Upon logging in, users can subscribe to channel groups to receive live feed updates.\n3. **WebSocket Integration:** Django Channels is used to handle WebSocket connections and send live feed messages to subscribed users.\n4. **Scalability:** The application is designed to handle a large number of concurrent users subscribing to the feed.\n\n## Technologies Used\n\n- Python\n- Django\n- Django Rest Framework\n- Django Channels\n- Redis\n\n## Installation\n\n1. Clone this repository to your local machine:\n\n   ```bash\n   git clone https://github.com/Akhtar21yr/RealTime-Feed-Subscription\n   cd realtime_feed_subscription\n   ```\n2. Install the required dependencies:\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n3. Set up PostgreSQL database according to settings in settings.py.\n    ```bash\n    DATABASES = {\n        'default': {\n            'ENGINE': 'django.db.backends.postgresql',\n            'NAME': 'Enter Your Database Name',\n            'USER': 'Enter Your Username',\n            'PASSWORD': 'Enter You Password',\n            'HOST': 'localhost',  \n        }\n    }\n    ```\n4. Apply migrations:\n    ```bash\n    python manage.py makemigrations\n    python manage.py migrate\n    ```\n\n5.  Run the development server:\n    ```bash\n    python manage.py runserver\n    ```\n## Usage\n\n1. **User Registration:** Navigate to `/api/register/` to register a new user by providing email, full name, age, and password.\n \n    **How to Use:**\n    - Add email, full_name, password, password2, age, city as a  json data in Body/raw to register your self as a user.\n\n    ```bash\n    {\n    \"email\":\"admin@gmail.com\",\n    \"full_name\" : \"admin\",\n    \"password\":\"admin\",\n    \"password2\":\"admin\",\n    \"age\" : 21,\n    \"city\" : \"mumbai\"\n    }\n    ```\n    - If everything is ok then is provide access and refresh token, copy the access token for further use.\n\n2. **User Login:** Go to `/api/login/` to log in with the registered credentials.\n\n    **How to Use:**\n    - Add email, password in Body/raw as a  json data to login in system.\n    ```bash\n    {\n    \"email\":\"admin@gmail.com\",\n    \"password\":\"admin\"\n    }\n    ```\n    - If everything is ok then is provide access and refresh token, copy the access token for further use.\n\n3. **Subscription:** After logging in, access ``/api/subscribe/`` to subscribe to channel groups for live feed updates.\n    \n    **How to Use:**\n    - First Provide latest token in header `authorization` as key and  `Bearer \u003cYour-copied-access-token\u003e` as a value.\n\n    ![Example Image](readme-media/image/Screenshot-(10).png)\n    - Provide gc_name as a json data in which group you want to subscribe.\n    ```bash\n    {\n        \"gc_name\" : \"binance\"\n    }\n    ```\n    - Make sure to subscribe `binance` group.\n    \n\n\n\n## WebSocket Connection Usage\n\n**WebSocket connection:** established websocket connection to get the data from Binance at `ws://127.0.0.1:8000/ws/binance/` .\n\n**How To Use:**\n- First Provide token in header `authorization` as key and  `Bearer \u003cYour-copied-access-token\u003e` as a value.\n\n![Example Image](readme-media/image/Screenshot-(11).png)\n\n- Make sure you have already subscribed `binance` group.\n\n- Connect to the websocket and enjoy real-time feed data from binance.\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakhtar21yr%2Frealtime-feed-subscription","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakhtar21yr%2Frealtime-feed-subscription","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakhtar21yr%2Frealtime-feed-subscription/lists"}