this post was submitted on 15 Jun 2023
115 points (100.0% liked)

/kbin meta

110 readers
1 users here now

Magazine dedicated to discussions about the kbin itself. Provide feedback, ask questions, suggest improvements, and engage in conversations related to the platform organization, policies, features, and community dynamics. ---- * Roadmap 2023 * m/kbinDevlog * m/kbinDesign

founded 1 year ago
 

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.

Edit: Soon on the chrome store too!

Link to firefox store: https://addons.mozilla.org/en-US/firefox/addon/kbin-link/

Thank you for your support!

top 28 comments
sorted by: hot top controversial new old
[–] [email protected] 15 points 1 year ago (1 children)

would be awesome if we could get this integrated natively — do u wanna open a PR or issue to get this in?

[–] [email protected] 5 points 1 year ago

I could open an issue, however I'm not very good with php so I would leave it to someone else.

[–] [email protected] 14 points 1 year ago (1 children)

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.

[–] [email protected] 6 points 1 year ago (1 children)

Yes I also saw someone making a lemmy version based on this one.

[–] [email protected] 1 points 1 year ago

I'm actually working on a similar one as well! https://lemmy.ca/post/778315

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 :)

[–] [email protected] 5 points 1 year ago (1 children)

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 ;)

[–] [email protected] 1 points 1 year ago

I'll check it out soon!

[–] [email protected] 3 points 1 year ago

This is fantastic, I was getting a little bothered by not being able to subscribe easily to communities, thanks!

[–] [email protected] 2 points 1 year ago (1 children)

Is there a way to make this work for the android Firefox app?

[–] [email protected] 2 points 1 year ago

Yes but is kinda convoluted https://support.mozilla.org/en-US/kb/extended-add-support.

You can also use firefox nightly to install any extension from the addon store.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

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?

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] [email protected] 2 points 1 year ago (1 children)

I'm sorry I don't really understand...

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?

[–] [email protected] 4 points 1 year ago (1 children)

Let's say for example I create the community [email protected] this community won't show up on kbin unless someone searches for it, so that user has to search for [email protected] on kbin so that kbin can discover that community and allow its users to see it and subscribe to it.

[–] [email protected] 1 points 1 year ago (1 children)

I think I get what you're saying.

What's the correct format for the url to put into the search bar, because nothing I've done has returned any results when I try to search for those communities from the comment I linked.

[–] [email protected] 2 points 1 year ago (1 children)

This one showed up.
Basically you look for them like [email protected]

[–] [email protected] 5 points 1 year ago (2 children)

Okay, I get it now, and I appreciate the hand-holding you're doing here. It's a wonder I've made it this far at all.

But now, this post has a link to [email protected], and if I click the icon i get sent here https://kbin.social/m/[[email protected]](/c/[email protected]) which 404s, but if delete the ! from that URL it loads correctly. This seems wrong?

[–] [email protected] 5 points 1 year ago

No problem, I enjoy helping!
I will take a look at this to solve it. Thank you for reporting it.

[–] [email protected] 4 points 1 year ago (1 children)

Should be fixed for you shortly!

[–] [email protected] 1 points 1 year ago

Yup, all fixed, thanks!

[–] [email protected] 2 points 1 year ago

I’d love it if you could make it available for Safari on the iPhone too :D

[–] [email protected] 1 points 1 year ago (1 children)

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?

[–] [email protected] 2 points 1 year ago

I am not sure but I will check it out

[–] [email protected] 1 points 1 year ago

Nice! I'll take a look

[–] [email protected] 0 points 1 year ago (1 children)

Hello and thanks for the extension!

While the references ("!....") work fine, the url part does not. For example, clicking links here: https://browse.feddit.de/

Should that work as well or not?

[–] [email protected] 1 points 1 year ago (1 children)

I'll take a look to add this as well

[–] [email protected] 1 points 1 year ago

Thanks, much appreciated!

load more comments
view more: next ›