Enable the SolidOS Mashlib data browser for RDF resources.
CDN Mode (recommended for getting started):
jss start --mashlib-cdn --conneg
Loads mashlib from unpkg.com CDN. Zero footprint — no local files needed.
Local Mode (for production/offline):
jss start --mashlib --conneg
Serves mashlib from src/mashlib-local/dist/. Requires building mashlib locally:
cd src/mashlib-local
npm install && npm run build
ES Module Mode (for custom or next-gen mashlib builds):
jss start --mashlib-module https://example.com/mashlib.js
Loads an ES module-based data browser from any URL. Uses <script type="module"> and <div id="mashlib"> (self-initializing). CSS is auto-derived by replacing .js with .css. Content negotiation is auto-enabled.
/alice/public/data.ttl with Accept: text/htmlNote: Mashlib works best with --conneg enabled for Turtle support.
jss start --mashlib-cdn --conneg --panes https://melvincarvalho.github.io/pane-loader/examples/meetings-pane.js
--panes (env JSS_PANES, config panes) takes a comma-separated list of pane module URLs. Each is an ES module whose default export is a SolidOS pane (name, label, render). The data browser page loads and registers them before it starts SolidOS, so they are in the registry at first render. Mashlib is not changed or rebuilt.
http(s) address or an absolute path on this server (/public/panes/my-pane.js); anything else is ignored.--mashlib-cdn. It does not apply to --mashlib-module yet: a module entry point starts itself, so that mode needs its own design. The server says so at start-up.JSS_PANES the list is split on commas. A pane URL that contains a comma has to go in the config file, as an array.--panes, the page is exactly as before.The loader is pane-loader, shipped with JSS and served at /.well-known/jss/pane-loader.js when panes are configured. The shipped copy leaves out the upstream ?pane=URL shortcut, so the only panes loaded are the ones in this list. Background: SolidOS Panes, section 7.
Trust: a pane runs in the page with the logged-in session and can do whatever the person can. This list is set by whoever runs the server; add only panes you would install for every user. Signing and consent are tracked in https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/651.
jss start --mashlib --solidos-ui --conneg
Serves a modern Nextcloud-style UI shell while reusing mashlib’s data layer:
Requires solidos-ui dist files in src/mashlib-local/dist/solidos-ui/. See solidos-ui for details.
Pod profiles (/alice/) use HTML with embedded JSON-LD data islands and are rendered using:
getPod() fix for path-based podsThis allows profiles to work without server-side content negotiation while still providing full SolidOS editing capabilities.