Bento Spaces documentation
Bento Spaces — documentation index
Status: P0 shelf, P1 shell, P2 widgets, P2.5 chrome, P3 space sharing, P4 registries, P5 sandboxed modules, P5.5 widget data/actions, P5.6 connectors/Gree AC, P5.7 multi-device Bento Bridge with pairing and generated deploy files, P5.8 live widgets, P5.9 climate automations, P6 surfaces, Studio publishing, WidgetMarket, feedback, reports, notifications, API tokens, operator sessions, plan entitlements, a Paddle checkout/webhook adapter with the customer portal, the paid publisher badge, publisher analytics, connector health caching, a Home Assistant connector/widget, self-hosted browser push and the device-wide zoom are built and verified. The live backlog is Open work. Rule: this folder is the source of truth. If it is not written here, it does not exist. Brand: the product is Bento Spaces. Code identifiers (Bento.Api, Bento.Bridge, Bento.slnx), the host name bento.local and feature names like Bento Bridge keep the short form.
| Doc | Read it when you need… |
|---|---|
| Product | what Bento Spaces is, who it is for, the vocabulary |
| Architecture | how the app is put together, how it runs, the repo layout |
| Storage | where files live, the private/data split, JSON shapes |
| API | every endpoint and its contract |
| Widgets | the widget contract, declarative runtime, registries |
| Security | auth, tokens, PIN, CSP, secrets, the threat model |
| UI | view/edit modes, dock, container rules, panel and mobile |
| Commercial | plans, prices, entitlements, why they exist |
| Roadmap | the plan: phases and acceptance criteria |
| Decision log | every locked decision and every reversal |
| Domains and surfaces | hostnames, subdomains, API/manage boundaries and future clients |
| Connectors | account connectors, encrypted tokens, the proxy and the Gree AC widget |
| 14 — Widget catalogue | which widgets to build, by data tier, and the live-data rules |
| 15 — PWA and offline | installability, the service worker, what works offline, and the dev gate |
| 16 — Automations | climate profiles, rules, the decision order and the runner |
| 17 — Split deployment | the split deployment: static shell, API, CORS, cookies, Caddy/IIS |
| 18 — Studio | the developer workbench on developer.bentospaces.com |
| Open work | the live backlog: tokens, billing, push, admin session and the rest |
| Paddle sandbox runbook | the Paddle sandbox runbook: account, catalog, keys, webhook, verification |
| Bento Shelf — Build Spec | the original brief (M1). Historical; superseded by 01–12 |
The one-paragraph version
Bento Spaces is a personal webtop: you sign in (or use it anonymously as a PWA) and land on a centered horizontal shelf of 4×4 squares. Each square holds containers — rectangles at least 1×1 boxes — and each container can hold a widget. Widgets are declarative JSON or sandboxed modules. A bottom dock switches spaces (Social, Work, IoT…). Empty space is itself a box: its + offers every fill that fits. A share link opens one space read-only, optionally PIN-locked. A companion panel (32:9 touch screen) runs the same shelf read-only, with idle lock.
Working rules
- No third-party dependencies. HTML, CSS, ES-module JS and the .NET framework only. Ask
- before any package.
web/is served as-is. No bundler, no npm, no build step.docs/is updated in the same change as the code. A behaviour change without a doc- change is an incomplete change.
scripts/publish.shis the only way to produce a release. It archives the previous one.App_Data/never ships. It holds accounts, sessions and secrets.- Decisions are recorded in Decision log, not re-argued in chat.
Quick start
cd source/Bento.Api && dotnet run # http://localhost:5080
node --test tests/*.test.js # 133 model assertions
./scripts/publish.sh # → published/ (+ archive zip)