Tiny HTTP pubsub. POST a JSON payload, GET the last one, or subscribe to a Server-Sent Events stream.
| POST | /pubsub/<channel> | store JSON (≤ 5000 B), broadcast to subscribers |
|---|---|---|
| GET | /pubsub/<channel> | return the last JSON payload |
| GET | /pubsub/<channel> + Accept: text/event-stream | SSE stream, starting with the last message |
Channel names match [a-zA-Z0-9._-]+. Bearer-token auth is
configured per channel pattern; an unconfigured channel returns 404.
curl -X POST https://msgs.skibidibug.com/pubsub/hello \
-H 'Content-Type: application/json' -d '{"hi":1}'
curl https://msgs.skibidibug.com/pubsub/hello
curl -N -H 'Accept: text/event-stream' \
https://msgs.skibidibug.com/pubsub/hello
Source & docs: see the README.md in the repository.