Bento Spaces docs

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.

DocRead it when you need…
Productwhat Bento Spaces is, who it is for, the vocabulary
Architecturehow the app is put together, how it runs, the repo layout
Storagewhere files live, the private/data split, JSON shapes
APIevery endpoint and its contract
Widgetsthe widget contract, declarative runtime, registries
Securityauth, tokens, PIN, CSP, secrets, the threat model
UIview/edit modes, dock, container rules, panel and mobile
Commercialplans, prices, entitlements, why they exist
Roadmapthe plan: phases and acceptance criteria
Decision logevery locked decision and every reversal
Domains and surfaceshostnames, subdomains, API/manage boundaries and future clients
Connectorsaccount connectors, encrypted tokens, the proxy and the Gree AC widget
14 — Widget cataloguewhich widgets to build, by data tier, and the live-data rules
15 — PWA and offlineinstallability, the service worker, what works offline, and the dev gate
16 — Automationsclimate profiles, rules, the decision order and the runner
17 — Split deploymentthe split deployment: static shell, API, CORS, cookies, Caddy/IIS
18 — Studiothe developer workbench on developer.bentospaces.com
Open workthe live backlog: tokens, billing, push, admin session and the rest
Paddle sandbox runbookthe Paddle sandbox runbook: account, catalog, keys, webhook, verification
Bento Shelf — Build Specthe 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

  1. No third-party dependencies. HTML, CSS, ES-module JS and the .NET framework only. Ask
  2. before any package.
  3. web/ is served as-is. No bundler, no npm, no build step.
  4. docs/ is updated in the same change as the code. A behaviour change without a doc
  5. change is an incomplete change.
  6. scripts/publish.sh is the only way to produce a release. It archives the previous one.
  7. App_Data/ never ships. It holds accounts, sessions and secrets.
  8. 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)