From d06f176064705f50c1da46c27312c3a5658683fc Mon Sep 17 00:00:00 2001 From: m2nsp Date: Fri, 7 Aug 2026 23:43:55 +0900 Subject: [PATCH 1/3] Add README for H3 example Assisted-by: ChatGPT:GPT-5.5-mini --- examples/h3/README.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 examples/h3/README.md diff --git a/examples/h3/README.md b/examples/h3/README.md new file mode 100644 index 000000000..69dcad97d --- /dev/null +++ b/examples/h3/README.md @@ -0,0 +1,41 @@ +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. Move to the example folder: + + ~~~~ sh + cd examples/h3 + ~~~~ + +3. Install dependencies: + + ~~~~ sh + pnpm install + ~~~~ + +4. Start the server: + + ~~~~ sh + deno serve -A index.ts + ~~~~ + +5. Look up the actor URL: + + ~~~~ + http://localhost:8000/users/{identifier} + ~~~~ From 76faf694a26acea06271d6dfc16125ed6211303a Mon Sep 17 00:00:00 2001 From: m2nsp Date: Mon, 10 Aug 2026 23:48:05 +0900 Subject: [PATCH 2/3] Clarify the example flow in H3 readme --- examples/h3/README.md | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/examples/h3/README.md b/examples/h3/README.md index 69dcad97d..73e92da9a 100644 --- a/examples/h3/README.md +++ b/examples/h3/README.md @@ -16,26 +16,33 @@ Running the example git clone https://github.com/fedify-dev/fedify.git ~~~~ -2. Move to the example folder: +2. Go to the directory of the cloned repository: ~~~~ sh - cd examples/h3 + cd fedify ~~~~ -3. Install dependencies: +3. Trust and install dependencies using `mise`: ~~~~ sh - pnpm install + mise trust + mise install ~~~~ -4. Start the server: +4. Go to the `h3` example directory: ~~~~ sh - deno serve -A index.ts + cd examples/h3 ~~~~ -5. Look up the actor URL: +5. Open the server using Deno: + ~~~~ sh + deno serve -A index.ts ~~~~ - http://localhost:8000/users/{identifier} + +6. Lookup an actor using `@fedify/cli`: + + ~~~~ sh + fedify lookup http://localhost:8000/users/{identifier} ~~~~ From fddeb1c42ab1853803d41cd7ab124a36d3ac0ceb Mon Sep 17 00:00:00 2001 From: m2nsp Date: Wed, 12 Aug 2026 20:30:21 +0900 Subject: [PATCH 3/3] Use mise cli task for actor lookup in H3 readme --- examples/h3/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/h3/README.md b/examples/h3/README.md index 73e92da9a..f0ccc4743 100644 --- a/examples/h3/README.md +++ b/examples/h3/README.md @@ -44,5 +44,5 @@ Running the example 6. Lookup an actor using `@fedify/cli`: ~~~~ sh - fedify lookup http://localhost:8000/users/{identifier} + mise run cli lookup http://localhost:8000/users/{identifier} ~~~~