Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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.

Announce your app Build a hub Specification

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.

Your app (peer) Device player (hub) announce every 5 s ── HTTP POST ──▶ 127.0.0.1:37420–37429 "ofs-ws at ws://127.0.0.1:8080/ofs" shows "Connect?" card ◀── connects over your own protocol ──

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

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.

LanguageInstallRuntime dependencies
TypeScript / JavaScriptfunlink-0.1.0.tgz from the releasenone (Node.js 20+, Electron)
Rustgit dependency on tag v0.1.0serde, serde_json, getrandom
C# / .NETFunlink.0.1.0.nupkg from the releasenone (.NET 8+, AOT friendly)
Javafunlink-0.1.0.jar from the releasenone (Java 17+)
Godot (GDScript, peer only)funlink-godot-0.1.0.zip from the releasenone (Godot 4.2+)
C / Arduino (local network peer only)Funlink-arduino-0.1.0.zip from the releasenone (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.