From 1b3aa414c2bf20901338935817edf87590432bf8 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 --- 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 c778193b33ebcda4df889ac0289ef0d2c0c5dc03 Mon Sep 17 00:00:00 2001 From: m2nsp Date: Fri, 7 Aug 2026 23:43:55 +0900 Subject: [PATCH 2/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 05e3a6c74e781f6563cd21d8a2919982b1566f91 Mon Sep 17 00:00:00 2001 From: m2nsp Date: Mon, 10 Aug 2026 23:48:05 +0900 Subject: [PATCH 3/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} ~~~~