Simple mode: use the Load buttons to try a premade database, set to save a value, get to ask the model for a key, or dump to show everything.

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"). Writes happen locally in your browser. Reads go to Hack Club AI (using your API key) or Puter.js (after browser auth) — whichever you pick in the popup.

Simple mode — Load premade databases, save a key, read a key, or dump the whole HolyBook.
Advanced mode — unlock delete, reset, insert, search, examples, and quick command shortcuts.
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.
dump — show everything in the HolyBook (uses AI).
delete — remove something (local, instant). "delete color" takes color out of the HolyBook.
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 the Hack Club AI proxy using your API key and model. Input shows what went in. Output shows what came out. If the AI messes up, you'll see an error.