Self-hosted bloggers : welcome Fediverse comments directly below your posts (fediverse-comments.codeberg.page)
from KaKi87@jlai.lu to selfhosted@lemmy.world on 21 Sep 20:58
https://jlai.lu/post/26123233

Hi,

I created this project that allows bloggers to integrate comments from the Fediverse to their articles, currently from Mastodon and Lemmy, using a plug & play client-only iframe, that saves readers from copy/pasting post URLs to their home instance.

Check it out !

Your comments from here will appear there ;)

#selfhosted

threaded - newest

artiman@piefed.social on 21 Sep 21:02 next collapse

Pretty cool but flashbang, https://github.com/TymekDev/no-js-dark-mode-toggle

illusionist@lemmy.zip on 21 Sep 21:12 next collapse

That sounds awesome

KaKi87@jlai.lu on 22 Sep 04:37 next collapse

Thanks ! Though it doesn’t seem to be working yet 😭

KaKi87@jlai.lu on 24 Sep 16:35 collapse

It works now !

If you’re curious, here’s the fix

unit327@lemmy.zip on 21 Sep 22:59 next collapse

I don’t see the comments from here on there…

KaKi87@jlai.lu on 22 Sep 04:28 next collapse

Wow, epic fail. 😭

I don’t know why the API returns an empty array when the web page shows comments, I didn’t have this issue using an older post 🤔

KaKi87@jlai.lu on 24 Sep 16:35 collapse

It works now !

If you’re curious, here’s the fix

neuracnu@lemmy.blahaj.zone on 22 Sep 01:11 next collapse

Sadly this doesn’t seem to be working (as of Mon Sept 22 2025, 01:11 AM UTC).

Update (Wed Sept 24 2025 17:17 UTC): It works!

KaKi87@jlai.lu on 22 Sep 04:28 next collapse

Wow, epic fail. 😭

I don’t know why the API returns an empty array when the web page shows comment, I didn’t have this issue using an older post 🤔

KaKi87@jlai.lu on 24 Sep 16:35 next collapse

It works now !

If you’re curious, here’s the fix

neuracnu@lemmy.blahaj.zone on 24 Sep 17:18 collapse

Testing replies and edits…

skribe@piefed.social on 22 Sep 01:27 next collapse

If you’re using WordPress, the activitypub plugin does this also. It’s good to have choices.

camperotactico@lemmy.world on 22 Sep 02:14 collapse

This is a great idea. I am not very experienced in web development, do you think this can work on my static website?

Zak@lemmy.world on 22 Sep 03:32 next collapse

I’ve been using a similar solution with my static site at zakreviews.com for years.

camperotactico@lemmy.world on 22 Sep 09:59 next collapse

Looks very nice, is there a tutorial you could share for me to implement something similar?

kossa@feddit.org on 22 Sep 17:05 collapse

Here’s a tutorial for mastodon carlschwan.eu/…/adding-comments-to-your-static-bl…

Zak@lemmy.world on 22 Sep 18:48 collapse

I used that code with a couple tweaks. I tag !flashlight@lemmy.world in the posts so they appear there as well.

camperotactico@lemmy.world on 22 Sep 19:42 collapse

Oh! That’s very handy. I will try and implement my own and then leave a thank you comment in there as well hahah

KaKi87@jlai.lu on 24 Sep 16:48 collapse

Yeah, I created this project in order to me more straightforward, low-code, just embedding an iframe, and the rest is taken care of.

KaKi87@jlai.lu on 22 Sep 04:29 collapse

Yes, though it’s not ready for production use yet, case in point : this demo doesn’t even work 😅

camperotactico@lemmy.world on 22 Sep 09:58 collapse

Hahaha noted! I will pay attention to this sub for when the project is ready

KaKi87@jlai.lu on 24 Sep 16:35 collapse

It works now !

If you’re curious, here’s the fix