{"id":22108417,"url":"https://github.com/jefusito/uwebsockets","last_synced_at":"2025-04-10T02:20:09.034Z","repository":{"id":265842777,"uuid":"896725917","full_name":"Jefusito/uwebsockets","owner":"Jefusito","description":"Websocket connection as a client with Raspberry Pi Pico W (Micropython) removing the consideration of SSL/TLS authentication.","archived":false,"fork":false,"pushed_at":"2024-12-01T06:12:07.000Z","size":5,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T03:44:23.236Z","etag":null,"topics":["micropython","raspberry-pi-pico","websockets-client"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Jefusito.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2024-12-01T06:11:18.000Z","updated_at":"2025-02-19T12:07:48.000Z","dependencies_parsed_at":"2024-12-02T01:00:24.611Z","dependency_job_id":null,"html_url":"https://github.com/Jefusito/uwebsockets","commit_stats":null,"previous_names":["jefusito/uwebsockets"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jefusito%2Fuwebsockets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jefusito%2Fuwebsockets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jefusito%2Fuwebsockets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jefusito%2Fuwebsockets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jefusito","download_url":"https://codeload.github.com/Jefusito/uwebsockets/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248142985,"owners_count":21054687,"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":["micropython","raspberry-pi-pico","websockets-client"],"created_at":"2024-12-01T09:14:48.699Z","updated_at":"2025-04-10T02:20:08.992Z","avatar_url":"https://github.com/Jefusito.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MicroPython WebSocket Client without USSL\n\nThis repository contains a small modification of the WebSocket client for MicroPython, based on [uwebsockets](https://github.com/danni/uwebsockets). \n\n## Features\n\n- Supports WebSocket (`ws://`) and secure WebSocket (`wss://`) connections in trusted networks.\n- Optimized implementation for MicroPython without dependencies like `logging` or `ussl`.\n\n⚠️ **Warning:** `wss://` connections in this implementation do not use SSL/TLS encryption, making them insecure for public networks.\n\n\n## Example Code:\n\n\n```python\nfrom uwebsockets.client import connect\n\n# Connect to the WebSocket server\nws = connect(\"ws://host:port/path\")  # Replace with your WebSocket URL\n\n# Send a message\nws.send(\"Hello from MicroPython!\")\n\n# Receive a response\nresponse = ws.recv()\nprint(\"Received response:\", response)\n\n# Close the connection\nws.close()\n\n```\n\n## Notes\n- Security: This WebSocket client does not implement encryption for wss:// connections. Using a secure proxy is recommended if TLS encryption is needed.\n- Compatibility: Tested on MicroPython for Raspberry Pi Pico W, ESP32, and ESP8266.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjefusito%2Fuwebsockets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjefusito%2Fuwebsockets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjefusito%2Fuwebsockets/lists"}