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

Added support for publishing newsfeed posts via the ActivityPub spec. #28

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

hopeseekr
Copy link

@hopeseekr hopeseekr commented Nov 13, 2018

Implements a basic ActivityPub support for newsfeeds posts.

Based upon the W3C ActivityPub spec: https://w3c.github.io/activitypub/#create-activity-outbox

NOTE: It was very hard for me to find actual ActivityPub services to actually test this against, so I installed Hubzilla's Docker image and tested it locally. And ... it seems to work!

What's still needed are Read routes via new Minds.com's routes, but I figured that was beyond the scope of this PR.

I don't think that I did DI per the project's standards. I would appreciate guidance.


For https://app.asana.com/0/903192510441203/903192510441212?du=903392326287106&invite=a64740b3f486e77db3a775fdac5ea4d9

@ciolt
Copy link

ciolt commented Nov 13, 2018

NOTE: It was very hard for me to find actual ActivityPub services to actually test this against

FYI: Mastodon is the largest decentralized ActivityPub implementation, there are over 2,000 public Mastodon servers to test ActivityPub compatibility with.

@swift2plunder
Copy link

You should setup your own Mastodon instance for testing federation. Most importantly because you want to be sure your federation is well behaved, but also because specific evidence of poor faith will accelerate the pre-emptive blocking of your domain

@lanodan
Copy link

lanodan commented Nov 13, 2018

I guess you haven’t done your homework properly:

Btw pleroma is probably the easiest to setup.

'https://www.w3.org/ns/activitystreams',
'@language' => 'en-GB'
],
'id' => 'https://rhiaro.co.uk/2016/05/minimal-activitypub',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pretty sure id needs to be unique per post.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All I can say is, "Oops!!" Yeah. It's supposed to be the newsfeed URL for that article.

@mkljczk
Copy link

mkljczk commented Nov 19, 2018

Complete ActivityPub implementation would make Minds profiles base bigger by more than 3 millions and the Fediverse would grow up by 1,25 million, so I would love to get it completed…

@Serkan-devel
Copy link

@m4sk1n actually the fediverse would grow to around 3 million users, but 1/3 will be monopolized by just one instance

@hopeseekr
Copy link
Author

When I did this for the Minds.com interview process, my #1 problem was getting it code reviewed.

It's actually quite sad to me that this has languished for almost 6 months without a single official review, since I really do want minds.com to succeed and I contributed this and several other PRs with really good intentions.

@GatoAmarilloBicolor
Copy link

Hi, what did hapen with this? it will be so cool have minds on the fediverse.
Please include this !!!

@mkljczk
Copy link

mkljczk commented Aug 15, 2021

@Laniaktroid Minds repo is now on GitLab
https://gitlab.com/minds/minds/-/issues/90

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

Successfully merging this pull request may close these issues.

8 participants