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
Ability to connect Humhub instances with another ones (federated network) #3150
Comments
Hello, |
It would be great if HumHub implemented the decentralized social networking protocol ActivityPub. |
@arnaud-jacquemin it would be really nice |
That would definitely boost Humhub, which is still the best foss social network and with distributed hubs it could be THE beast!! |
The main reason I would love this is because I could host one for my family and a few friends, and be able to connect it with other families and their friends. |
I think it were nice if the federated network functionality is optional and can be activated over the admin backend. For small organizations or companies who use it, its not really a benefit to use this function. |
@petrk94 Definitely something that would need to be opt-in. |
would be cool! sounds great, the future will be decentralized and AI |
Sounds like a great feature to me. This would allow some posts to be communicated outside the organization's network or to receive posts from other networks. |
Hi forks, is anyone working on an implementation of ActivityPub? Who knows https://github.com/landrok/activitypub or https://github.com/pterotype-project/activitypub-php |
@AlexM4H would definetly be an option, we considered implementing activitypub but unfortunately we had not the time to do so yet. |
Would love to see ActivityPub implemented. It would be a great benefit for business PR teams. Every funny or strong moment of intern communication could be a federated post with one click. Also allow for federated company communication like shared slack channels. |
The issue with this is that federated networks replicate the content across all nodes. They don't simply share links to it, they share copies of it. Meaning the original owner loses control over their content. They can delete/edit it but it would still exist on other nodes in its original form. This could be disastrous for enterprise use or any private use. It should be a choice on a super admin level and also on the user level, at the time of publishing content and also after. A toggle on posts, like public/private, only for federation. |
ActivityPub is a very interesting and there are really a lot of use cases for HumHub here. If someone would like to work on it in the meantime, just let me know! |
@Carl2213 Of course features like federation on platforms that didn't use to be federated should be optional. |
@mkljczk that's great, but I think it would also be important to give that choice to each user, so they can have control over their own posts and content. |
I like the federated network and won't move to a not federated social network. Waiting for activitypub feature. |
It would be great to have federated nodes. We are using in coinsence.org humhub and we see that many associations and networks are reluctant to build something without having their own URL. |
I am actually suprised to find out that ActivityPub is not supported already. I only found this issue because I wanted to find some details about using ActivityPub with Humhub. :D |
Is it just a case of installing and configuring this? https://github.com/landrok/activitypub how much work are we talking about? |
I have not implemented it, but others say it is not too difficult. 🤔 |
@luke- If we did some work on this, assuming code quality was OK would you consider a pull request into the main Humhub branch? |
@samuk Yes, that would be very interesting. Ideally, this change would be implemented as a module. Presumably, however, changes to the core will still be necessary for this. It would also be nice if you could involve us in the conception/design of the feature. Maybe we can then help with necessary parts like an OAuth2 server. |
This would change a lot within our network, we could better connect. I would love to test this early. 👍 |
I did explore this and concluded adding ActivityPub directly to Humhub would be too expensive for us. (Estimated at ~30hrs work) It's a shame given the explosion in Activitypub use https://trends.google.com/trends/explore?date=today%201-m&q=mastodon I am however exploring whether https://github.com/assemblee-virtuelle/organigraph could be used as middleware to query the Humhub API and output ActivityPub. I'll update here if that seems viable. I might be able to part-fund the work if it was of interest to other organisations who also had a budget to contribute. |
sounds interesting... @luke what do you think about it, should we take advantage of the Mastodon hype? |
It is very interesting, indeed. We could possibly also part-fund the development. However, we first need a concept here. |
We should take a look on this tool (it uses the yii framework too) https://gitlab.adullact.net/pixelhumain/citizenToolKit |
Tumblr adding Activitypub: https://twitter.com/photomatt/status/1594577983028740096 |
Too old and uses the first version of Yii not second or third, so code compatibility issues could happen. 🤷🏻♂️ |
Look at this https://github.com/chervand/yii2-oauth2-server |
We already have a working OAuth2 server module in use. However, it is currently not public and not a full implementation. |
I'd like to see the user being the Actor. They can opt in or out of federation. When user has opted in, all their public posts go to Activity pub. |
@luke- Do you want to post an official funding request for example on https://app.bountysource.com/teams/humhub? BTW: For an implementation concept this mastodon thread could be useful mastodon/mastodon#1557 |
@AlexM4H No, currently not. |
There's also https://github.com/dariusk/rss-to-activitypub although of course we don't have RSS yet either. |
Given NGLnets historic interest and funding for the ActivityPub protocol: https://www.ngi.eu/blog/2022/11/24/how-ngi-supports-open-interoperable-decentralised-and-trust-based-internet-applications-through-fediverse-projects-like-mastodon/ I think Humhub GmbH might stand a good chance of getting ~10,000 euro if they were to complete the 1200 word application for the open call by 1/12/22 here: https://nlnet.nl/propose/ |
If Humhub implements ActivityPub, we could use the https://fedilab.app/ Android app to interact with Humhub (no iOs app...). |
@funkycram it's not related to implementing ActivityPub, as ActivityPub is usually only implemented for server to server communication. I don't think Fedilab supports ActivityPub C2S and it's definitely not worth implementing. Mastodon client API can be implemented independently from federation support. |
@mkljczk Thank you for the clarification. Indeed, I have no experience with AcitivityPub and it may be a mistake on my part. I thought that with AcitivityPub we could be part of the Fediverse and, as such, use Humhub via the Fedilab application. |
Looks like everybody wants that and we'd already have some heavy users 🔥 would be quite great feature to be able to connect the communities so @luke- – where's the repo where we could get things started? :) |
AFAIK various explorations are taking place. I think it's at the research/resourcing stage rather than actually getting stuck in with code. Perhaps @luke- can say more about the current state of play. |
Not for coding at the current time, but for discussions on how we can implement it.... It would be a strong signal. |
I have created a Space for discussions in our community here: https://community.humhub.com/s/activitypub/ However, there is no timeline and concept for the feature yet. |
@srosset81 and me created a draft of specifications for the work we need to do to implement ActiviyPub in Humhub. I hope it can help to have an idea of what we need to do for a start. |
Hello,
as already in the shown in the title, I got the idea from a friend to connect separate Humhub instances together, so it can work as a federated network.
Is that possible?
Were nice if it can be added on the Enhancement list
Thanks
The text was updated successfully, but these errors were encountered: