{"id":15722395,"url":"https://github.com/defold/extension-websocket","last_synced_at":"2026-02-02T08:13:19.798Z","repository":{"id":37567546,"uuid":"288684435","full_name":"defold/extension-websocket","owner":"defold","description":"A native websocket implementation for Defold","archived":false,"fork":false,"pushed_at":"2024-09-09T15:11:52.000Z","size":17048,"stargazers_count":33,"open_issues_count":3,"forks_count":13,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-30T15:23:23.055Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"C","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/defold.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","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":"defold","patreon":"Defold","custom":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=NBNBHTUW4GS4C"]}},"created_at":"2020-08-19T09:04:33.000Z","updated_at":"2024-12-27T11:13:06.000Z","dependencies_parsed_at":"2024-02-28T13:50:38.135Z","dependency_job_id":"4bc25733-b70f-4f65-961b-5f93dfd3856d","html_url":"https://github.com/defold/extension-websocket","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":"defold/template-native-extension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defold%2Fextension-websocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defold%2Fextension-websocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defold%2Fextension-websocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defold%2Fextension-websocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/defold","download_url":"https://codeload.github.com/defold/extension-websocket/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237267937,"owners_count":19282311,"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":["hacktoberfest"],"created_at":"2024-10-03T22:07:18.241Z","updated_at":"2026-02-02T08:13:19.783Z","avatar_url":"https://github.com/defold.png","language":"C","funding_links":["https://github.com/sponsors/defold","https://patreon.com/Defold","https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=NBNBHTUW4GS4C"],"categories":["Libraries"],"sub_categories":["Programming Language"],"readme":"# Defold websocket extension\n\n[![Build Status](https://github.com/defold/extension-websocket/workflows/Build%20with%20bob/badge.svg)](https://github.com/defold/extension-websocket/actions)\n\n## Installation\nTo use this library in your Defold project, add the following URL to your `game.project` dependencies:\n\nhttps://github.com/defold/extension-websocket/archive/master.zip\n\nWe recommend using a link to a zip file of a [specific release](https://github.com/defold/extension-websocket/releases).\n\n## API reference\n\nhttps://defold.com/extension-websocket/\n\nhttps://defold.com/extension-websocket/websocket_api/\n\n## Debugging\n\nIn order to make it easier to debug this extension, we provide a `game.project` setting `websocket.debug`. Set it to:\n\n* `disabled` to disable debugging (i.e. no debug output).\n* `state` to display state changes.\n* `verbose` to display the messages, state changes and more.\n\n## External resources\n\nTo verify that your websocket server works, you can test it with some tools.\n\n* [websocat](https://github.com/vi/websocat)\n\nOr, you can test your server on this web page:\n\n* https://www.websocket.org/echo.html\n\nTo monitor all the packets sent to/from the client/server, you can use e.g.\n\n* [Wireshark](https://www.wireshark.org)\n\nFor command line debugging, there's\n\n* tcpdump: `sudo tcpdump -X -s0 -ilo0 port 8080 ` (example for local ws:// connection)\n\n* tcpdump: `sudo tcpdump -X -s0 host echo.websocket.org` (Monitors packets to/from echo.websocket.org)\n\n## Credits\n\nThis extension makes use of the C library WSlay by @tatsuhiro-t:\n\n* https://github.com/tatsuhiro-t/wslay\n\nThe test server used by the example:\n\n* https://www.lob.com/blog/websocket-org-is-down-here-is-an-alternative\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefold%2Fextension-websocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefold%2Fextension-websocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefold%2Fextension-websocket/lists"}