Your app, on everyone's board.
Any web page can sit on the board. Add one script and it becomes multiplayer: what one person does, the room sees.
- Live
- Set up by: Developer
- Time: 20 minutes
- Developers and automation
Three steps. That's all.
- 1
Add the SDK
One script tag on your page, then wait for the room.
- 2
Register your page
Add its address as a custom app in Integrations.
- 3
Open it in a lesson
It appears in the app library on your boards, for everyone in the room.
Custom Apps, working for you.
- Shared state: set a value, everyone has it
- Messages to the rest of the room
- The list of people present, and who is hosting
- State kept with the board for next lesson
<button id="add">0</button>
<script src="https://tutorio.app/public/assets/js/sdk/board.js"></script>
<script>
const button = document.getElementById('add');
const show = (state) => { button.textContent = state.count || 0; };
TutorioBoard.ready().then((room) => {
show(room.state);
TutorioBoard.on('state', show);
button.onclick = () => {
TutorioBoard.state.set('count', (TutorioBoard.state.get('count') || 0) + 1);
};
});
</script>Straight answers.
What can a custom app be?
Any web page served over https that allows itself to be shown in a frame: a quiz, a simulation, a game, your own content player.
How much state can it hold?
A small shared object, 32 KB at most. The last write to a key wins.
Can I test outside a board?
Yes. Away from a board, ready() still resolves and marks the room as standalone, so the page runs by itself.
Who can use my app?
Everyone in a board you own. Apps belong to your account and are not published to anyone else. You can add up to 30.
Try the board first.
It is free to start and needs no account. Connect Custom Apps when you are ready.