endel/NativeWebSocket
🔌 WebSocket client for Unity/MonoGame/Godot Mono - with no external dependencies (WebGL, Native, Android, iOS, UWP) observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 96
- Release rhythm 96
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 15
- age_days: 2584
- days_rel: 27
- days_push: 27
- n_releases_24m: 6
Adoption not part of the score
1709 stars · 204 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
NativeWebSocket is a dependency-free WebSocket client library for .NET that works in Unity, MonoGame, Godot (C#), and any other .NET project. It builds on the built-in System.Net.WebSockets API, adds WebGL/HTML5 support for Unity builds, and dispatches events back to the main thread via SynchronizationContext.
Use cases
- add websocket support to a Unity game
- websocket client for Godot C# projects
- use WebSockets in Unity WebGL browser builds
- c# websocket library with no external DLLs
- receive websocket messages on the main thread in a game engine
- connect a MonoGame game to a websocket server
- real-time messaging over websockets on Android and iOS with .NET
When to choose
- You need WebSockets in Unity, MonoGame, or Godot C# without external DLL dependencies
- You are targeting Unity WebGL builds where standard .NET websocket code needs conditional compilation
- You want websocket callbacks automatically marshaled to the engine's main thread
- You want a very small, simple client API (Connect, Send, SendText, Close) for game networking
When to avoid
- You need a full game networking stack with reliability, channels, or transport beyond raw WebSocket frames
- You are building a plain server-side or desktop .NET app where System.Net.WebSockets or SignalR already suffices
- You require a clearly verified license, since the repository license is marked as unverified (NOASSERTION)
Facets
library · maturity active
websocket networking cross-platform dotnet game-engine cross-platform browser windows unity monogame godot webgl csharp websocket-client no-external-dependencies main-thread-dispatching real-time-messaging game-development android ios
1 source
- readme: https://github.com/endel/NativeWebSocket · fetched 2026-08-28 · e5df815740f1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| endel/NativeWebSocket | main | 97 |
For agents
markdown · JSON · MCP: product_card(name="endel/NativeWebSocket")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem