skip to content
louky.dev

trunked.dev - in-browser sql playground

1 min read
toc

tl;dr

at $dayjob, we needed a way to share an sql task with a candidate. i didn’t find any suitable solution (i found only either dead or paid apps). so i build my own (with the help of opencode).

it uses pglite to run sql queries in the browser so no extra infra needed for the database. You can try a random task here https://trunked.dev/s/6qmhnfov

the full stack is:

  • pglite
  • solidstart
  • tailwind
  • bun for dependency management (not runtime, as cloudflare workers don’t support it)
  • cloudflare pages
  • cloudflare kv

hf!