{"id":30351631,"url":"https://github.com/thedhruvish/chat-app","last_synced_at":"2026-04-16T01:33:10.830Z","repository":{"id":309332134,"uuid":"979101060","full_name":"thedhruvish/chat-app","owner":"thedhruvish","description":"FastChat is a real-time messaging web app inspired by WhatsApp.","archived":false,"fork":false,"pushed_at":"2025-08-11T08:36:41.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-18T23:20:35.754Z","etag":null,"topics":["fastapi","google-authentication","jinja2","oath2","python","sqlite3","sqlite3-database","uv","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/thedhruvish.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,"zenodo":null}},"created_at":"2025-05-07T02:07:49.000Z","updated_at":"2025-08-11T08:36:44.000Z","dependencies_parsed_at":"2025-08-11T10:29:32.085Z","dependency_job_id":"26f2589e-4c08-455f-b4db-21247e7ab12c","html_url":"https://github.com/thedhruvish/chat-app","commit_stats":null,"previous_names":["thedhruvish/chat-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thedhruvish/chat-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedhruvish%2Fchat-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedhruvish%2Fchat-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedhruvish%2Fchat-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedhruvish%2Fchat-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thedhruvish","download_url":"https://codeload.github.com/thedhruvish/chat-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedhruvish%2Fchat-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31867710,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["fastapi","google-authentication","jinja2","oath2","python","sqlite3","sqlite3-database","uv","websocket"],"created_at":"2025-08-18T23:10:55.020Z","updated_at":"2026-04-16T01:33:10.790Z","avatar_url":"https://github.com/thedhruvish.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📱 FastChat - A WhatsApp-like Messaging App (Python + FastAPI)\n\nFastChat is a real-time messaging web app inspired by WhatsApp. It leverages modern Python web technologies including **FastAPI**, **Starlette**, **Google OAuth2**, **SQLite3**, and **Uvicorn** for fast and scalable performance.\n\n---\n\n## 🚀 Features\n\n- ✅ Google OAuth2 login\n- 💬 Real-time chat features\n- 🗃️ SQLite3-based local database\n- 🧠 Modular architecture with routers and utils\n- 🔐 Custom middleware for logging and auth\n- ⚡ FastAPI + Uvicorn (via `uv`) backend\n- 🖥️ Jinja2 templating for UI\n\n---\n\n## 🧰 Tech Stack\n\n| Tech             | Use Case                     |\n|------------------|------------------------------|\n| FastAPI          | Web framework (REST APIs)    |\n| Starlette        | Middleware \u0026 ASGI support    |\n| SQLite3          | Lightweight database         |\n| Google OAuth2    | User authentication          |\n| Jinja2           | HTML templating              |\n| uv + uvicorn     | Package manager \u0026 ASGI server|\n\n---\n\n## 🛠️ Installation\n\n```bash\n# Clone the repository\ngit clone https://github.com/thedhruvish/chat-app.git\ncd chat-app\n\n# Install dependencies with uv\nuv venv\nsource venv/bin/activate # active the virtual environment\nuv install\n\n# Run the app\nfastapi run app/app.py\n```\n\n---\n\n## 📂 Project Structure\n\n```\nchat-app/\n│\n├── app/\n│   ├── db/\n│   │   └── sqllit_db.py          # SQLite3 DB connection\n│   ├── router/\n│   │   ├── auth.py               # Google OAuth2 auth routes\n│   │   └── chat.py               # Chat-related endpoints\n│   ├── schemas/\n│   │   └── user.py               # User models (Pydantic)\n│   ├── templates/                # HTML templates\n│   └── utile/\n│       └── chat_manage.py        # Chat management logic\n│\n├── .env                          # Environment variables\n├── .gitignore\n├── .python-version\n├── chat.db                       # SQLite3 database\n├── LICENSE\n├── pyproject.toml                # Project dependencies\n├── uv.lock                       # Locked dependencies\n└── README.md                     # Project documentation\n\n```\n\n---\n\n## 🧪 Usage\n\n- Visit `http://localhost:8000`\n- Click \"Login with Google\"\n- Start chatting!\n\n---\n\n## 📃 License\n\nMIT License - see the [LICENSE](LICENSE) file for details.\n\n---\n\n## 🙋‍♂️ Contributing\n\nContributions are welcome! Please fork the repo and submit a pull request.\n\n---\n\n## 📬 Contact\n\nCreated by [@thedhruvish](https://github.com/thedhruvish) – feel free to reach out!\nemail - [thedhruvish@gmail.com](mailto:thedhruvish@gmail.com)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthedhruvish%2Fchat-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthedhruvish%2Fchat-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthedhruvish%2Fchat-app/lists"}