fs
wasmer-js
fs | wasmer-js | |
---|---|---|
7 | 8 | |
207 | 879 | |
3.4% | 1.8% | |
6.8 | 9.4 | |
3 months ago | 29 days ago | |
HTML | Rust | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fs
-
persistent storage API on Firefox temporary extension
You can use File System Standard https://fs.spec.whatwg.org/ to write data for that origin (Firefox doesn't implement File System Access API, nonetheless a File object can still be written to local disk using File API).
-
I spent two years building a desktop environment that runs in the browser, it's finally in beta!
Both Firefox and Chromium (Chrome) have implemented WHATWG File System Standard.
-
SQLite WASM in the Browser Backed by the Origin Private File System
Can you just slow down for a moment and focus on what you said?
> We're literally in the discussion about File System API that is:
> - not on any standards track
As others have pointed out the standard is here:
https://fs.spec.whatwg.org/
> - considered harmful by other browser vendors
It is literally being drafted in conjunction by all the major browsers.
> - shipped by default in Chrome
So what? I for one am thankful that Chromium enables features earlier than other browsers. If you don't want the Chromium implementation then don't use it.
-
Show HN: I built a WASI playground for running CLI binaries in the browser
Score another point for memfs, the in-memory node.js fe impl.
WHATWG recently took up File System Access spec as their FS spec. It both looks semi promising, but they seem to only care about & are only building specs for specifically emscripten wasm users. Only sync apis, only usable from dedicated workers... there's some hopes for more latter but feels super weird to see the web finally get fs access & have it be fast... but for it to be extremely odd shaped hand tailored to a very narrow class of use.
https://fs.spec.whatwg.org/
- Learn Postgres at the Playground
wasmer-js
-
The New Wasmer JavaScript SDK
});
I was then able to just use this code example with one caveat (https://github.com/wasmerio/wasmer-js?tab=readme-ov-file#use...)
I had to update the SDK import with crossorigin="anonymous"
- Is it possible to read a file through webassembly?
-
Try the wasm port of pointfree
I use https://github.com/wasmerio/wasmer-js and while v0.12 works fine, v1.2 never returns and is stuck in a busy loop internally somewhere. I did not bother bisecting it because the API changed at v1.0.
-
WebAssembly backend merged into GHC
You can run WASI/WASM modules in the browser using e.g. the (rather simplistic) official WASI polyfill or the more fully-featured wasmer/wasi. So while htis is certainly a bit more combersome than a direct JS FFI, you should already be able to interact with WASI/WASM-compiled Haskell code from JS.
-
Show HN: I built a WASI playground for running CLI binaries in the browser
Good spotto! That's the WASI runtime from wasmerjs (https://github.com/wasmerio/wasmer-js).
That's not the WASI runtime being used in this playground. The one in this playground is @runno/wasi-motor (https://github.com/taybenlor/runno/tree/main/packages/wasi-m...). I haven't released it as an NPM package, but it's all MIT so feel free to copy it.
-
WebAssembly in my Browser Desktop Environment
WASI Modules via Wasmer JS
-
Wasmer 2.2
I have good news! Wasmer can also be run on the browser. Check out wasmer-js [1]
[1] https://github.com/wasmerio/wasmer-js/
-
Announcing the Deno Company
Maybe wasmer-js could be used by Deno to provide WASI support inside their engine? :-)
What are some alternatives?
node-postgres - PostgreSQL client for node.js.
deno - A modern runtime for JavaScript and TypeScript.
file-system-access - Expose the file system on the user’s device, so Web apps can interoperate with the user’s native applications.
proposal-temporal - Provides standard objects and functions for working with dates and times.
goyo.vim - :tulip: Distraction-free writing in Vim
wapm-cli - 📦 WebAssembly Package Manager (CLI)
v86 - x86 PC emulator and x86-to-wasm JIT, running in the browser
libarchivejs - Archive library for browsers
runno - Browser-based runtime for programming languages and WASI binaries.
WASM-ImageMagick - Webassembly compilation of https://github.com/ImageMagick/ImageMagick & samples
datasette-lite - Datasette running in your browser using WebAssembly and Pyodide
Boxedwine