Loading docs/cli.md +10 −8 Original line number Diff line number Diff line Loading @@ -946,15 +946,17 @@ about the security implications of exposing the server to the public internet. > be served via HTTP instead of HTTPS. `fedify node`: Visualizing an instance's NodeInfo ------------------------------------------------- `fedify nodeinfo`: Visualizing an instance's NodeInfo ----------------------------------------------------- *This command is available since Fedify 1.8.0.* *This command is available since Fedify 1.2.0.* *This command was `fedify node` before 1.8.0. However, after 2.0.0 release, `fedify node` will be deprecated.*  visualized along with the favicon.](cli/fedify-nodeinfo.png) The `fedify node` command fetches the given instance's [NodeInfo] document and The `fedify nodeinfo` command fetches the given instance's [NodeInfo] document and visualizes it in [`neofetch`]-style. The argument can be either a bare hostname or a full URL. Loading @@ -975,7 +977,7 @@ You can also output the fetched NodeInfo document in the raw JSON format by usin the `-r`/`--raw` option: ~~~~ sh fedify node --raw fosstodon.org fedify nodeinfo --raw fosstodon.org ~~~~ The output will be like the below: Loading Loading @@ -1039,14 +1041,14 @@ i.e., the `metadata` field of the document. *This option is available since Fedify 1.3.0.* By default, the `fedify node` command sends the `User-Agent` header with the By default, the `fedify nodeinfo` command sends the `User-Agent` header with the value `Fedify/1.3.0 (Deno/2.0.4)` (version numbers may vary). You can specify a custom `User-Agent` header by using the `-u`/`--user-agent` option. For example, to send the `User-Agent` header with the value `MyApp/1.0`, run the below command: ~~~~ sh fedify node --user-agent MyApp/1.0 mastodon.social fedify nodeinfo --user-agent MyApp/1.0 mastodon.social ~~~~ Loading docs/cli/fedify-node.pngdeleted 100644 → 0 −277 KiB Loading image diff... docs/cli/fedify-nodeinfo.png 0 → 100644 +612 KiB Loading image diff... Loading
docs/cli.md +10 −8 Original line number Diff line number Diff line Loading @@ -946,15 +946,17 @@ about the security implications of exposing the server to the public internet. > be served via HTTP instead of HTTPS. `fedify node`: Visualizing an instance's NodeInfo ------------------------------------------------- `fedify nodeinfo`: Visualizing an instance's NodeInfo ----------------------------------------------------- *This command is available since Fedify 1.8.0.* *This command is available since Fedify 1.2.0.* *This command was `fedify node` before 1.8.0. However, after 2.0.0 release, `fedify node` will be deprecated.*  visualized along with the favicon.](cli/fedify-nodeinfo.png) The `fedify node` command fetches the given instance's [NodeInfo] document and The `fedify nodeinfo` command fetches the given instance's [NodeInfo] document and visualizes it in [`neofetch`]-style. The argument can be either a bare hostname or a full URL. Loading @@ -975,7 +977,7 @@ You can also output the fetched NodeInfo document in the raw JSON format by usin the `-r`/`--raw` option: ~~~~ sh fedify node --raw fosstodon.org fedify nodeinfo --raw fosstodon.org ~~~~ The output will be like the below: Loading Loading @@ -1039,14 +1041,14 @@ i.e., the `metadata` field of the document. *This option is available since Fedify 1.3.0.* By default, the `fedify node` command sends the `User-Agent` header with the By default, the `fedify nodeinfo` command sends the `User-Agent` header with the value `Fedify/1.3.0 (Deno/2.0.4)` (version numbers may vary). You can specify a custom `User-Agent` header by using the `-u`/`--user-agent` option. For example, to send the `User-Agent` header with the value `MyApp/1.0`, run the below command: ~~~~ sh fedify node --user-agent MyApp/1.0 mastodon.social fedify nodeinfo --user-agent MyApp/1.0 mastodon.social ~~~~ Loading