{"id":21832921,"url":"https://github.com/null-none/drf-chat","last_synced_at":"2025-03-21T13:44:28.363Z","repository":{"id":57424020,"uuid":"424928150","full_name":"null-none/drf-chat","owner":"null-none","description":"Simple async and sync messaging app for Django Rest Framework","archived":false,"fork":false,"pushed_at":"2021-11-10T10:29:55.000Z","size":12,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T19:40:41.286Z","etag":null,"topics":["api","chat","drf","python","websocket"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/null-none.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-05T11:42:31.000Z","updated_at":"2023-06-22T13:04:38.000Z","dependencies_parsed_at":"2022-09-14T07:24:44.327Z","dependency_job_id":null,"html_url":"https://github.com/null-none/drf-chat","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/null-none%2Fdrf-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/null-none%2Fdrf-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/null-none%2Fdrf-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/null-none%2Fdrf-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/null-none","download_url":"https://codeload.github.com/null-none/drf-chat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244807314,"owners_count":20513610,"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":["api","chat","drf","python","websocket"],"created_at":"2024-11-27T19:27:06.230Z","updated_at":"2025-03-21T13:44:28.337Z","avatar_url":"https://github.com/null-none.png","language":"Python","readme":"# drf-chat \nSimple async and sync messaging app for Django Rest Framework\n\nFeatures:\n+ Facebook-style chat API\n+ Websocket-based chat\n+ Words blacklist\n+ Files attachments\n+ Firebase Messaging notifycations\n\n\n### Installation\n\n```\npip install drf-chat\n```\n\n```python\n# REST\nREST_FRAMEWORK = {\n    'DEFAULT_AUTHENTICATION_CLASSES': (\n        'rest_framework.authentication.TokenAuthentication',\n    ),\n    'DEFAULT_PERMISSION_CLASSES': [\n        'rest_framework.permissions.IsAuthenticated',\n    ],\n    'EXCEPTION_HANDLER': 'drf_chat.exceptions.api_exception_handler',\n    'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination'\n}\n```\n  * ASGI and Channels\n```python\n# Channels\nCHANNEL_LAYERS = {\n    \"default\": {\n        \"BACKEND\": \"channels_redis.core.RedisChannelLayer\",\n        \"CONFIG\": {\n            \"hosts\": [(\"localhost\", 6379)],\n        },\n    },\n}\nASGI_APPLICATION = \"drf_chat.routing.application\"\n```\n  * Add drf_chat to your installed apps\n ```python\nINSTALLED_APPS = [\n\t...\n    'channels',\n    'rest_framework',\n    'rest_framework.authtoken',\n\n\t...\n\t\n    'drf_chat'\n]\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnull-none%2Fdrf-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnull-none%2Fdrf-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnull-none%2Fdrf-chat/lists"}