Federate over ActivityPub

There is rss-to-activitypub if one is willing to set it up. Could be a starting point for Ghost federation?

Right now, the only thing Ghost would be federating is the posts themselves (perhaps once for the whole site and once per author). Now that Ghost has a Content API, I’m guessing it’d be pretty straightforward to set up a more integrated federation system.

However, if you want to federate comments too, then this only address half the issue. So what I would propose is something in the middle that:

  • pulls in content from Ghost and pushes it as ActivityPub posts
  • displays comments back on the blog (something like Commento or Disqus
  • provide a link or login mechanism for people to comment with their Fediverse accounts
  • allows users to comment anonymously/with email if they’re not on the Fediverse (either by making dummy ActivityPub accounts, or having them as blog-only comments which don’t federate)

Additionally, the system could allow blog authors to link their Fediverse accounts, so post appear to be coming from that account rather than from a separate blog-specific account (ie. it puts the posts, on their behalf, on the main server). Not sure how good an idea it is, but it’s a possibility to think of.

That sounds like an idea for a separate project though, rather than something in Ghost itself (which doesn’t even handle comments right now). Perhaps it could be built out into a separate “Ghost Comments” module…what do you think?

1 Like

Has there been any progress to starting an implementation of ActivityPub for Ghost? What would need to happen to jump start this?

1 Like

I’m thinking of creating a “ActivityPub-enabled Commento for Ghost”, for use at my magazine website. This would make more sense as it would handle both posts and comments in an integrated system; you’d just have to plug in a small script to “enable” it in Ghost.

But I don’t have much experience in either JavaScript or ActivityPub, so it’s going to take a while. Plus, I have a ton of other things to set up on my site too.

One thing that would help is funding ($5/mo) for a VPS to test out configurations. I can’t make any promises at the moment so don’t want to take donations till things are more settled, but if anyone’s interested I could contact them when I’m open :mailbox:

1 Like

That is exactly what is going on here.

This is possible if you are using write.as

So I don’t see what it isn’t possible if you are using Ghost. I vote for this.

2 Likes

So glad I discovered WriteFreely (write.as). It’s much more “no bullshit” and the theming is limited for now, they’re working on a more powerful backend for that similar to Ghost

1 Like

Given the big rise in Mastodon usage in the last four days, it would be really cool to have some ActivityPub support at Ghost.

Any devs interested in talking about it and working on code addition or some rough workaround for Proof of Concept (assuming Ghost folks aren’t working on it)?

One of the things I’ve been looking at and trying to think about in re:Ghost is Bridgy: https://brid.gy/

6 Likes

This occured to me too, given the current popularity.

But although this post us pretty comprehensive, I couldn’t find a GitHub issue.

Edit: I now understand that you track feature requests here, gitHub relayed me here.

1 Like

:100:

Looking forward to Ghost joining the Fediverse !

I tried blogging multiple times in the past years but always gave it up feeling something was missing, and I realized when discovering Plume that federation is the thing, unfortunately that project is inactive.

Thanks

2 Likes

I tried some of the RSS-to-Fediverse projects/services but ran into one issue or another. Last month I released a web hook integration that makes Ghost a 1st-class citizen of the Fediverse. I specifically wanted my fediverse address/domain to match my Ghost domain, which the RSS services seemed to struggle with. For example, my blog is https://quigs.blog and my Fediverse address is @quigs_blog@quigs.blog.

If you use Ghost Pro you will need to use a subdomain (Eg: @username@fediverse.example.com) unless you pay for Ghost Pro Enterprise and have access to the same reverse proxy/url rewrite tools as a self-hosted option. More info can be found here:

And here: I wrote a Mastodon/Fediverse/ActivityPub integration for Ghost

Any feedback would be appreciated!

2 Likes

I am 100% in support of the fediverse, and of Ghost being a key player within it. Wordpress already has a plugin to allow blogs to federate, and we should definitely have the same option, but built directly into Ghost. This has to happen, and I have removed my vote from a less important issue in order to allocate it here. Go get it Ghost!

3 Likes

WriteFreely/Write.as is lighthouse testing advanced theming capabilities similar to Ghost’s handlebars templates, plus it is written in Go which is a very nice and, importantly, safe language. Since the ActivityPub fediverse support is baked in already, I think competition is heating up (:

1 Like

Have we discussed how this would work lately?

The way I see it:

  • Each ghost blog has a (perhaps hidden) activitypub instance and a main account, or an account for each newsletter, or an account for each contributor…
  • and maybe also an account for each member who signs up on the site. People can subscribe by email, or by RSS, or by finding a post on a federated server and following the blog there.
  • People can share to the fediverse and it will either repost the original post or tag the “hidden” account representing the blog / writer
  • Replies to the post on the fediverse can be entered as comments on the blog post.

Is that roughly what we have in mind?

Here’s another option for fediverse integration that doesn’t actually require fedration. Add a field in the social accounts section of the general settings for mastodon, and then, do this:

This effectively verifies ownership of the website for your mastodon profile, also enabling services like https://streetpass.social/ to help you convert visitors on your blog into followers on the fediverse.

WordPress made a big splash with this recent announcement: follow blogs and comment on posts on Fediverse platforms which will be synchronized as post comments. Engage a Wider Audience With ActivityPub on WordPress.com – WordPress.com News

Ghost + ActivityPub could solve a discovery problem that the directory Explore — Browse publications & featured writers presents: the potential audience lives by default on another platform and their timeline.

Unless Ghost expands the directory with an editorial layer (see Bandcamp daily for example) Ghost blogs will remain lone islands.

I really like to know if Ghost does consider ActivityPub as an optional feature in the future or if they rule it out from a strategic point of view.

3 Likes

There’s another thread on this forum requesting bookmarking support in Ghost.

In the current design, a bookmarking feature Ghost would only work for one blog at a time. But if Ghost were federated over ActivityPub, you could use a single account to bookmark every Ghost blog, Mastodon posts, Peertube videos, Pixelfed photos, Lemmy posts and some WordPress posts and more… all from one account!

  • Replies to the post on the fediverse can be entered as comments on the blog post.

I’ve seen a few people code their own version of this on thier sites, but they aren’t running Ghost and seem to be self-coded. I’d love to see this implimentation be an easy addition to Ghost. It’d be a great way to help spread fediverse adoption, too!

1 Like

What I take from the latest development in regards to Recommendations based on Webmentions is that Ghost will encourage setting up individual blogs rather than enabling Ghost blogs to engage with Fediverse platforms as Mastodon on a deeper level - I may be wrong.

The Recommendation feature does solve the discovery problem big time!

I had to read up on Webmention as a web standard protocol:

Webmention enables authors to keep track of who is linking to, referring to, or commenting on their articles. By incorporating such comments from other sites, sites themselves provide federated commenting functionality.

As I see it Recommendations are a subset of the full Webmention feature set or just the first step if you will. So for now the Recommendation list is a fancy Blog roll.

What Ghost could do is build on Webmentions and solve the next problem: identity. Right now blog authors have to set up individual memberships on other (Ghost) blogs to read/comment. Even engaging with their own audience in blog comments Ghost authors have to set up a dedicated Member account. So basically authors could be members somewhere else as one person.

I’m just thinking out loud here. From a strategic / business perspective, I’d love to have a conversation about the Ghost Fediverse roadmap. Mainly because it could definitely help make an informed decision to set up a Ghost blog either as a multi-author news blog or more as individual author blogs building a content network based on their interests and technically on Webmentions.

Blink one time for the former and two times for the latter. :wink:

1 Like

I would love this! Having the option to comment with a Fediverse account in general would be amazing.

1 Like

I would love to be able to host fediverse instance on the same domain as my Ghost blog so that I can own and interact from something I own!

With Platformer leaving Substack and moving to Ghost (and I bet many more will) it creates a great opportunity to get Ghost on the decentralized social web so that it can help creators own their online presence completely.

1 Like