Input HolyBook + operation
{ } — empty HolyBook
Output model response
Run a command to see raw output.
Tutorial
PrayDB is a little database. Your data is a JSON blob (called a "HolyBook"). Every time you do something to it, an AI reads it, thinks about what you want, and writes back a new version. This runs in your browser using Puter.js — you pay for the AI power.
Command bar — pick what you want to do, type a key and value, click Run.
Load buttons — fill the HolyBook with big example JSONs so you can mess around.
Quick buttons — shortcuts so you don't have to type everything.
Input panel — the exact message sent to the AI (HolyBook + what you asked).
Output panel — the raw reply the AI sends back.
What you can do
set — save something (local, instant). "set color red" makes the HolyBook have color: "red".get — look something up (uses AI). "get color" tells you what color is.delete — remove something (local, instant). "delete color" takes color out of the HolyBook.dump — show everything in the HolyBook (uses AI).reset — empty the HolyBook completely (local, instant), like factory reset.insert — add a whole JSON document to a list called _documents (local, instant).search — find documents in _documents that match something (uses AI).How it works
When you write (set, delete, reset, insert), the demo edits your HolyBook directly — no AI, instant, like a real database. When you read (get, dump, search), it sends your HolyBook to gpt-5.4-nano (a free-ish AI) through Puter.js, and the AI reads it and tells you what you asked for. Input shows what went in. Output shows what came out. If the AI messes up, you'll see an error.