Minimal Solid data browser - a lightweight alternative to mashlib using the JSS authentication stack.
- Same interface as mashlib - Drop-in replacement for testing and migration
- Minimal authentication - Uses solid-oidc (~600 lines) instead of @inrupt/solid-client-authn-browser (~150KB)
- Lightweight - Smaller bundle size with fewer dependencies
<!DOCTYPE html>
<html>
<head>
<title>My Solid App</title>
</head>
<body id="PageBody">
<header id="PageHeader"></header>
<main id="DummyUUID"></main>
<footer id="PageFooter"></footer>
<script src="https://unpkg.com/solid-shim/dist/solid-shim.min.js"></script>
<script>
panes.runDataBrowser()
</script>
</body>
</html>solid-shim exposes the same globals as mashlib:
$rdf- RDF library (rdflib)panes- Solid panes withrunDataBrowser()functionSolidLogic- Authentication and store utilitiesSolidLogic.authn- Authentication logicSolidLogic.authSession- Session managementSolidLogic.store- RDF storeSolidLogic.solidLogicSingleton- Singleton instance
mashlib.versionInfo- Version information
git clone https://github.com/JavaScriptSolidServer/solid-shim
cd solid-shim
npm install
npm startnpm run buildsolid-shim
├── solid-panes-jss (panes and UI components)
│ ├── solid-ui-jss (UI widgets)
│ │ └── solid-logic-jss (core logic)
│ │ └── solid-oidc (authentication)
│ └── various pane packages
└── rdflib (RDF processing)
This is a minimal alternative to SolidOS/mashlib using the JSS authentication stack:
- solid-oidc - Minimal Solid-OIDC client
- solid-logic-jss - Core logic with solid-oidc
- solid-ui-jss - UI widgets
- solid-panes-jss - Pane components
MIT