Funlink
Let device players, games and script apps on the same computer find each other. One call to announce, one click for the user to connect.
Users of apps like FapLand, games with EDI mods or script editors normally have to type ports and URLs into their device player. With Funlink, your app tells every interested app on the machine, and optionally on the local network, “I am running and offer this service”. A hub, such as RustyFunPlayer, shows a card: FapLand is running. Connect? One click, and it connects using the protocol you already speak.
Funlink only does discovery. It never carries media, scripts or device commands, so adding it changes nothing about how your app already talks to others.
The documentation was generated with AI assistance and has been thoroughly proofread, but errors or omissions may remain.
Pick your role
Peer: announce your app
You serve something others can connect to: an OFS WebSocket, a Buttplug server, a TCode device, an EDI game.
Hub: find apps
You connect to others: a device player, a script tool. Get notified when a usable app starts or stops.
Play scripts on devices
One call serves your scripts to RustyFunPlayer, which plays them on every connected device, and reports the devices back.
Libraries
Four libraries implement both roles, validate everything and handle timers, rate limits, expiry and goodbyes. All speak the same wire format and are tested against each other. The C library and the Godot add-on are peers only.
| Language | Install | Runtime dependencies |
|---|---|---|
| TypeScript / JavaScript | funlink-0.1.0.tgz from the release | none (Node.js 20+, Electron) |
| Rust | git dependency on tag v0.1.0 | serde, serde_json, getrandom |
| C# / .NET | Funlink.0.1.0.nupkg from the release | none (.NET 8+, AOT friendly) |
| Java | funlink-0.1.0.jar from the release | none (Java 17+) |
| Godot (GDScript, peer only) | funlink-godot-0.1.0.zip from the release | none (Godot 4.2+) |
| C / Arduino (local network peer only) | Funlink-arduino-0.1.0.zip from the release | none (C99, no malloc) |
The libraries are not on public package registries: they install from the GitHub release or from git.
Any other language works too: the protocol is one HTTP POST of a JSON object every 5 seconds. See Without a library.
Who uses it
- RustyFunPlayer is a hub. It offers OFS, FapLand, EDI games, mpv, VLC, MPC, Intiface and TCode serial devices.
- FapLand announces its OFS bridge with ofs-ws-extended.
- Wi-Fi TCode devices can announce themselves with the C library, and Godot games with the Godot add-on.
The libraries are free software under LGPL-3.0-or-later and can be used by applications under any license. Status: v1 draft; the name and port range are provisional.