{"id":25442336,"url":"https://github.com/arvind-4/chatapp","last_synced_at":"2025-11-01T14:30:27.578Z","repository":{"id":119414294,"uuid":"412016611","full_name":"Arvind-4/Chatapp","owner":"Arvind-4","description":"Real Time Chat App Using Django, Channels, JavaScript and much more.","archived":false,"fork":false,"pushed_at":"2024-02-05T14:10:59.000Z","size":5343,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-30T16:56:36.190Z","etag":null,"topics":["channels","chat-application","chatroom","django","django-application","django-channels","django-framework","django-project","html5","javascript","postgresql","python","real-time","real-time-chat-app","reconnecting-websocket","tailwind-css","tailwindcss","tailwindui","websocket"],"latest_commit_sha":null,"homepage":"https://github.com/Arvind-4/Chatapp","language":"HTML","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/Arvind-4.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}},"created_at":"2021-09-30T10:15:43.000Z","updated_at":"2023-12-03T10:03:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"c8d3e30b-c5e2-4f2f-b31e-c9ad51f2c9ae","html_url":"https://github.com/Arvind-4/Chatapp","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/Arvind-4%2FChatapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arvind-4%2FChatapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arvind-4%2FChatapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arvind-4%2FChatapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Arvind-4","download_url":"https://codeload.github.com/Arvind-4/Chatapp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239293921,"owners_count":19615043,"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":["channels","chat-application","chatroom","django","django-application","django-channels","django-framework","django-project","html5","javascript","postgresql","python","real-time","real-time-chat-app","reconnecting-websocket","tailwind-css","tailwindcss","tailwindui","websocket"],"created_at":"2025-02-17T13:18:07.656Z","updated_at":"2025-11-01T14:30:27.532Z","avatar_url":"https://github.com/Arvind-4.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Chat App\n\n \u003cp\u003e   \n \u003cimg src=\"https://img.shields.io/pypi/v/pybadges.svg\" alt=\"pypi\" /\u003e\n  \u003cimg src=\"https://img.shields.io/pypi/pyversions/pybadges.svg\" alt=\"python versions\" /\u003e\n \u003cimg src=\"https://img.shields.io/npm/l/color-calendar?style=flat-square\" alt=\"license\" /\u003e\n\u003c/p\u003e\n\nReal Time Chat App Using Django, Channels, JavaScript, Docker, Tailwind CSS and much more..\n\n- [Features](#features)\n- [Screenshots](#screenshots)\n- [Tech Stack](#tech-stack)\n- [Getting Started](#getting-started)\n- [Deploy](#deploy)\n- [Bug Reporting](#bug)\n- [Feature Request](#feature-request)\n- [Change Log](#change-logs)\n- [License](#license)\n\n\u003ca id=\"features\"\u003e\u003c/a\u003e\n\n## 🚀 Features:\n\n-  **Real-time messaging**: The app allows users to send and receive messages in real-time, providing a seamless chatting experience.\n-  **Django and Channels**: The app is built using the Django web framework and Channels, which extends Django to handle WebSockets and other asynchronous protocols.\n- **JavaScript**: The app uses JavaScript to provide a dynamic and interactive user interface.\n-  **Docker**: The app can be containerised using Docker, making it easy to deploy and manage.\n-  **Tailwind CSS**: The app uses Tailwind CSS, a utility-first CSS framework, to style the user interface.\n\nIs there anything else you would like to know about this chat app?\n- [Request more features](#feature-request)...\n\n\u003ca id=\"screenshots\"\u003e\u003c/a\u003e\n\n### 📸 Screenshots:\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\".github/static/homepage.png\" alt=\"Home Page\" /\u003e\n    \u003cbr /\u003e\n\u003cimg src=\".github/static/chatpage.png\" alt=\"Chat Page\" /\u003e\n\u003c/div\u003e\n\n\u003ca id=\"tech-stack\"\u003e\u003c/a\u003e\n\n##  📦 Tech Stack:\n- [WebSockets](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API) - WebSocket is a computer communications protocol, providing full-duplex communication channels over a single TCP connection.\n- [Django](https://www.djangoproject.com/) - Django makes it easier to build better web apps more quickly and with less code.\n- [Django Channels](https://channels.readthedocs.io/en/stable/) - Channels is a project that takes Django and extends its abilities beyond HTTP - to handle WebSockets, chat protocols, IoT protocols, and more.\n- [Vite](https://vitejs.dev/) - Next Generation Frontend Tooling.\n- [Tailwind 3](https://tailwindcss.com/) - Rapidly build modern websites without ever leaving your HTML.\n- [Docker](https://www.docker.com/) - Docker is a platform designed to help developers build, share, and run modern applications. We handle the tedious setup, so you can focus on the code.\n- [Postgres DB](https://www.postgresql.org/) - The World's Most Advanced Open Source Relational Database.\n\n\n\n\n\u003ca id=\"getting-started\"\u003e\u003c/a\u003e\n\n## 📦 Getting Started:\n\n\n1. Clone the project and make it your own.\n```bash\nmkdir ~/Dev\ncd ~/Dev\ngit clone https://github.com/Arvind-4/Chatapp.git\ncd Chatapp\n```\n\n2. Create virtual environment and activate it.\n\n```bash\npython3.9 -m venv .\nsource bin/activate\n```\nUse `.\\venv\\Scripts\\activate` if on **Windows.**\n\n3. Install requirements\n```bash\n$(Chatapp) python -m pip install pip --upgrade\n$(Chatapp) python -m pip install -r requirements.txt\n```\n\n4. Open VS Code\n```bash\ncode .\n```\n\n5. Create `.env` file:\n\nAdd Your Credentials `.env` from `.env.sample`:\n```\nPYTHON_VERSION=\n\nDJANGO_PG_PASSWORD=iz-MAIesYif5c8d53pEnAg\nDJANGO_PG_HOST=db\nDJANGO_PG_USER=admin\nDJANGO_PG_DATABASE=chatdb\nDJANGO_PG_PORT=5432\n\nDJANGO_REDIS_HOST=redis\nDJANGO_REDIS_PORT=6379\n\nDJANGO_SUPERUSER_EMAIL=\nDJANGO_SUPERUSER_USERNAME=admin\nDJANGO_SUPERUSER_PASSWORD=-_cYnxeqvWQKhCUe_AJn8Q\n\nDJANGO_SECRET_KEY=P_wXmuyfulz3qZTe3bAmRw5d0-9maJ5PIIVDMjMIm1gw\nDJANGO_ADMIN_URL=admin/\nDJANGO_DEBUG=1\nDJANGO_ALLOWED_HOSTS=*\nDJANGO_REDIS_AVAILABLE=0\nDJANGO_HTTPS_SECURITY=0\nDJANGO_LIVE=0\n\nPOSTGRES_PASSWORD=iz-MAIesYif5c8d53pEnAg\nPOSTGRES_USER=admin\nPOSTGRES_DB=chatdb\n```\nReplace your `SECRET_KEY` with a new one using the code Below.\n\n```bash\npython -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())'\n```\n\u003cp align=\"center\"\u003e\n\tOr\n\u003c/p\u003e\n\n\n```bash\nbash commands/secret.sh\n```\n\n6. Build and Start the Docker File:\n\nBelow will start a Docker Instance on your local machine to match the `.env` from the previous step.\n```bash\ndocker compose -f docker-compose.selfhost.yaml build\n```\nStart the Docker Build Image:\n```bash\ndocker compose -f docker-compose.selfhost.yaml up\n```\n\n7. Run Django Commands \u0026 Migrations and Create Superuser\n```bash\ncd ~/Dev/Chatapp\nsource bin/activate\n$(Chatapp) python manage.py makemigrations\n$(Chatapp) python manage.py migrate\n$(Chatapp) python manage.py createsuperuser\n```\n\nRun the server:\n```bash\n$(Chatapp) python manage.py runserver\n```\n\n8. Install \u0026 Build the Front end.\n\nInstall the Required Dependencies\n```bash\nnpm run bootstrap\n```\nBuild the Front end for Production\n```bash\nnpm run production\n```\n\n\u003ca id=\"deploy\"\u003e\u003c/a\u003e\n\n## 🚀 Deploy:\n\nClick the Button to Deploy to [Render](https://render.com/).\n\n[![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/Arvind-4/Chatapp)\n\n\u003cp align=\"center\"\u003e\n    OR\n\u003c/p\u003e\n\nSelf Host using Docker, Docker Compose in a VM :)\n\n\u003ca id=\"bug\"\u003e\u003c/a\u003e\n\n## 🐛 Bug Reporting\n\nFeel free to [open an issue](https://github.com/Arvind-4/Chatapp/issues) on GitHub if you find any bug.\n\n\u003ca id=\"feature-request\"\u003e\u003c/a\u003e\n\n## ⭐ Feature Request\n\n- Feel free to [Open an issue](https://github.com/Arvind-4/Chatapp/issues) on GitHub to request any additional features you might need for your use case.\n- Connect with me on [LinkedIn](https://www.linkedin.com/in/a-arvind/). I'd love ❤️️ to hear from you.\n\n\u003ca id=\"change-logs\"\u003e\u003c/a\u003e\n\n## 📋 Change Log:\n\nCheck [here](https://github.com/Arvind-4/Chatapp/commits/main) for change logs.\n\n\u003ca id=\"license\"\u003e\u003c/a\u003e\n\n## 📜 License\n\nThis software is open source, licensed under the [MIT License](https://github.com/Arvind-4/Chatapp/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farvind-4%2Fchatapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farvind-4%2Fchatapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farvind-4%2Fchatapp/lists"}