Experiment to rebuild Diffuse using web applets.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: 🧹

+6 -6
+1 -1
package-lock.json
··· 16 16 } 17 17 }, 18 18 "../../unternet-co/web-applets/sdk": { 19 - "version": "0.2.7", 19 + "version": "0.2.6", 20 20 "license": "MIT", 21 21 "devDependencies": { 22 22 "@types/node": "^22.13.10",
+2 -2
src/applets/storage/output/memory/manifest.json
··· 1 1 { 2 - "name": "diffuse/orchestrator/queue", 3 - "title": "Diffuse Orchestrator | Storage", 2 + "name": "diffuse/storage/output/memory", 3 + "title": "Diffuse Storage | Output | Memory", 4 4 "entrypoint": "index.html", 5 5 "actions": {} 6 6 }
+2 -2
src/scripts/theme.ts
··· 37 37 frame.src = src; 38 38 if (opts.id) frame.id = opts.id; 39 39 40 - document.body.appendChild(frame); 40 + (opts.context || window).document.body.appendChild(frame); 41 41 } 42 42 43 43 if (frame.contentWindow === null) { 44 44 throw new Error("iframe does not have a contentWindow"); 45 45 } 46 46 47 - const applet = await applets.connect<D>(frame.contentWindow); 47 + const applet = await applets.connect<D>(frame.contentWindow, { context: opts.context }); 48 48 49 49 if (opts.setHeight) { 50 50 applet.onresize = () => {
+1 -1
src/scripts/themes/pilot/index.ts
··· 90 90 91 91 // NOTE: How do we sync new remote data with our local/in-memory data? 92 92 // 93 - // orchestrator.storage.data = { 93 + // storage.output.memory.data = { 94 94 // sources: [], 95 95 // tracks: [] 96 96 // }