Ask Lemmy
A Fediverse community for open-ended, thought provoking questions
Please don't post about US Politics. If you need to do this, try !politicaldiscussion@lemmy.world
Rules: (interactive)
1) Be nice and; have fun
Doxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them
2) All posts must end with a '?'
This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?
3) No spam
Please do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.
4) NSFW is okay, within reason
Just remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com.
NSFW comments should be restricted to posts tagged [NSFW].
5) This is not a support community.
It is not a place for 'how do I?', type questions.
If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.
Reminder: The terms of service apply here too.
Partnered Communities:
Logo design credit goes to: tubbadu
view the rest of the comments
I just had a peek at the source code of the plug-in. It's basically already setup to add another service like Lemmy, as it supports Nebula and one other service with the same codebase.
I think it would almost trivial to add Lemmy. I may look into doing it if i get bored and have the time, but not sure when that would be. Have you contacted the git maintainer for that plug-in and asked him to add Lemmy support? He could do it much quicker since he's already familiar with the code and from what I saw, it would be about 30-60 minutes worth of work for someone familiar with the codebase already. I may be grossly underestimating that since I did not do an in depth dive, but from what I can tell it would be pretty simple.
What I would do is:
Add a new variable that lets you configure what Lemmy instance you want to point to
Copy the objects from reddit to a new lemmy object.
Adjust the URL and /r/ to /c/
Might have to fiddle with the User view code a bit
But other than that, everything else code wise should be a drop in replacement from what I can tell.
The developer said they don’t have much time so they’re not sure they can do it for now but they’ll try to when they have free time and that if anyone sends a PR they’ll merge it. https://github.com/Xyl-AU/Reddit-Comments-for-YouTube/issues/2#issuecomment-1811783026