Hackenshaw logo

Next Slide

Stateful HTTP API for advancing a slide deck during a talk

State

{ "next_slide": false, "count": 0, "threshold": 5 }

Endpoints

PathEffect
GET /stateRead state, no side effects.
GET /advanceSet next_slide = true.
GET /pollReturn {next_slide} and reset it to false. A deck polls this; reading it consumes the flag.
GET /tickcount++. Auto-advances when count >= threshold (resets count).
GET /threshold/NSet threshold to integer N.
GET /resetReset everything to defaults.

Audience interaction

Share /click with the audience — each device gets a big button that fires /tick once every 5 minutes (cooldown stored in localStorage, survives page reloads).

open /click →

Feedback

Anonymous: an entry is a timestamp and a piece of text.

PathEffect
POST /feedbackBody {"text": "..."}. 1000 characters max, 30 a minute across everyone.
GET /show_feedbackEvery note, newest first, with the date and time it arrived.
GET /feedback.xmlThe file itself.

open /show_feedback →