A tiny wrapper of white-web-sdk and @netless/window-manager.
import { createFastboard, createUI } from "@netless/fastboard";
createFastboard({
sdkConfig: {
appIdentifier: "whiteboard_app_id",
},
joinRoom: {
uid: "unique_user_id",
uuid: "room-uuid",
roomToken: "NETLESSROOM_...",
},
managerConfig: {
cursor: true,
},
}).then(app => {
createUI(app, document.getElementById("app"));
});
MIT @ netless