this post was submitted on 20 Jan 2025
1 points (100.0% liked)

NodeBB Development

0 readers
2 users here now

Stay tuned here to hear more about new releases and features of NodeBB!


This is a forum category containing topical discussion. You can start new discussions by mentioning this category.

founded 2 months ago
 

Today's the day! :tada:

After nearly a full year in development, NodeBB v4.0.0 has landed, bringing federation between NodeBB instances (and a connection to the wider fediverse of social media) to forum software.

Fedi-what?

Fediverse! Here's a TechCrunch primer about it, but at the end of the day, it doesn't really matter. All you need to know is that NodeBB plugs in to a wider social network so that you don't have to cultivate an audience, they're already there.

The genesis

It was back in mid-2023 when I had the initial idea of interconnecting NodeBB forums. Back then, I had far smaller ambitions... I wanted a singular NodeBB to be able to communicate with other forums running NodeBB. To do that, we'd need to build out a centralized service to act as a bridge between instances, and corresponding slim clients on individual installs to consume the relayed data. At the time, concept like decentralization were not even part of my thought process.

It was during this period when I was doing my research that I stumbled on Mastodon, and later, ActivityPub, the protocol that powers it all. Since then, it's been one wild ride getting NodeBB to speak the same language.

Funding

Soon after dipping my toes into all that Mastodon had to offer, I discovered the NLNet Foundation, and their corresponding fund — NGI Zero Core. With the promise of funding, NodeBB could fully commit to implementing the protocol in short order, instead of piece by piece over time. We sent in an application and were delighted to be approved for the August 2023 call.

Their funding was instrumental in providing the financial stability to experiment with ActivityPub and to participate in developer circles, such as the SWICG, FediForum, and much more.

The fund continues to operate, perhaps you could benefit, or donate to the cause. It has certainly made a difference to NodeBB.

Federate, or not, it's your choice

NodeBB v4 comes shipped with the capability to interact with other NodeBB forums and any other ActivityPub-speaking software, right out of the box. We opted to make this a core feature instead of a plugin, since there were many changes made to core to support even the concept of accepting content from outside itself.

To that end, any users upgrading from v3.x will automatically have federation disabled, in order to reduce surprise. Any new forums will federate automatically.

You can turn federation on and off (and adjust some other fun toggles) directly from ACP > Settings > Federation (ActivityPub).

Even after turning federation on, how you use it shapes how well connected you will be. There is no centralized authority artificially boosting your content, so the name of the game is establishing two-way follow relationships to other sites.

The ActivityPub Equalizer

We're not alone in this journey to interoperate with other decentralized services. We're not even the only forum software to attempt to do so.

  • Discourse has a working plugin.
  • Ghost is building out in the open.

I specifically highlight these two because they both started in the early 2010s, same as NodeBB. It's always been a bit of an informal competition between us, and we always checked in on what the others were doing (growth-wise, pricing-wise, etc.) Truth be told, I don't think the ghost team ever really noticed NodeBB, but I digress...

The funny thing about ActivityPub is that at the end of the day, the overarching goal of seamless communication breaks down any barriers between competing organizations.

NodeBB and Discourse have been vying for the exact same market share (forums, community-building, self-started or enterprise) for over 10 years, and it was only after ActivityPub came around that the dev teams even started talking to one another.

Funny how that works.

So how does it all work?

Our documentation portal has been updated with the latest information about the ActivityPub functionality in v4.

If you have any questions about how it works or how to configure some aspect of it, please don't hesitate to reach out in the corresponding v4 support thread.

If you run NodeBB, the quickest way to see this in action is to upgrade to v4, and then paste this post's URL into your search bar. It should show up automatically, and you should be able to read and reply to it, directly from your own forum. Neat!

top 50 comments
sorted by: hot top controversial new old
[–] early_riser@lemmy.radio 2 points 1 day ago

Hi from Lemmy :)

[–] ju@pol.social 2 points 1 month ago

@julian
Upgrading to 4.02 tonight. Let's see how it federates. Congrats and thank you for your work.

[–] cagatay@community.nodebb.org 1 points 2 months ago (1 children)

so i can not see @morloi s comment on my own web site:

image.png

load more comments (1 replies)
[–] RichieRich@hessen.social 1 points 2 months ago

@julian This is really awesome! Forum software federated with Fedi-Power! Cool stuff. I love it

[–] onlinepersona@programming.dev 1 points 2 months ago

Never heard of NodeBB before, but glad it's around! The more the merrier on the fediverse 🎉 Seems like NodeBB stole discourse's thunder and have proper activitypub integration now.

Anti Commercial-AI license

[–] newsmast@newsmast.social 1 points 2 months ago

@julian

Congratulations! 🎉

[–] skariko@feddit.it 1 points 2 months ago
[–] Fedihacker@masto.es 1 points 2 months ago (1 children)

@julian It's great. I saw first a link to your website and I could not reply from my Mastodon account. I had to find the post through Mastodon itself.

Maybe in the future you could add the possibility to reply from mastodon account.

[–] Die4Ever@programming.dev 1 points 2 months ago

Typically you copy the URL of the original post and paste that URL into your own instance's search bar

[–] sk@hub.utsukta.org 1 points 2 months ago

Welcome! and hello from hubzilla!

[–] andypiper@macaw.social 1 points 2 months ago

@julian congratulations!

[–] marino@pebble.social 1 points 2 months ago

@julian Nice addition! (replying from a mastodon instance)

[–] tux@burningboard.net 1 points 2 months ago

@julian

Welcome to Fediverse 🙋‍♂️

sent from a German Mastodon instance :mastodon:

[–] skullvalanche@gladtech.social 1 points 2 months ago

@julian this is fantastic. Thanks for your hard work!

[–] Xanatos@mastodon.gamedev.place 1 points 2 months ago

@julian Awesome, that's a nice addition to the Fediverse

[–] wall_e@ioc.exchange 1 points 2 months ago (1 children)

@julian haha now that reposting from fedi instances is possible, maybe you need to collapse the "... shared this topic N minutes ago", by default in the UI 😅

[–] baris@community.nodebb.org 1 points 1 month ago

@wall_e@ioc.exchange This is done now, consecutive shares are merged.

[–] phenomlab@sudonix.org 1 points 2 months ago (1 children)

This is a game changer - really looking forward to further interactions.

[–] julian@community.nodebb.org 2 points 2 months ago (1 children)

@phenomlab@sudonix.org are you going to just reply remotely from your forum from now on 🤣

[–] phenomlab@sudonix.org 2 points 2 months ago

@julian@community.nodebb.org yeah, no need to visit nodebb anymore!

[–] darkpollo@community.nodebb.org 1 points 2 months ago (1 children)

@julian Amazing stuff. Congratulations!! I have some questions, probably because I am still trying to understand this activitypub thing.

1- If I write this reply here, that means is now public and can be read on other mastodon/activitypub servers/locations?

2- I saw people replying to you on another mastodon servers and their comments appear on the forum as replies, which is amazing, but, can they delete their messages on their mastodon server? And if they can, will that deletion be sent across and be removed from the database of this forum?

3- I also see that the people that replied, got an user and a profile on this forum, will they know about it? can they login and do something about that user? How do you identify "created social users" from "standard registered users" on your nodebb install?

Thanks!

[–] freamon@community.nodebb.org 1 points 2 months ago (2 children)

@darkpollo I'll have a go at answering some of your questions, until something better comes along.

  1. Yes. Here's your reply on another server: link

  2. Yes. I tested out creating and then deleting stuff from a remote account, and this forum acknowledged both.

  3. Remote users don't get any privileges - their profile on this forum is just a text copy of the one they have on their own platforms. In terms of identifying local vs. remote (visually, at least), you can hover over users and see whether they have an '@' in their name. You could do the same programmatically, but I imagine that there's better ways.

[–] darkpollo@community.nodebb.org 1 points 2 months ago (1 children)

@freamon Thank you!

That link with my reply redirects me here. Is there a way to read it somewhere else? Maybe I need to connect with another activitypub account to read it there?

@julian It could make sense to change a little bit the design of the remote users vs the local users, so it is easier to identify. Now that I know that I need to look for the @ and 🌐 is easier but most people won´t know that.

I really love this new functionality. Thanks again!

[–] freamon@community.nodebb.org 1 points 2 months ago (1 children)

@darkpollo Oh, sorry. It turns out that that link worked because I'm logged in to defcon.social.

I've crowbarred your comment into my dev instance for PieFed instead: https://pythag.net/post/4695#comment_27962

[–] darkpollo@community.nodebb.org 1 points 2 months ago

@freamon Thank you for the additional proof.

This is great!

Trying to mentally organise how to use it and sync with a mastodon account so everything is "connected and synced".

[–] julian@community.nodebb.org 1 points 2 months ago

@freamon you got it all!

In addition, at least on NodeBB, when you tag someone remotely, the full handle appears (e.g. @nodebb@fosstodon.org)

You can tell local users from remote users in topics because they don't have a status (online, away, dnd, etc.)... They just have a little :globe_with_meridians: icon next to their avatar.

[–] phi@efelsefe.com 1 points 2 months ago

Check and control.

[–] cagatay@sudonix.org 1 points 2 months ago
[–] projectmoon@forum.agnos.is 1 points 2 months ago (1 children)

I've just installed a new instance of NodeBB and it works beautifully. Some questions:

  1. Is it possible for categories to follow Lemmy communities in their sync settings? I seem to be able to follow Lemmy communities, but the categories are stuck on pending.
  2. Same for NodeBB categories. Can I sync my own category with remote NodeBB categories?
[–] julian@community.nodebb.org 1 points 2 months ago (1 children)

@projectmoon@forum.agnos.is

  1. Is currently outstanding: https://github.com/LemmyNet/lemmy/issues/5354

  2. You should be able to do this, although I may have to double check the logic. There have been reports that it is not working as expected.

[–] projectmoon@forum.agnos.is 1 points 2 months ago (1 children)

@julian@community.nodebb.org said in NodeBB v4.0.0 — Federate good times, come on!:

I'm wondering, as a stopgap solution, would it make sense to have some kind of rules engine that allows topics coming in from the fediverse to automatically be moved to NodeBB categories? Kind of like a somewhat less elegant sync.

[–] julian@community.nodebb.org 1 points 2 months ago (3 children)

@projectmoon@forum.agnos.is thanks for the suggestion, that's definitely something I'd want to consider.

Sort of a post queue for federated content that needs automatic or manual review before it is automatically slotted in a category.

load more comments (3 replies)
[–] raul@mastodon.in4matics.cat 1 points 2 months ago
[–] dandandin@mastodon.uno 1 points 2 months ago

@julian so cool, can't wait to upgrade my nodebb forum to V4 (I'm exclusively on mobile for a few days)

[–] julian@community.nodebb.org 1 points 2 months ago (2 children)

If you have deployed NodeBB v4, and you updated to v4.0.1, please update now to v4.0.2 which fixes a regression that silently broke outgoing user follows.

load more comments (2 replies)
[–] yle@sq.lehu.in 1 points 2 months ago* (last edited 1 month ago)

Hello ActivityPub @julian@community.nodebb.org

[–] phenomlab@community.nodebb.org 1 points 2 months ago (1 children)

They appear on mine @cagatay but not on yours. Not sure why.

[–] julian@community.nodebb.org 2 points 2 months ago (1 children)

@phenomlab @cagatay long story short, it works, but this community is running NodeBB v4.1, which is slightly different. Should all work fine once v4.1 is released and everybody updates.

[–] phenomlab@sudonix.org 1 points 2 months ago

@julian@community.nodebb.org great. Thanks

@julian I've been unable to get AP following to work in either direction. I mean it is sometimes possible to follow somebody and get followed by other sites, but no actual posts ever come into or out of my nodebb instance (forum.n66.pl). The only thing that works is importing posts directly by entering their URL in the search area, which is also temperamental – sometimes the same post can be imported and sometimes it can't. I also tried following people from individual categories. It never worked except for one instance where it seems to have been stuck with a "pending" message, but I have no way of accepting or rejecting the follow request on the other side (it should be accepted automatically). Sometimes the same happens when entering followed people's URLs in the search panel. Looking forward to fixes.

[–] reynir@forum.fedi.dk 1 points 1 month ago* (last edited 1 month ago) (1 children)

For some reason I don't seem to be able to see the actual post - It's there, but the content is missing. I see a ton of replies, though. Is this a federation issue? Writing this from a NodeBB 4.0.3 instance.

Edit: after three minutes this still isn't federated to community.nodebb.org (or so it seems from their instance).

[–] reynir@forum.fedi.dk 1 points 1 month ago

@reynir sagde i NodeBB v4.0.0 — Federate good times, come on!:

For some reason I don't seem to be able to see the actual post - It's there, but the content is missing. I see a ton of replies, though. Is this a federation issue? Writing this from a NodeBB 4.0.3 instance.

Edit: after three minutes this still isn't federated to community.nodebb.org (or so it seems from their instance).

Six Days later and my message still doesn't appear on community.nodebb.org. Wondering if this reply will!

[–] farooqkz@blackrock.city 1 points 2 months ago* (last edited 2 months ago)

@julian

Congratulations! That's really cool! Looking forward to see this feature added to Discourse and other BBs as well!

load more comments
view more: next ›