Loading README.md +3 −3 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ Fedify: an ActivityPub server framework [![npm][npm badge]][npm] [![GitHub Actions][GitHub Actions badge]][GitHub Actions] [![Matrix][Matrix badge]][Matrix] [![Follow @hongminhee@todon.eu][@hongminhee.todon.eu badge]][@hongminhee.todon.eu] [![Follow @hongminhee@fosstodon.org][@hongminhee@fosstodon.org badge]][@hongminhee@fosstodon.org] > [!NOTE] > Looking for a quick demo? Here it is: [Fedify Demo] on Deno Playground. Loading Loading @@ -54,8 +54,8 @@ join our [Matrix chat space][Matrix] or [GitHub Discussions]. Or tag [GitHub Actions badge]: https://github.com/dahlia/fedify/actions/workflows/build.yaml/badge.svg [Matrix]: https://matrix.to/#/#fedify:matrix.org [Matrix badge]: https://img.shields.io/matrix/fedify%3Amatrix.org [@hongminhee.todon.eu badge]: https://fedi-badge.deno.dev/@hongminhee@todon.eu/followers.svg [@hongminhee.todon.eu]: https://todon.eu/@hongminhee [@hongminhee@fosstodon.org badge]: https://fedi-badge.deno.dev/@hongminhee@fosstodon.org/followers.svg [@hongminhee@fosstodon.org]: https://fosstodon.org/@hongminhee [Fedify Demo]: https://dash.deno.com/playground/fedify-demo [ActivityPub]: https://www.w3.org/TR/activitypub/ [fediverse]: https://en.wikipedia.org/wiki/Fediverse Loading examples/actor-lookup-cli/README.md +1 −1 Original line number Diff line number Diff line Loading @@ -11,5 +11,5 @@ Usage ~~~~ sh deno task codegen # At very first time only deno run -A ./main.ts @hongminhee@todon.eu deno run -A ./main.ts @hongminhee@fosstodon.org ~~~~ vocab/actor.ts +2 −2 Original line number Diff line number Diff line Loading @@ -85,11 +85,11 @@ export function getActorClassByTypeName( * ``` typescript * // Get the handle of an actor object: * await getActorHandle( * new Person({ id: new URL("https://todon.eu/users/hongminhee") }) * new Person({ id: new URL("https://fosstodon.org/users/hongminhee") }) * ); * * // Get the handle of an actor URI: * await getActorHandle(new URL("https://todon.eu/users/hongminhee")); * await getActorHandle(new URL("https://fosstodon.org/users/hongminhee")); * ``` * * @param actor The actor or actor URI to get the handle from. Loading vocab/lookup.ts +3 −3 Original line number Diff line number Diff line Loading @@ -36,15 +36,15 @@ const handleRegexp = * @example * ``` typescript * // Look up an actor by its fediverse handle: * await lookupObject("@hongminhee@todon.eu"); * await lookupObject("@hongminhee@fosstodon.org"); * // returning a `Person` object. * * // A fediverse handle can omit the leading '@': * await lookupObject("hongminhee@todon.eu"); * await lookupObject("hongminhee@fosstodon.org"); * // returning a `Person` object. * * // A `acct:` URI can be used as well: * await lookupObject("acct:hongminhee@todon.eu"); * await lookupObject("acct:hongminhee@fosstodon.org"); * // returning a `Person` object. * * // Look up an object by its URI: Loading Loading
README.md +3 −3 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ Fedify: an ActivityPub server framework [![npm][npm badge]][npm] [![GitHub Actions][GitHub Actions badge]][GitHub Actions] [![Matrix][Matrix badge]][Matrix] [![Follow @hongminhee@todon.eu][@hongminhee.todon.eu badge]][@hongminhee.todon.eu] [![Follow @hongminhee@fosstodon.org][@hongminhee@fosstodon.org badge]][@hongminhee@fosstodon.org] > [!NOTE] > Looking for a quick demo? Here it is: [Fedify Demo] on Deno Playground. Loading Loading @@ -54,8 +54,8 @@ join our [Matrix chat space][Matrix] or [GitHub Discussions]. Or tag [GitHub Actions badge]: https://github.com/dahlia/fedify/actions/workflows/build.yaml/badge.svg [Matrix]: https://matrix.to/#/#fedify:matrix.org [Matrix badge]: https://img.shields.io/matrix/fedify%3Amatrix.org [@hongminhee.todon.eu badge]: https://fedi-badge.deno.dev/@hongminhee@todon.eu/followers.svg [@hongminhee.todon.eu]: https://todon.eu/@hongminhee [@hongminhee@fosstodon.org badge]: https://fedi-badge.deno.dev/@hongminhee@fosstodon.org/followers.svg [@hongminhee@fosstodon.org]: https://fosstodon.org/@hongminhee [Fedify Demo]: https://dash.deno.com/playground/fedify-demo [ActivityPub]: https://www.w3.org/TR/activitypub/ [fediverse]: https://en.wikipedia.org/wiki/Fediverse Loading
examples/actor-lookup-cli/README.md +1 −1 Original line number Diff line number Diff line Loading @@ -11,5 +11,5 @@ Usage ~~~~ sh deno task codegen # At very first time only deno run -A ./main.ts @hongminhee@todon.eu deno run -A ./main.ts @hongminhee@fosstodon.org ~~~~
vocab/actor.ts +2 −2 Original line number Diff line number Diff line Loading @@ -85,11 +85,11 @@ export function getActorClassByTypeName( * ``` typescript * // Get the handle of an actor object: * await getActorHandle( * new Person({ id: new URL("https://todon.eu/users/hongminhee") }) * new Person({ id: new URL("https://fosstodon.org/users/hongminhee") }) * ); * * // Get the handle of an actor URI: * await getActorHandle(new URL("https://todon.eu/users/hongminhee")); * await getActorHandle(new URL("https://fosstodon.org/users/hongminhee")); * ``` * * @param actor The actor or actor URI to get the handle from. Loading
vocab/lookup.ts +3 −3 Original line number Diff line number Diff line Loading @@ -36,15 +36,15 @@ const handleRegexp = * @example * ``` typescript * // Look up an actor by its fediverse handle: * await lookupObject("@hongminhee@todon.eu"); * await lookupObject("@hongminhee@fosstodon.org"); * // returning a `Person` object. * * // A fediverse handle can omit the leading '@': * await lookupObject("hongminhee@todon.eu"); * await lookupObject("hongminhee@fosstodon.org"); * // returning a `Person` object. * * // A `acct:` URI can be used as well: * await lookupObject("acct:hongminhee@todon.eu"); * await lookupObject("acct:hongminhee@fosstodon.org"); * // returning a `Person` object. * * // Look up an object by its URI: Loading