Dev logins
Every development default in this repository: accounts, secrets, tokens, ports, storage keys. tools/logins/check.js fails make validate when the code holds one this page does not list.
Accounts and secrets
There are none. Studio has no server, no sign-in and no API keys: no seeded accounts (no <role>@studio.station.center addresses), no passwords, no .env, no tokens, no buckets, no client IDs, no providers. The check fails if an .env, .env.example or .env.local appears.
The Apple app signs with the developer's own team in Xcode; no team ID or certificate is stored in the repository.
Ports
| Port | What | Where it is set | Production |
|---|---|---|---|
| 4800 | make dev, make site-serve, the browser checks' server, make shots | Makefile (PORT ?= 4800), tools/serve.mjs default, playwright.config.mjs, tools/shots.mjs | Development only; listens on 127.0.0.1 |
| 4801 | The web example's own browser checks (its http group), in make e2e and npx playwright test -c apps/web/test/playwright.config.mjs | playwright.config.mjs, apps/web/test/playwright.config.mjs | Development only; listens on 127.0.0.1 |
| 8080 | The static site in its container (make up) | deploy/Dockerfile, deploy/compose.yaml | Map it to whatever the host serves; the container listens on 0.0.0.0 inside only |
Storage keys
Browser localStorage (web) and UserDefaults (the Apple app) only; nothing leaves the device. Sample hosts under reserved TLDs (studio.test, studio.example) are data, not keys, and the check skips them.
| Key | Holds | Set by |
|---|---|---|
studio.site.theme | The site's theme choice: light, dark, or absent for the OS preference | tools/site.mjs (every page under public/) |
studio.theme | A product's theme choice through studio-react's theme provider (the web example uses it) | packages/react/src (theme) |
studio.gallery.theme | The gallery's theme choice | tools/gallery.mjs (public/components/) |
studio.gallery.density | The gallery's density choice | demos/gallery/app.tsx (public/components/) |
studio.web.theme | The web example's theme choice, read before first paint | apps/web/src/shell.tsx, apps/web/build.mjs (the preflight) |
studio.web.density | The web example's density choice | apps/web/src/shell.tsx |
studio.sidebar.collapsed | Whether the reader collapsed the app sidebar to the rail (1/0); AppShell's default collapseKey | packages/react/src (AppShell) |
studio.web.sidebar.collapsed | The same choice in the web example | apps/web/src/shell.tsx |
studio.web.sidebar.resources, studio.web.sidebar.kinds | Whether the web example's sidebar shows Resources' kinds, and the kinds behind More (1/0) | apps/web/src/shell.tsx |
studio.web.profile-name | The profile name set in the web example's Settings (empty uses the sample name) | apps/web/src/lib/prefs.ts |
studio.web.sample-banner | dismissed once Home's sample-data banner is closed; Settings brings it back | apps/web/src/lib/prefs.ts |
studio.web.workspace | The web example's sample workspace (records, activity); Reset sample data restores it | apps/web/src/data/store.ts |
studio.web.uploads | IndexedDB database (store images) of the images uploaded or dropped in the page editor, as Blobs; Reset sample data deletes it | apps/web/src/pages/page-editor/images.ts |
studio.appearance | The Apple app's theme choice (UserDefaults, @AppStorage) | apps/apple/Studio/App/Navigation.swift |
studio.density | The Apple app's density choice (UserDefaults, @AppStorage) | apps/apple/Studio/App/Navigation.swift |
studio.profileName, studio.profileInitials | The Apple app's local profile name and initials (UserDefaults, @AppStorage) | apps/apple/Studio/App/Navigation.swift |
studio.sampleBannerDismissed | Whether Home's one sample-data banner was dismissed in the Apple app (UserDefaults, @AppStorage); Settings brings it back | apps/apple/Studio/App/Navigation.swift |
studio.sampleSeeded | Whether the Apple app has seeded its sample workspace once (UserDefaults), so an emptied workspace stays empty | apps/apple/Studio/Model/WorkspaceStore.swift |