herzberd
herzberd avatar

herzberd

@herzberd@kbin.social

OC Userscript to redirect Lemmy links to Kbin magazine format (greasyfork.org)

Hi all! Here's a script I threw together to fix a little annoyance that was making Kbin a bit frustrating given how much is on the bigger Lemmy instances. Any shortlinks in the format of !topic become /m/topic@domain and thus open correctly on your kbin instance....

herzberd,
herzberd avatar

Hey be glad you had insurance because otherwise you’d be paying $293,725,252,748

herzberd,
herzberd avatar

I got annoyed with this too and just wrote a userscript to automatically do it https://greasyfork.org/en/scripts/468898-kbin-redirect

herzberd,
herzberd avatar

this guy claims to be a conservative and yet posts a 4 mile long lefty meme 🤔

herzberd, (edited )
herzberd avatar

This was annoying me so I just threw together a firefox/chrome extension to automatically change those. This should probably just be addressed in the kbin source code but that's gonna take more time lol

edit: Published as a GreaseMonkey script too https://greasyfork.org/en/scripts/468898-kbin-redirect

herzberd,
herzberd avatar

Admittedly I haven't read much from them in the last year or two but usually ars is consistently good

herzberd,
herzberd avatar

Kbin is federated with a bunch of the lemmy servers as well. If you look at the address of the post it's kbin/m(agazine)/lemmyworld@lemmy.world, so we're seeing a post from the LemmyWorld community (called magazines on kbin) on the lemmy server https://lemmy.world/

I promise it makes sense after a while lol

edit: the users of lemmy can also see what we say over here on kbin because kbin and lemmy talk to each other. This post lives on that lemmy instance

herzberd,
herzberd avatar

TL;DR both of them speak the same language so both can call each other up and trade info back and forth. You can upvote/comment/whatever on either and it'll appear on both sides without you having to do anything special.

It doesn't all go back to lemmy, but lemmy and kbin speak the same language (ActivityPub) and can talk to each other (they are federated). Others in this thread have compared it to email where you might be on different services (gmail, yahoo, icloud) but they can still all understand messages coming from each other. The fediverse is similar, but instead of just sending a message to another site to put in your inbox like email, lemmy/kbin/mastodon/etc can ask each other for stuff on an external site and display it to you as if it was all coming from the same site.
In our case kbin calls up lemmy.world and asks for what everybody there is saying on some post. Lemmy.world tells kbin about all the comments and upvotes so kbin can plug it into the same style of page you see for everything else here. Even though it's happening on a separate server and underlying platform, they still know how to exchange data

herzberd,
herzberd avatar

Imagine going back to like pre-pandemic times and showing half of the headlines twitter has made in the last year lol. What a fucking disaster.

herzberd,
herzberd avatar

I really loved what windows phone was doing before they did the windows 10 merge thing. Just a really nicely constructed UI

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • rosin
  • ngwrru68w68
  • osvaldo12
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • khanakhh
  • everett
  • slotface
  • tacticalgear
  • kavyap
  • JUstTest
  • normalnudes
  • Leos
  • GTA5RPClips
  • ethstaker
  • InstantRegret
  • cubers
  • modclub
  • Durango
  • provamag3
  • cisconetworking
  • tester
  • anitta
  • lostlight
  • All magazines