Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions examples/h3/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
Fedify–H3 integration example
=============================

This is a simple example of how to integrate Fedify into an [H3]
application.

[H3]: https://h3.unjs.io/


Running the example
-------------------

1. Clone the repository:

~~~~ sh
git clone https://github.com/fedify-dev/fedify.git
~~~~

2. Go to the directory of the cloned repository:

~~~~ sh
cd fedify
~~~~
Comment thread
coderabbitai[bot] marked this conversation as resolved.

3. Trust and install dependencies using `mise`:

~~~~ sh
mise trust
mise install
~~~~

4. Go to the `h3` example directory:

~~~~ sh
cd examples/h3
~~~~

5. Open the server using Deno:

~~~~ sh
deno serve -A index.ts
~~~~

6. Lookup an actor using `@fedify/cli`:

~~~~ sh
fedify lookup http://localhost:8000/users/{identifier}
~~~~