Alpha

Examples

See what it can do.

Everything below runs in the app you're using now. Each page was rendered by a new process, which exited before your browser finished drawing it. The live pages stream over Server-Sent Events, so open them in two tabs and watch them both.

The basics

Posts

A blog, with published posts sorted by votes and comment counts joined in. The query is a pipeline.

psqlawksortjoin

New post

A form with Laravel's validation rules, error messages and old input. Submit it empty to see them.

[[ =~ ]]${#value}

Error page

A route that fails on purpose. The exception handler is a trap, and the stack trace comes from caller.

trap ERRcallerset -euo pipefail

Processes and messages

Dashboard

Three slow queries at once. Each takes a second, and so does the page.

&waitmktemp

Queues

Dispatch jobs and watch four workers race to claim them. Every seventh podcast fails, so you can retry it.

mvtimeoutpgrep

Orders

Ship an order: the event wakes a listener with a signal, and the broadcast reaches every open tab.

kill -USR1traptail -F

Artisan

Run Artisan commands from the browser and see their output in every tab. The scheduler posts here every minute.

sedflockprintf %(%s)T

Pulse

Every request, job, event and command, live, in one feed.

tail -Fjqtext/event-stream

The docs

Docs

Twenty-six pages of Markdown, rendered on every request by an awk script.

awk

Search

Full-text search over the docs, with matches highlighted.

grep -c -i -Fgrep --color

View as Markdown

The source of any docs page, served as it is.

cat
Six tabs at most, locallyEach live page holds a connection open, and browsers allow six connections to one site over HTTP/1.1, which is what socat speaks. With six live tabs open, the seventh tab's requests wait for a free connection, so its buttons seem to do nothing. Close a tab and they go through. Behind a proxy that speaks HTTP/2, like the public demo's, every tab shares one connection and the limit goes away.