Live data from Hacker News

Adding Mastodon Comments to Your Blog

beej.us

21–30 of 63 posts

Re: Adding Mastodon Comments to Your Blog

#21
post #19

I wonder how that scales. I'm sure it wouldn't matter too much for a small personal blog but I assume the mastodon server wouldn't be very happy if the API was queried at a high rate.

Yeah, I made a note of that. I'm not sure anything I've written to my cheesy blog has hit HN before, so this is probably the biggest test I'm going to get.

If it were going to get any bigger, I'd want my own Mastodon server.

Edit: this is also why I made it an explicit user action to load the comments.

Re: Adding Mastodon Comments to Your Blog

#22
If you want to use Matrix instead of Mastodon for your blog's comments, there's https://cactus.chat/

There's a rather long list of other solutions over at https://darekkay.com/blog/static-site-comments/

And there's https://github.com/carlitoplatanito/disgus for adding Nostr based comments to your static blog.

Re: Adding Mastodon Comments to Your Blog

#23
post #19

I wonder how that scales. I'm sure it wouldn't matter too much for a small personal blog but I assume the mastodon server wouldn't be very happy if the API was queried at a high rate.

The author made some sane choices by having the user press a button before loading the comments

Re: Adding Mastodon Comments to Your Blog

#24
post #22

If you want to use Matrix instead of Mastodon for your blog's comments, there's https://cactus.chat/ There's a rather long list of other solutions over at https://darekkay.com/blog/static-site-comments/ And there's https://github.com/carlitoplatanito/disgus for adding Nostr based comments to your static blog.

Aren't they 2 very different things? Matrix is live chat, similar to IRC, whereas Mastadon is a microblogging platform similar to X.

Re: Adding Mastodon Comments to Your Blog

#25
post #11

Nice! I'm waiting for (/ thinking of building) something similar for #atproto/Bluesky. You could even use OAuth to allow users to add responses inline, which would then also show up in the Bluesky feed (if you wanted), with a UX pretty similar to Disqus. Mastodon is great, but the "pick a server" step is a pretty hard filter for most users, who just want to sign up for something. You'd also get to benefit automatical…

But bluesky is a proprietary service based in the US. A less privacy friendly choice for your readers/commenters.

Re: Adding Mastodon Comments to Your Blog

#27
post #24
post #22

If you want to use Matrix instead of Mastodon for your blog's comments, there's https://cactus.chat/ There's a rather long list of other solutions over at https://darekkay.com/blog/static-site-comments/ And there's https://github.com/carlitoplatanito/disgus for adding Nostr based comments to your static blog.

Aren't they 2 very different things? Matrix is live chat, similar to IRC, whereas Mastadon is a microblogging platform similar to X.

Yes, quite different concepts, but both are federated services that offer the necessary functionalities to be used as comments. One is a bit more "real-time" than the other.

I should perhaps also add a little disclaimer/warning: When i had a closer look at cactus comments a while ago, it seemed to be broken / "assembly required" in various parts and blogs that use it.

Re: Adding Mastodon Comments to Your Blog

#29

Earlier quoted context omitted.

What weird fake information you're posting. Yes, administrators of fediverse servers can read your personal correspondence -- same as Facebook, X, and other social media sites that don't offer federation (unless you opt into some limited e2ee option). But I, as a fediverse admin, have no ability to read (private) correspondence between two others who don't use my instance. Ultimately it comes down to: you must trust…

>If you don't trust your instance admin, why did you sign up with your instance? Probably because you told them it was a cool OSS twitter alternative and not something that takes all of social media's moderation and privacy and content problems and multiplies them by the number of instances you join without any of the legal protections associated with being able to file civil or criminal complaints against an identif…

Haha it definitely takes the content moderation problems and distributes then across all the instances. But that's kind of the whole point. You can join an instance that moderates content in accordance to your preferences, rather than dealing with the weird policies of Meta/X. I'm sorry you don't like it though.
Post reply on HN