Experiment to rebuild Diffuse using web applets.
0
fork

Configure Feed

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

chore: show s3 input on configurator ui

+9 -10
-1
deno.lock
··· 32 32 "npm:idb-keyval@^6.2.1", 33 33 "npm:music-metadata@^11.2.3", 34 34 "npm:native-file-system-adapter@^3.0.1", 35 - "npm:node-s3-url-encode@^0.0.4", 36 35 "npm:purgecss@^7.0.2", 37 36 "npm:query-string@^9.1.2", 38 37 "npm:sass@^1.87.0",
+9 -9
src/pages/configurator/input/_applet.astro
··· 11 11 <i class="iconoir-open-in-window"></i> 12 12 <strong>My device</strong> 13 13 </a> 14 + <br /> 15 + <a href="../../input/s3/" class="with-icon"> 16 + <i class="iconoir-open-in-window"></i> 17 + <strong>S3-compatible service</strong> 18 + </a> 14 19 </p> 15 20 </div> 16 21 <p> ··· 21 26 </p> 22 27 </main> 23 28 24 - <div id="iframes"></div> 25 - 26 - <style> 27 - #iframes { 29 + <style is:global> 30 + iframe { 28 31 display: none; 29 32 } 30 33 </style> ··· 38 41 //////////////////////////////////////////// 39 42 // SETUP 40 43 //////////////////////////////////////////// 41 - const container = document.querySelector("#iframes") || undefined; 42 - 43 - // Register applet 44 44 const context = applets.register<{ ready: boolean }>(); 45 45 46 46 // Initial state ··· 50 50 51 51 // Applet connections 52 52 const input = { 53 - nativeFs: await applet("../../input/native-fs", { container }), 54 - s3: await applet("../../input/s3", { container }), 53 + nativeFs: await applet("../../input/native-fs"), 54 + s3: await applet("../../input/s3"), 55 55 }; 56 56 57 57 ////////////////////////////////////////////