solidos-lite
v0.0.1
Lightweight SolidOS with data island support
Initializing...
Usage
<!-- 1. Load mashlib --> <script src="https://cdn.jsdelivr.net/npm/mashlib/dist/mashlib.min.js"></script> <!-- 2. Load solidos-lite --> <script type="module"> import { init } from './solidos-lite.js' init({ verbose: true }) </script> <!-- 3. Embed your data --> <script type="text/turtle"> @prefix foaf: <http://xmlns.com/foaf/0.1/> . <#me> a foaf:Person ; foaf:name "Alice" . </script>
Live Demo - Profile from Data Island
How It Works
Data Island:
RDF is embedded in a
<script type="text/turtle">
tag
Shim:
Intercepts
fetcher.load()
to check for local data first
Result:
No CORS, no network latency, works offline