Home

Awesome

slide-beacon

Minimum viable prototype for sharing URL's in presentational slides with a Physical Web beacon, making the current Reveal.js slide link only a tap away for the audience.

Prerequisites

This prototype consists of two parts:

Note: There's also the option of using this desktop app for OSX found here: electron-slide-beacon.

Install

Linux needs these dependencies for Bluetooth:

sudo apt-get install bluetooth bluez-utils libbluetooth-dev

On a Mac you need Xcode and its Command Line Tools to build the Bluetooth dependencies. You can find this under the menu Xcode -> Preferences -> Downloads

Install dependencies:

npm install

Start listening for websocket connection from your presentation with:

sudo node server.js

Note: sudo only needed on Linux

Reveal.js plugin

Add as dependency:

dependencies: [
  { src: 'plugin/slide-beacon.js' }
]

Every section with a data-url attribute will be sent to the beacon server using websockets and broadcast. IP or hostname to the server needs to be provided when presentation is loaded. localhost if presenting from a Mac/Linux machine, or the ip to the Raspberry Pi/other external device.

<section data-url="https://your.url">

Note that a Physical Web beacon only can broadcast URL's up to 18 characters. Use URL shorteners when needed.

TODO