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

Publish ActivityPub data into IPNS directory #146

Open
guoliu opened this issue Aug 25, 2023 · 2 comments
Open

Publish ActivityPub data into IPNS directory #146

guoliu opened this issue Aug 25, 2023 · 2 comments
Assignees

Comments

@guoliu
Copy link
Contributor

guoliu commented Aug 25, 2023

Current

This package is used to create and update personal websites on IPNS. When publishing a new article, it creates a separate directory with HTML, JS, CSS, and media files, attaches it to the IPNS directory, and updates the RSS feed, JSON feed, and index.html.

New feature requested

  • Able to store ActivityPub data: JSON files of ActivityPub are stored in the same IPNS directory, alongside HTML, RSS, and JSON feed.
  • Render article comments: The HTML web app can retrieve ActivityPub data from relative paths and render article comments.
  • It should be able to accept an IPNS key pair and create or update the corresponding IPNS record
  • It should be able to be used with local or remote IPFS nodes, likely by accepting the address of the IPFS.

The final API could be:

f(Activity: any, IPFSNodeAddress: string, IPNSKeyPair: any, NewDirectory: bool) ->  UpdatedIPNSRecord: string

Related work

ActivityPub integration by Distributed Press: hyphacoop/distributed-press-organizing#80 It would be ideal if both features/modules share the same API.

@guoliu guoliu changed the title Integrating ActivityPub data into publication Publish ActivityPub data into IPNS directory Sep 13, 2023
@tx0c tx0c self-assigned this Sep 14, 2023
@robertu7
Copy link
Contributor

robertu7 commented Oct 4, 2023

merged to thematters/developer-resource#273, will break down into tasks

@tx0c
Copy link

tx0c commented Oct 25, 2023

To Do

  • Static site example with webfinger (single account)
  • Static site example with activitystream of posts / replies.
  • add activitypub inbox to DP social
  • add follow support to social inbox
  • add ability to register new inboxes for sites with JWT authentication
  • add api for notifying social of newly published post
  • send followers new posts
  • add reply support to inbox with ap publishing
  • moderation queue api
  • block and allow lists with keywords
  • instance wide vs site wide moderation

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

No branches or pull requests

3 participants