{"id":17340982,"url":"https://github.com/synw/django-rechat","last_synced_at":"2025-04-14T19:08:24.996Z","repository":{"id":57421507,"uuid":"65623499","full_name":"synw/django-rechat","owner":"synw","description":"A chat application for Django","archived":false,"fork":false,"pushed_at":"2022-03-08T13:17:04.000Z","size":142,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T07:34:13.361Z","etag":null,"topics":["django-instant"],"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/synw.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}},"created_at":"2016-08-13T15:22:18.000Z","updated_at":"2022-08-27T07:38:28.000Z","dependencies_parsed_at":"2022-09-10T13:21:30.132Z","dependency_job_id":null,"html_url":"https://github.com/synw/django-rechat","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synw%2Fdjango-rechat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synw%2Fdjango-rechat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synw%2Fdjango-rechat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synw%2Fdjango-rechat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/synw","download_url":"https://codeload.github.com/synw/django-rechat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248804803,"owners_count":21164134,"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":["django-instant"],"created_at":"2024-10-15T15:47:18.661Z","updated_at":"2025-04-14T19:08:24.961Z","avatar_url":"https://github.com/synw.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django Rechat\n\nChat application for Django using websockets\n\n## Install\n\n```\npip install django-rechat\n```\n\nAdd `\"rechat\"` and `\"instant\"` to `INSTALLED_APPS` in settings and update `urls.py`:\n\n```python\nurlpatterns = [\n    # ...\n    path(\"instant/\", include(\"instant.urls\")),\n    path(\"rechat/\", include(\"rechat.urls\")),\n]\n```\n\nInstall the websockets server: [quickstart](https://github.com/synw/django-instant#install-the-websockets-server)\n\nCreate chat rooms in the admin\n\n## Usage\n\nAn Alpinejs frontend is available. To use the rechat templates create your own index template\n(here with Tailwind css classes):\n\n```django\n{% extends \"base.html\" %}\n\n{% block content %}\n{% include \"rechat/init.html\" %}\n\u003cdiv class=\"flex flex-row h-full\" x-init=\"$rechat.hxget('{% url 'rechat-rooms' %}', '#rooms')\"\u003e\n  \u003cdiv id=\"rooms\" class=\"w-2/12 h-full p-3 border-r border-gray-200 bg-slate-100\"\u003e\n    Loading rooms ..\n  \u003c/div\u003e\n  \u003cdiv id=\"room\"\u003e\n    \u003cdiv class=\"p-5 text-stone-400\"\u003eSelect a chatroom\u003c/div\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n{% endblock %}\n```\n\n## Example project\n\nA runnable [example project](https://github.com/synw/django-rechat-example) is available \n\n## Todo\n\n- [x] Add a persistence layer option\n- [x] Group level authorizations and rooms\n- [ ] Rate limits\n- [ ] Channel admin, kick/ban\n- [ ] Add a presence widget to show users in the chat\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynw%2Fdjango-rechat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsynw%2Fdjango-rechat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynw%2Fdjango-rechat/lists"}