{"id":22758451,"url":"https://github.com/mattmajestic/websockets-fastapi","last_synced_at":"2025-03-30T08:25:12.186Z","repository":{"id":251368038,"uuid":"837205855","full_name":"mattmajestic/websockets-fastapi","owner":"mattmajestic","description":"A minimal example of Websockets using FastAPI \u0026 HTML Templates","archived":false,"fork":false,"pushed_at":"2024-08-02T12:55:36.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T13:02:21.057Z","etag":null,"topics":["fastapi","websocket"],"latest_commit_sha":null,"homepage":"https://mattmajestic.github.io/websockets-fastapi/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mattmajestic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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},"funding":{"github":"mattmajestic"}},"created_at":"2024-08-02T12:44:44.000Z","updated_at":"2024-08-02T17:27:47.000Z","dependencies_parsed_at":"2024-08-02T14:45:06.942Z","dependency_job_id":null,"html_url":"https://github.com/mattmajestic/websockets-fastapi","commit_stats":null,"previous_names":["mattmajestic/websockets-fastapi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattmajestic%2Fwebsockets-fastapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattmajestic%2Fwebsockets-fastapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattmajestic%2Fwebsockets-fastapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattmajestic%2Fwebsockets-fastapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattmajestic","download_url":"https://codeload.github.com/mattmajestic/websockets-fastapi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246292753,"owners_count":20754113,"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":["fastapi","websocket"],"created_at":"2024-12-11T08:14:33.990Z","updated_at":"2025-03-30T08:25:12.163Z","avatar_url":"https://github.com/mattmajestic.png","language":"HTML","funding_links":["https://github.com/sponsors/mattmajestic"],"categories":[],"sub_categories":[],"readme":"# 📝 FastAPI WebSocket Example\n\nA simple FastAPI application demonstrating WebSocket functionality with a clean and stylish UI using Bulma CSS framework.\n\n## 📄 Description\n\nThis project sets up a simple WebSocket server using FastAPI. The client-side interface, styled with Bulma CSS, allows you to connect to the WebSocket server and send messages. Messages sent to the server are echoed back and displayed on the webpage.\n\n## 📂 Files\n\n- **main.py:** FastAPI application setup.\n- **requirements.txt:** Python dependencies.\n- **docker-compose.yml:** Docker Compose configuration.\n- **Dockerfile:** Dockerfile for building the container.\n- **templates/index.html:** HTML template for the client interface.\n- **static/styles.css:** CSS styles for the client interface.\n\n## 🖥️ Usage\n\n1. **Connect to the WebSocket server:** Click the \"Connect\" button.\n2. **Send a message:** Type a message in the input field and click the \"Send Message\" button.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattmajestic%2Fwebsockets-fastapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattmajestic%2Fwebsockets-fastapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattmajestic%2Fwebsockets-fastapi/lists"}