Skip to content

Commit 4a8c83d

Browse files
committed
feat(web-host): update HomePage.tsx
1 parent 7652251 commit 4a8c83d

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

packages/web-host/src/components/HomePage.tsx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ export const HomePage = ({ onStartRepl }: HomePageProps) => {
6060
runs in browsers and terminals with different host implementations.
6161
</p>
6262
<p className="text-gray-700 mb-6 text-lg">
63-
Plugins like <code>cat</code> or <code>ls</code> can interact with a
64-
virtual filesystem using the primitives of the languages they are
65-
written in (like <code>std::fs::read_dir</code> or{" "}
66-
<code>std::fs::read_to_string</code>).
63+
Plugins like <code>cat</code>, <code>ls</code> or <code>tee</code> can
64+
interact with a virtual filesystem using the primitives of the
65+
languages they are written in (like <code>std::fs::read_dir</code>,{" "}
66+
<code>std::fs::read_to_string</code> or <code>std::fs::write</code>).
6767
</p>
6868

6969
<h4 className="text-xl font-bold mb-3">Key Features</h4>
@@ -75,9 +75,10 @@ export const HomePage = ({ onStartRepl }: HomePageProps) => {
7575
Language-agnostic plugins (any language that compiles to WASM)
7676
</li>
7777
<li>
78-
Virtual filesystem: the I/O operations are forwarded via the{" "}
79-
<code>@bytecodealliance/preview2-shim/filesystem</code> shim, which
80-
shims <code>wasi:filesystem</code>
78+
Virtual filesystem: the I/O operations are forwarded via a local
79+
fork of <code>@bytecodealliance/preview2-shim/filesystem</code>,
80+
which shims <code>wasi:filesystem</code> (yes, you can do{" "}
81+
<strong>WRITE</strong> operations)
8182
</li>
8283
<li>Modern React + TypeScript web interface</li>
8384
</ul>

0 commit comments

Comments
 (0)