I'm working on adding a CLI toolchain to #Fedify to help with debugging. The first feature I implemented is the ActivityPub object lookup.
Here's a demo.
I'm working on adding a CLI toolchain to #Fedify to help with debugging. The first feature I implemented is the ActivityPub object lookup.
Here's a demo.
@mariusor It depends on a public local tunnel service under the hood, haha. Here's my module for that:
@hongminhee I like the part of "spinning up a temporary ActivityPub server", but how does that work? The key needs to be reachable from the internet, so DNS and such must be already set up.
@mariusor First of all, the library itself does not have this feature — only the CLI toolchain has it.
And these services fortunately do not require signing up! So it does not share any account of them.
@hongminhee I see, but is that safe to disseminate as part of a library? Meaning that multiple developers will be making use of those services through - what I assume to be - your account.
If you already have Deno installed on your system, you can try the fedify command now:
deno install -A -n fedify jsr:@fedify/cli@0.8.0-dev.150+8fb0fc25
I've done some basic documentation on the fedify command:
@hongminhee hm weird, this should not happen I guess
@noim Which version did you install, 0.8.0-dev.150 or 0.8.0-dev.151?
@hongminhee jsr:@fedify/cli@0.8.0-dev.151+8b57234d
@noim Could you reinstall the command by running the below command?
deno install -A -n fedify jsr:@fedify/cli@0.8.0-dev.151+8b57234d
@noim Good to hear. Thank you for trying it out.
@hongminhee This works
Fixed a bug that the option -a/--authorized-fetch did not work on Windows.
The second feature of the Fedify CLI that I'm working on is ephemeral inboxes.
@arjen A ephemeral inbox is a term I coined that refers to exposing an inbox that only lives a short time to a randomly generated public DNS. You can use it when debugging an ActivityPub app you're building to make sure that the activities you send out are received properly.
@hongminhee makes me curious, what is an ephemeral inbox? Is it different from a normal inbox?
@arjen Thank you for your interest!
@hongminhee thanks, I understand now! You do not always want to use a "real" account for debugging purposes. Really like your project btw, very useful.
The `fedify inbox` command, which will be shipped in the next #Fedify release, is a tool that creates an ephemeral #ActivityPub server so that you can debug and test the activities you send.
Here's a demo of it.
https://unstable.fedify.dev/cli#fedify-inbox-ephemeral-inbox-server
If you already have Deno installed on your system, you can try the fedify command now:
deno install -A --unstable-fs --unstable-kv --unstable-temporal -n fedify jsr:@fedify/cli@0.8.0-dev.154+c62294c6
I'm packaging the #Fedify CLI into a single executable using `deno compile`.
@insert Not yet, but I definitely will add the option!
@hongminhee would I be able to use it exclusively local?
Example: making an activitypub server, specifically want to check if it works without using outside internet. Would it just be able to use localhost <-> localhost or perhaps over lan?
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.