askrobots / dbbasic-object-server
Public
Runs live, versioned Python application objects on one VM, with a suite of apps: projects, notes, tasks, files and more.
danq9
signup: the person chooses the password and name on the confirm page
83c7aa6
2 weeks, 5 days ago
History
dbbasic-package.json · 1.2 KB · 35 lines
| 1 | { |
| 2 | "id": "app-sites", |
| 3 | "name": "Sites", |
| 4 | "version": "0.1.0", |
| 5 | "description": "Websites made elsewhere (Webmaster, any static site builder) published as records: one site_pages record per page (site, slug, title, html), owned by whoever published it, served at /s/{site} and /s/{site}/{page}. The HTML is the author's, so every page is served sandboxed (Content-Security-Policy: sandbox without allow-same-origin): its scripts run in an opaque origin and can never read this server's session cookie or call its API as the visitor. A page shows when it is public or the visitor owns it; nothing else is rendered. No front door in the nav (nav_optional): each published site is its own place, reached at /s/{site}.", |
| 6 | "compatibility": { |
| 7 | "dbbasic_object_server": ">=0.1.0" |
| 8 | }, |
| 9 | "dependencies": [], |
| 10 | "objects": [ |
| 11 | { |
| 12 | "id": "site_sites_page", |
| 13 | "path": "objects/site/sites_page.py" |
| 14 | } |
| 15 | ], |
| 16 | "schemas": [ |
| 17 | { |
| 18 | "collection": "site_pages", |
| 19 | "path": "schemas/site_pages.json" |
| 20 | } |
| 21 | ], |
| 22 | "permissions": [ |
| 23 | { |
| 24 | "path": "permissions/rules.json" |
| 25 | } |
| 26 | ], |
| 27 | "seed": [ |
| 28 | { |
| 29 | "collection": "site_routes", |
| 30 | "path": "seed/site_routes.tsv" |
| 31 | } |
| 32 | ], |
| 33 | "migrations": [], |
| 34 | "nav_optional": true |
| 35 | } |