{"id":16440275,"url":"https://github.com/soypat/peasocket","last_synced_at":"2025-03-21T04:33:36.156Z","repository":{"id":65115739,"uuid":"581813395","full_name":"soypat/peasocket","owner":"soypat","description":"little websocket implementation","archived":false,"fork":false,"pushed_at":"2023-01-22T15:20:17.000Z","size":160,"stargazers_count":36,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-12T09:11:45.136Z","etag":null,"topics":["embedded","embedded-systems","go","golang","websocket","websocket-client","websocket-protocol","websocket-server","websockets"],"latest_commit_sha":null,"homepage":"","language":"Go","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/soypat.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":"2022-12-24T12:38:36.000Z","updated_at":"2024-08-11T10:13:00.000Z","dependencies_parsed_at":"2023-02-12T16:46:01.111Z","dependency_job_id":null,"html_url":"https://github.com/soypat/peasocket","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/soypat%2Fpeasocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soypat%2Fpeasocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soypat%2Fpeasocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soypat%2Fpeasocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soypat","download_url":"https://codeload.github.com/soypat/peasocket/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221811728,"owners_count":16884413,"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":["embedded","embedded-systems","go","golang","websocket","websocket-client","websocket-protocol","websocket-server","websockets"],"created_at":"2024-10-11T09:11:41.550Z","updated_at":"2024-10-28T09:26:32.198Z","avatar_url":"https://github.com/soypat.png","language":"Go","readme":"[![Go Report Card](https://goreportcard.com/badge/github.com/soypat/peasocket)](https://goreportcard.com/report/github.com/soypat/peasocket)\n[![GoDoc](https://godoc.org/github.com/soypat/peasocket?status.svg)](https://godoc.org/github.com/soypat/peasocket)\n[![codecov](https://codecov.io/gh/soypat/peasocket/branch/main/graph/badge.svg)](https://codecov.io/gh/soypat/peasocket/branch/main)\n\n# peasocket\nLittle websocket implementation\n\n## Highlights\n* Zero allocations when fragmenting messages with `WriteFragmentedMessage`\n* Empty `go.mod` file.\n* Lockless base implementation\n* Dead-simple Client implementation\n    * No channels\n    * No goroutines\n    * 1 Mutex on state and another on `Tx` to auto-reply pings.\n\n* Ready for use in embedded systems\n* Tinygo compatible.\n* Base implementation is very simple, 1000 lines of code excluding `Client`. This makes debugging and testing easy. \n* Easy to extend. Exposes all websocket functionality.\n\n## `cmd/peacho` Command\nA echoing client. Connects to a server and echoes back any messages received.","funding_links":[],"categories":["Embedded Systems"],"sub_categories":["Protocol implementations"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoypat%2Fpeasocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoypat%2Fpeasocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoypat%2Fpeasocket/lists"}