Skip to content

Alrighttt/sialo_browser

Repository files navigation

indexd WASM Demo

Browser-based demo for the indexd WASM SDK, enabling decentralized file storage and retrieval over WebTransport.

Setup

npm install

This installs file-type (MIME detection) and mp4box (MP4 transmuxing for video streaming). The bundled versions in vendor/ are already committed, so this step is only needed if you want to update dependencies.

Updating vendored dependencies

# file-type (MIME detection)
npm update file-type
npx esbuild --bundle --format=esm --outfile=vendor/file-type.bundle.js node_modules/file-type/core.js

# mp4box (MP4 transmuxing for video streaming)
npm update mp4box
npx esbuild --bundle --format=esm --outfile=vendor/mp4box.bundle.js node_modules/mp4box/dist/mp4box.all.js

Running

Serve the directory with any static file server:

python3 -m http.server 8080

Then open http://localhost:8080 in your browser.

About

Browser-based file manager and browser for the Sia decentralized storage network. Upload, download, and manage files directly in your browser using WebTransport.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors