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

Contributing

The repository holds the specification, the four libraries, the C library for microcontrollers and the Godot add-on. Changes to the wire format go into SPEC.md first, then into every library, which must stay compatible with each other.

Run the tests

LibraryCommand
TypeScriptcd typescript && npm ci && npm test
Rustcd rust && cargo test
C#cd csharp && dotnet test
Javacd java && mvn verify
Cmake -C c test sanitize lint
Godotgodot --headless --path godot --script res://test/test_record.gd, then bash godot/test/interop/run.sh (needs typescript built)

Set FUNLINK_PORT to keep tests away from a hub that already runs on your machine.

Register a protocol

Open an issue with the protocol name, its endpoint schemes, a short description and a link to its documentation. Until then, use x-<vendor>-<name>.

Edit this site

The site is built with mdBook from website/:

nix run nixpkgs#mdbook -- serve website --open

The specification pages include SPEC.md and OFS-WS-EXTENDED.md from the repository root, so edit those files directly.

License

The libraries are LGPL-3.0-or-later: applications under any license may use them; changes to the libraries themselves stay under the LGPL. The C library and the Godot add-on add a linking exception, so firmware and games may include them without providing the means to relink.