Share

Paste some Common, get a link. Anyone who opens it sees the code highlighted and the output it makes, run safely with try.

Recently shared

Save, then link to the new row
set added to ask database "insert into snippets (title, code, shared) values (?, ?, ?) returning id" with snippet_title, snippet_code, now
go to "/share/[id of first of added]"

set slug to last of split path by "/"
set snippet to ask database "select title, code from snippets where cast(id as text) = ?" with slug
show code code of first of snippet
set result to try code of first of snippet

Shared code runs inside try: no files, no database, no cookies, no email, and loops stop after 20,000 steps. Its output is shown in a sandboxed frame, so even HTML it makes stays inside.