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

Branch out ActivityPub library #204

Open
stevenroose opened this issue Mar 21, 2019 · 5 comments
Open

Branch out ActivityPub library #204

stevenroose opened this issue Mar 21, 2019 · 5 comments
Labels
A: Backend Anything related to the backend A: Federation Anything related to federation A: Meta High-level metatickets (tracking issues, etc) C: Discussion 👥 Discussions/requests for comments

Comments

@stevenroose
Copy link

It would be nice if all the code that implement the basic ActivityPub primitives would be accessible in a standalone library crate.

It would be very useful for developers trying to do other AP-related projects. It would also be better software design for rustodon, IMO.

@elegaanz
Copy link

I don't know how ActivityPub is currently implemented, but the activitypub crate provides type-safe manipulation of AP objects.

@barzamin
Copy link
Member

Definitely. I remember looking at the activitypub crate and finding a few things that I thought might be problematic for using it, but that was almost a year ago now and perhaps things have changed!

@asonix
Copy link

asonix commented Mar 22, 2019

Feel free to let me know what sorts of things you'd like to see from the activitypub crate. Right now, it's basically just a few types and traits related to the activitypub spec that attempt to help with what can go where.

@stevenroose
Copy link
Author

Personally probably mostly the JSON object specs. So that I can parse and build ActivityStreams and ActivityPub related objects. I don't exactly know the Pub<>Streams distinction spec-wise. Might as well be that all JSON is on ActivityStreams, in that case it could be just an ActivityStreams crate.

@asonix
Copy link

asonix commented Mar 28, 2019

@stevenroose the activitypub and activitystreams crates that I've built already do that.

@barzamin barzamin added A: Backend Anything related to the backend A: Federation Anything related to federation A: Meta High-level metatickets (tracking issues, etc) C: Discussion 👥 Discussions/requests for comments labels Jul 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: Backend Anything related to the backend A: Federation Anything related to federation A: Meta High-level metatickets (tracking issues, etc) C: Discussion 👥 Discussions/requests for comments
Projects
None yet
Development

No branches or pull requests

4 participants