{"id":20550571,"url":"https://github.com/manmolecular/websocket-chat","last_synced_at":"2026-04-11T03:31:30.703Z","repository":{"id":54671426,"uuid":"298877772","full_name":"manmolecular/websocket-chat","owner":"manmolecular","description":":mega: WebSocket chat based on the AIOHTTP library (JWT+JTI Revoke, Redis, PostgreSQL, AIOHTTP Web Server)","archived":false,"fork":false,"pushed_at":"2020-11-04T18:32:15.000Z","size":29,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-10T08:49:35.785Z","etag":null,"topics":["aiohttp","aiohttp-csrf","aiohttp-server","docker","docker-compose","jti","jwt","jwt-redis","jwt-revocation","redis-cache","websockets"],"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/manmolecular.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":"2020-09-26T18:40:56.000Z","updated_at":"2023-03-15T05:38:43.000Z","dependencies_parsed_at":"2022-08-13T23:30:44.520Z","dependency_job_id":null,"html_url":"https://github.com/manmolecular/websocket-chat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/manmolecular/websocket-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manmolecular%2Fwebsocket-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manmolecular%2Fwebsocket-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manmolecular%2Fwebsocket-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manmolecular%2Fwebsocket-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manmolecular","download_url":"https://codeload.github.com/manmolecular/websocket-chat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manmolecular%2Fwebsocket-chat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31668046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"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":["aiohttp","aiohttp-csrf","aiohttp-server","docker","docker-compose","jti","jwt","jwt-redis","jwt-revocation","redis-cache","websockets"],"created_at":"2024-11-16T02:25:37.497Z","updated_at":"2026-04-11T03:31:30.682Z","avatar_url":"https://github.com/manmolecular.png","language":"Python","readme":"# websocket-chat\nSimple WebSocket chat based on the aiohttp library\n\n## Stack\n- Auth: JWT + JTI (JWT id)\n- Cache: Redis\n- Database: PostgreSQL\n- ORM: SQLAlchemy\n- Backend: Aiohttp\n- Frontend: Pure JS + Bootstrap\n- Language: Python 3.8\n- Deploy: Docker + docker-compose\n- Additional: CSRF with aiohttp\n\n## Features\n- Credentials validation (schemas, register/login handlers)\n- Passwords (hashing, argon2)\n- ORM data sanitization (CRUD operations, models)\n- JWT + JTI with revocation (cache, redis)\n- JavaScript JWT in-memory closure storage\n- WebSockets: origin, auth, CSWSH\n- CSRF (feedback handler)\n\n## Prepare\n(Optional) Сreate `.env` file with the following variables if you want to overwrite default `docker-compose.yml` environment variables:\n```\nPOSTGRES_DATABASE=...\nPOSTGRES_PASSWORD=...\nPOSTGRES_USER=...\nPOSTGRES_HOST=...\nPOSTGRES_PORT=...\nREDIS_HOST=...\nJWT_SECRET=...\nORIGIN=...\n```\n## Run\n```\ndocker-compose up -d\n```\n```\nhttp://localhost:8080/\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanmolecular%2Fwebsocket-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanmolecular%2Fwebsocket-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanmolecular%2Fwebsocket-chat/lists"}