this post was submitted on 21 Oct 2024
329 points (97.4% liked)

Fediverse

28110 readers
570 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 1 year ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] unrushed233@lemmings.world 3 points 23 hours ago (2 children)

Does it also work with Mastodon? Because it is possible to reply to Lemmy posts from Mastodon, right?

[–] morrowind@lemmy.ml 2 points 19 hours ago (1 children)

It works with anything lemmy works with, so yes

[–] unrushed233@lemmings.world 1 points 4 hours ago

That's awesome

[–] midnightblue@lemmy.ca 2 points 21 hours ago

It appears to. I just copy-pasted the link into Mastodon and it loaded this post with all the comments. Discovery for Lemmy posts on Mastodon still sucks though.

[–] Gemini24601@lemmy.world 3 points 1 day ago

What an awesome implementation for Lemmy!

[–] Kolanaki@yiffit.net 3 points 1 day ago

Duckquill sounds like cold medicine specifically formulated for ducks.

[–] daudix@lemmy.zip 4 points 1 day ago (1 children)
[–] morrowind@lemmy.ml 4 points 1 day ago (1 children)

Hey aren't you the duckquill dev?

[–] daudix@lemmy.zip 3 points 1 day ago
[–] TriflingToad@lemmy.world 2 points 23 hours ago

Hello webcrawlers! 🕷️🕷️

[–] Devdoggy@lemm.ee 3 points 1 day ago

I just wanted to say 2 things, 1) Very cool! 2)Nice username.

[–] xavier666@lemm.ee 4 points 1 day ago (1 children)

This is a test comment to check the functionality.

[–] WereCat@lemmy.world 3 points 1 day ago (1 children)

This is a test reply to test the functionality of the test comment.

[–] xavier666@lemm.ee 4 points 1 day ago* (last edited 1 day ago) (1 children)

This reply is for informing you that both your and my comments are visible on the blog. Also, i'm posting from lemm.ee and the user is from .ml. So cross-instance comments are also working.

Good job @morrowind@lemmy.ml

[–] ByteOnBikes 1 points 19 hours ago

Sweet! This is really cool and inspired me to try something.

[–] ProdigalFrog 62 points 2 days ago

Ooh, that's nice. I could see that effectively replacing disqus comments below articles. Cool beans!

[–] Lost_My_Mind@lemmy.world 39 points 2 days ago* (last edited 2 days ago) (1 children)

Wait, so theoretically, you could create a blog, and create a Lemmy instance/community, post a blog entry, have it auto post the blog entry to your instance, and now the Lemmy comments for the Lemmy post are the comments on the blog post? Do I have that right?

And in theory THIS comment should show up on your blog, yes?

Edit: Hey, I see it!

[–] morrowind@lemmy.ml 35 points 2 days ago (4 children)

Oh much simpler, I just make a post with my blog as a link, and supply that link to my site and it shows the comments from that link. As I said, not actually federated. It's basically a sort of frontend.

load more comments (4 replies)
[–] LibertyLizard 37 points 2 days ago* (last edited 2 days ago)

Kinda cool. To be honest I’m mostly posting this to test it.

Edit: It works!

[–] xnx 2 points 1 day ago (2 children)

Thats Awesome! Needs a mobile ui though

[–] morrowind@lemmy.ml 1 points 1 day ago

Update: I think I see the problem, comments are too wide on small screens. I'll see if I can fix it

[–] morrowind@lemmy.ml 1 points 1 day ago

It should work on mobile. What problem are you seeing?

[–] taanegl@lemmy.ml 4 points 1 day ago (1 children)

Immediately scrolls down to the comment section. I've been spoiled by content just automatically loading, but I saw the "Load Lemmy" button. Tres chic.

It would be cool if there was a raised question mark button to the right for the load button, that on mouse over or click shows a tooltip explaining shortly what Lemmy is, as well as directly telling the user what community and instance the comments hail from - even before loading the content.

A standard tooltip for that purpose would be kind of nice.

[–] morrowind@lemmy.ml 2 points 1 day ago (1 children)

Yeah I could add that.

as well as directly telling the user what community and instance the comments hail from - even before loading the content.

Well I'd have to load something to show this, unless I set it manually, which would be cumbersome.

[–] taanegl@lemmy.ml 1 points 1 day ago

Yeah, I'm not saying it's easy to do ^^ it is a job and a half just to design it, for sure. I'm not facetious enough to pretend anything else.

[–] puppycat@lemmy.blahaj.zone 3 points 1 day ago (2 children)

this is actually really cool! I also wanna suggest using any instance besides .ml or .world, just for the sake of why Lemmy exists in the first place

[–] morrowind@lemmy.ml 2 points 1 day ago

I get the idea, but it's my home instance, so it'd be kinda weird for me to use a different one. Also would add an extra step

[–] moseschrute@lemmy.world 1 points 1 day ago (2 children)

In new to lemmy. Curious what the significance of ml and world are? Do you mean those TLDs or just lemmy.ml and lemmy.world specifically

[–] FiskFisk33@startrek.website 5 points 1 day ago

the latter, they are the largest instances, and it's generally healthy to spread stuff out

[–] puppycat@lemmy.blahaj.zone 5 points 1 day ago

just those two specifically, the more everything uses those two instances the more power they have basically. the whole point of being federated is to avoid being idk ruled over by any people, groups, or greedy little pig boys.

[–] Voyajer@lemmy.world 17 points 2 days ago (1 children)
[–] morrowind@lemmy.ml 16 points 2 days ago

Not at the moment, since that would require parsing the markdown

[–] Flax_vert@feddit.uk 7 points 2 days ago

Would be cool if something like this existed for WordPress

[–] Dragon@lemmy.ml 7 points 2 days ago (1 children)

It would be nice if you could sign-in/comment directly from the blog. But I'm guessing the Lemmy api doesn't provide that without making the blog it's own instance

[–] woelkchen@lemmy.world 2 points 2 days ago* (last edited 2 days ago) (1 children)

It could be a web app like Voyager but you really shouldn't just enter your credential willy nilly all over the place.

[–] Dragon@lemmy.ml 1 points 1 day ago

Theoretically Lemmy could open a pop-up or redirect to sign in through your instance.

[–] andrew_s@piefed.social 8 points 2 days ago (2 children)

Neat. It took me a while to realise what was going on: the post on Lemmy and the blogpost are two separate entities. The Lemmy post is a link to the blogpost, and the blogpost uses the post_id to fetch the comments (so I guess this means you have to make the blogpost, make the Lemmy post, and then go back and edit the blogpost with the correct id?)

The script is inspectable on the blog - I can see it does:
const url = 'https://lemmy.ml/api/v3/comment/listpost_id=21617067&limit=100&max_depth=8&sort=Top&type_=All';

So I suppose there's an inbuilt limit for comment depth and number of replies, but if you start down the road of working on that, you'll eventually find that you've re-invented a front-end, and there's no end to it.

What the duckquill guys are doing is a bit fudgy, in that they're getting another website to do the federation legwork for them, but the results are pleasing enough.

[–] morrowind@lemmy.ml 6 points 2 days ago

Lol, don't blame the duckquill dev, he only wrote the mastodon one, which I don't use. This is all me.

So I suppose there’s an inbuilt limit for comment depth and number of replies, but if you start down the road of working on that, you’ll eventually find that you’ve re-invented a front-end, and there’s no end to it.

Yeah, I kinda chose the limits arbitrarily, but I don't expect them to be an issue anytime soon.

This setup is also more flexible. I can in the future add comments from multiple lemmy posts, as well as other completely different sites.

load more comments (1 replies)
[–] m_f@midwest.social 9 points 2 days ago* (last edited 2 days ago) (2 children)

Neat! Do you pick one instance to load comments from? I notice that this comment isn't showing up immediately, so wondering if there's federation delay or the like.

load more comments (2 replies)
[–] otter@lemmy.ca 8 points 2 days ago (1 children)

I wonder what happens if a comment is deleted

[–] imattau@dcentralisedmedia.com 7 points 2 days ago (1 children)

@morrowind Test comment from outside of Lemmy

load more comments (1 replies)
[–] Blaze@feddit.org 5 points 2 days ago
[–] antithetical@lemmy.deedium.nl 5 points 2 days ago (3 children)

Nice, I did the same for my blog. Didn't want to build a whole comment system when Lemmy fits the bill quite nicely :)

[–] TORFdot0@lemmy.world 3 points 1 day ago

I did the same using Mastodon for my blog, ended up switching to Disqus (shudders) just because it supports more SSO options for accounts that my limited readership is likely to have

load more comments (2 replies)
[–] secret300@lemmy.sdf.org 1 points 1 day ago
load more comments
view more: next ›