Control your favourite HTML5 based presentations using the volume buttons of your iPhone. Just upload the presentations to Reforce using the upload feature via Wi-Fi and you are ready to go.
When an HTML5 presentation is uploaded and selected in the app, a web server starts run at port 5000 serving the selected presentation. The app also injects some javascript in to the the presentation's index file, which basically sets up a connection between the app and presentation using websockets. Now when a volume button is pressed, the app sends a 'next/previous' message to the presentation via websocket and the injected javascript handles this message and uses the presentation tool's javascript API to control the slide. Simple and easy, right?
Not yet available on the AppStore as I am in the middle of implementing few more nifty features. So to try out Reforce, you will have to clone and build it. :)
- Open the app and tap settings icon on top right. Turn on the upload option.
- Go back and you will see the IP address of your phone. Open
http://your.ip:5000/upload
in a web browser to upload your presentation to app. - Currently the app supports Reveal.js and Impress.js presentations. Zip the presentation so that the index.html is in the root of the zip archive along with other required files. Now to upload simply drag and drop the zip archive to the upload page.
- You will see the presentation in app once the upload is over. You can then select the presentation in the app and you presentation will start running at
http://your.ip:5000
. - Use volume up to go to the next slide and volume down to go to the previous slide.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Reforce is available under the MIT license. See the LICENSE file for more info.