Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update jekyll plugin with p2p #121

Closed
sutty-coop opened this issue Jan 22, 2024 · 6 comments
Closed

Update jekyll plugin with p2p #121

sutty-coop opened this issue Jan 22, 2024 · 6 comments
Assignees

Comments

@sutty-coop
Copy link
Collaborator

No description provided.

@fauno
Copy link
Collaborator

fauno commented Feb 1, 2024

This means jekyll-activity-pub adds support for the #103 right?

@sutty-coop
Copy link
Collaborator Author

sutty-coop commented Feb 8, 2024

We wait for the draft of #115 and push this issue to Feb 15

@RangerMauve
Copy link
Contributor

Yup! Here's how:

We need to track multiple domains for ActivityPub instead of just the one https domain.
This will have the ipfs/hyper/etc prefixes.
We will need to generate AP files per domain. Maybe we could add a suffix like actor.0.ldjson, actor.1.ldjson.
We will need to have each object have an alsoKnownAs field that links to the url of the object with the other domain prefix. E.g. something with an https url will link to their ipns version.

This also means we might need to modify the webfinger code to somehow handle the multiple "identities". Maybe all of the urls can be in there with https first and then non-p2p clients might ignore them?

Same with HTML files, we'll need to link to all the versions of the ap files with the appropriate urls.

@fauno
Copy link
Collaborator

fauno commented Feb 14, 2024

Regarding FEP fffd I checked Mastodon's code and when it finds that the url attribute of an activity/actor is an array of objects, it'll pick the first one with mimeType equal "text/html" and ignore the rest.

So if we list the HTTPS versions first, anything that comes afterwards should be compatible, even if it's the HTML version on IPFS.

@sutty-coop sutty-coop moved this from Todo to In Progress in Distributed Press Organizing Feb 20, 2024
@sutty-coop sutty-coop moved this from In Progress to Done in Distributed Press Organizing Feb 20, 2024
@fauno
Copy link
Collaborator

fauno commented Feb 23, 2024

@sutty-coop this isn't finished though

@sutty-coop sutty-coop moved this from Done to In Progress in Distributed Press Organizing Mar 7, 2024
@sutty-coop sutty-coop reopened this Mar 7, 2024
@fauno fauno self-assigned this Mar 8, 2024
@fauno fauno moved this from In Progress to Done in Distributed Press Organizing Mar 11, 2024
@RangerMauve
Copy link
Contributor

Done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants