Runs live, versioned Python application objects on one VM, with a suite of apps: projects, notes, tasks, files and more.
- ..
- README.md 8.8 KB
- analytics.md 20.5 KB
- app-packages.md 11.1 KB
- append-only-storage-design.md 7.0 KB
- architecture.md 4.7 KB
- asgi-realtime-direction.md 5.3 KB
- assets-and-losses.md 16.8 KB
- backup-restore.md 13.0 KB
- box-to-box-exchange.md 38.9 KB
- business-logic-patterns.md 12.7 KB
- capabilities.md 7.9 KB
- capability-objects.md 5.8 KB
- cash-counts.md 4.5 KB
- comparisons.md 5.3 KB
- design-system.md 13.4 KB
- docker-deployment.md 21.9 KB
- dron-write-semantics.md 36.4 KB
- dron.md 28.9 KB
- durability-and-recovery.md 7.5 KB
- event-hooks-decisions.md 5.6 KB
- expense-substantiation.md 10.1 KB
- generative-ui.md 9.5 KB
- http-api-contract.md 157.0 KB
- logic-decisions.md 22.5 KB
- migrating-from-object-primitive.md 5.4 KB
- object-authoring.md 14.2 KB
- package-authoring.md 111.0 KB
- per-tenant-storage-direction.md 4.2 KB
- permissions-model.md 104.6 KB
- quickstart.md 6.9 KB
- realtime.md 4.4 KB
- rest-and-object-messages.md 3.4 KB
- runtime-contract.md 61.0 KB
- scheduled-backups.md 13.0 KB
- schema-forms.md 10.1 KB
- secrets-and-credentials.md 11.4 KB
- shell-and-ai.md 21.0 KB
- single-vm-deployment.md 45.8 KB
- site-routing.md 6.9 KB
- status.md 10.6 KB
- storage-modes.md 7.5 KB
- traffic-limits.md 10.5 KB
- ui-decisions.md 18.1 KB
- upgrade-and-customization.md 13.1 KB
- validation-and-logic.md 40.2 KB
- why-dbbasic.md 4.3 KB
- write-pipeline.md 8.5 KB
- zero-to-code.md 6.6 KB
Documentation
Start with architecture.md — it maps the whole system and links every doc in place. The rest of this page is the same index, grouped by theme, with every doc one click away.
flowchart TB
A["architecture.md<br/>(the map)"]
A --> START["Get started"]
A --> CONCEPTS["Concepts"]
A --> BUILD["Building apps"]
A --> OPERATE["Operating"]
A --> REF["Reference"]
Start here
- architecture.md — the layer map: storage → runtime → data
→ permissions → generative UI → capabilities → surfaces, with a link to the doc for each.
- why-dbbasic.md — the advantages, honestly stated with their
boundaries.
- quickstart.md — a fresh VM to a running server, login, HTTPS
domain, and a first app in ~30 minutes with scripts/install.sh.
- CHANGELOG.md — what changed, in plain language, grouped by
the business problem each fix solved.
- comparisons.md — what DBBASIC deletes vs Django/Rails,
enterprise stacks, JS meta-frameworks, and no-code — and the cost of each.
- analytics.md — first-party, server-side traffic: why a tag
can only see requests that ran JavaScript, how visitors are told apart from bots and from your own operations, and what an honest IP-based count cannot tell you.
Concepts
- runtime-contract.md — runtime, daemon, namespace,
version, queue, scheduler, and event contracts.
- object-authoring.md — object source layout, method
shape, runtime helpers, state/log usage, and response forms.
- capability-objects.md — objects that shell out to
system tools (ffmpeg, OCR, PDF), the subprocess model, and the trust boundary.
- realtime.md — the change-log contract: the
/wssubscribe
protocol, the signal-only (never-the-body) event, and per-subscriber permission filtering that makes every surface live.
- asgi-realtime-direction.md — why plain ASGI, and
how WebSocket/SSE object events fit.
- rest-and-object-messages.md — RESTful resources
vs object behavior messages vs realtime streams.
Data, UI, and behavior
- schema-forms.md — the schema field contract that generates
forms and views: types, enums, relations, validation bounds, list modes — all enforced on write.
- generative-ui.md — the one renderer: list/table/board/
tree/calendar, filters, search, relation labels, forms, and composed detail — no per-app UI code.
- capabilities.md — per-collection behaviors from a schema
flag: comments, attachments, owner-checked sharing, and how to add one.
- expense-substantiation.md — expenses that hold up
in an audit: categories that require a purpose, attendees and a receipt, the deductible report, a mileage log and a fringe-benefit register, with every rate and threshold kept as operator data. Not tax advice.
- validation-and-logic.md — what's validated on every
write, and the business-logic/automation substrate (transitions, notify, triggers, computed, connectors).
- business-logic-patterns.md — where every rule
goes: the placement flowchart and map, with worked examples (sales tax, payment aging, dunning, refunds) most systems get wrong.
- logic-decisions.md — the living log of logic-placement
doctrines (stamp vs derive, time belongs to the daemon, money moves, extract-after-repeat, gates vs reactions).
- design-system.md — semantic tokens, themes as data and as
packages, and the stylesheet served as the site_style object at /style.
- ui-decisions.md — the living log of interaction decisions
(detail-vs-edit, the row cap, filters, relation labels, capabilities).
Building & shipping apps
- app-packages.md — the installed app suite and the
schema+rules+page pattern every app repeats.
- package-authoring.md — manifest, layout, install
semantics, dry-run workflow, how to try a change as users with roles (scripts/try_package.py), worked recipes (a read-all role, owned-or-assigned counts, freezing fields, adding a field to a list), seeded views and routes, and rules for generated packages.
- assets-and-losses.md — the fixed-asset register,
monthly book depreciation, improvements vs repairs, disposals with their gain or loss, one approved record for any loss, and stock by the litre (not tax advice: what is left to the accountant).
- cash-counts.md — counting a till or a safe, and why a
named witness counts only once they confirm the figure from their own sign-in (including two closers on one shared device).
- dron.md — DRON 0.2, the portable description of an app's data and
rules (collections, manifest, permissions), with the JSON Schema files in dron/ that define it and the tests that keep them true to the loaders.
- dron-write-semantics.md — what the engine does
with one create, update or delete: the order of its checks, which refusal wins, what a refusal leaves behind, blanks, derived values and clocks, and the open questions found writing it down.
- box-to-box-exchange.md — how one company's box
sends signed business documents (orders, confirmations, invoices, credit notes, remittances, goods receipts) to another's: phase 0 is built (app-exchange, app-bills), with a how-to, the envelope and exactly what is signed; the proposal and what is left follow.
data-preserving upgrade system: baselines, three-way reconcile, overrides, feature flags.
- permissions-model.md — access modes, role/object/
action rules, ownership, row/field filters, sharing, temporary paid access, and audit.
- site-routing.md — clean public URLs, the
site_routes
table, {param} patterns, site_404.
- secrets-and-credentials.md — the write-only
vault, hash-only tokens, and the trust boundary.
- shell-and-ai.md — the talk-to-everything terminal: per-user
AI keys, model choice, MCP tool subsets, and building objects by asking.
- event-hooks-decisions.md — why event handlers
are operator-installed only, and the trap that follows from it: an object in the override root declares HANDLES and silently never receives one.
- write-pipeline.md — every stage a record write passes
through, in order, and which of them can refuse it.
- zero-to-code.md — the path from an empty box to a
running app without writing server code.
Storage & durability
- storage-modes.md — classic vs append-only collections.
- append-only-storage-design.md — tombstones,
compaction, and the disposable id→offset sidecar.
- durability-and-recovery.md — write durability
and recovery-by-replay.
- backup-restore.md — archive format, verification, and
safe read-only restore preview.
- scheduled-backups.md — scheduled backups that leave
the box, the automatic restore test, and how to restore for real.
direction for isolating one tenant's data, and what is not decided yet.
Operating
- single-vm-deployment.md — conservative one-VM
staging with systemd, localhost uvicorn, separate object/data paths.
- docker-deployment.md — the Docker/Coolify path.
- traffic-limits.md — request-size limits and the
rate/concurrency/execution boundaries.
- status.md — readiness checklist, useful deployment shape, and
next production-hardening work.
Reference
- http-api-contract.md — the full HTTP API shape used by
clients and tools.
Documentation Rules
- Keep the root README short enough to explain the project quickly; link into
focused docs from there and from architecture.md.
- Link docs as a real markdown link, not a `
code span` — a code span
renders as monospace text and is not clickable on GitHub.
- Use Mermaid diagrams when they make the system easier to understand.
- Keep examples safe: no real IPs, private paths, tokens, or deployment names.
- Prefer runnable examples when the public code supports them.