Skip to content

Commit e33718c

Browse files
committed
fix: browser docs
1 parent 61a1996 commit e33718c

File tree

1 file changed

+21
-19
lines changed

1 file changed

+21
-19
lines changed

browser-blobs/public/index.html

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,30 @@
1010
<body>
1111
<header>
1212
<h1>iroh-blobs in the browser</h1>
13-
<a
14-
href="https://github.com/n0-computer/iroh-blobs/tree/main/examples/wasm"
15-
target="_blank"
16-
>
17-
Source code
18-
</a>
1913
<p>
20-
This example runs iroh-blobs in the browser, compiled to web
21-
assembly. The example implements the most basic demo for
22-
iroh-blobs: You can create a blob with text in it. We'll print a
23-
ticket with which others can fetch the text.
14+
This example runs
15+
<a
16+
href="https://github.com/n0-computer/iroh-blobs"
17+
target="_blank"
18+
>iroh-blobs</a
19+
>
20+
in the browser, compiled to WebAssembly. The example implements
21+
a very basic demo for iroh-blobs: You can create a blob with
22+
text in it. We'll print a ticket with which others can fetch the
23+
text. There's also a terminal app that interoperates with this
24+
browser app.
2425
</p>
2526
<p>
26-
The example is implemented both for the browser and for the
27-
command line, and the two can interop!
28-
</p>
29-
<p>
30-
How to test for real: Open this page in a new tab, or on another
31-
device, and copy over the ticket after importing a blog. You can
32-
also fetch a blob from the command line with
33-
<code>cargo run --features cli</code> from the
34-
<code>examples/wasm</code> folder.
27+
<strong>Usage:</strong> Open this page in a new tab, or on
28+
another device, and copy over the ticket after importing a blog.
29+
You can also fetch a blob from the command line: Clone the
30+
<a
31+
href="https://github.com/n0-computer/iroh-examples/"
32+
target="_blank"
33+
>iroh-examples</a
34+
>
35+
repo, navigate to <code>browser-blobs</code>, and run the CLI
36+
with <code>cargo run --features cli</code>.
3537
</p>
3638
</header>
3739
<div class="forms">

0 commit comments

Comments
 (0)