Introducing Kbin Link: Navigate between communities with ease
Greetings, kbeans! I wanted to inform you that Kbin Link is now available on the Firefox Extension Store. If you're interested, you can find more information about it here: https://github.com/driccio98/kbin-link.
Kbin Link is a browser extension designed to simplify your browsing experience across different online communities. It detects community mentions in the format of "[email protected]" and it recognizes links in the format of "https://lemmy.word/c/memes" across any website and adds a convenient icon at the beginning. This icon allows you to quickly redirect to the corresponding community on Kbin, where you can easily subscribe to it.
Since this is a small project, there may be a few bugs or areas for improvement. If you encounter any issues or have suggestions, please let me know by leaving an issue on the GitHub repository.
I'm really enjoying the fact that all the programmers and techies are here on kbin lol. this is like the third kbin script I've seen made in these past 2 days.
I didn't fork it from the same place as your one, so I tried to make it work based on what I knew how to do. If you would like to collaborate on some of these down the road, I'd be down :)
The regex for your community in options.html should be ^([a-zA-Z0-9\-ßàÁâãóôþüúðæåïçèõöÿýòäœêëìíøùîûñé]{1,63}\.)+[a-zA-Z]{2,63}$
Not sure if there’s some issue I can’t think of, but it probably can even be simplified to ^([\w-]{1,63}\.)+[a-zA-Z]{2,63}$
The current one, for example, doesn’t allow subdomain instances like kbin.example.org I already created a PR for the first version for the lemmy extension, but maybe someone can say why the simpler version would/wouldn’t be okay ;)
I like the idea, but I feel like something isn't working correctly.
This comment in particular seems to add the icon with the "internal" kbin /m/ link, but their either empty or it throws a 404 error when I try to go there.
Edit: Am i just dumb, and this is still a left over / ongoing issue with kbin's federation in general?
Something to keep in mind is, if the magazine is not federated yet with your instance you will get a 404.
In that case you have to manually search for that magazine in the search bar. This is not a limitation of the extension but rather how the federation works on kbin and lemmy.
I might add an option to show a magnifying glass icon to automate this process.
So, even if lemmy.world is overall federated with kbin.social, individual communities on other instances also have to be federated with their equivalent magazine here on kbin?
Does it work on Waterfox too? The page says "You need an updated version of Firefox for this extension". Maybe an issue with the difference between Firefox and Waterfox's update naming conventions?