143
submitted 1 year ago* (last edited 1 year ago) by Raicuparta@lemmy.ml to c/firefox@lemmy.ml

tl;dr: With Lemmy Go you type lg beekeeping on the address bar and it takes you to the most popular beekeeping community, or you can pick one from the given suggestions.

Get Lemmy Go for Firefox

Get Lemmy Go for Chrome

More information about Lemmy Go on GitHub

Why

On Reddit, I had a simple search keyword for navigating directly to subreddits, where I could just type r firefox and be taken to reddit.com/r/firefox.

I wanted to have the same behavior for Lemmy, but the Fediverse makes this a lot more complicated.

So I made Lemmy Go to try and make it as simple as possible to jump to a community, or even find new ones more easily.

It's still a work in progress, so it might be a bit unstable and missing a bunch of features. But I've been using it myself for a few days, and it's already pretty helpful.

Usage

Type lg followed by a space (some browsers also accept tab instead), and then type the name of the community you're looking for.

Example: lg linux

Lemmy Go will search its database for any community that has the text linux in its name (e.g. linux_gaming) or title (Linux Gaming).

If you just type a community name and press enter, Lemmy Go will take you to the most popular community from that list.

If you don't press enter right away, you will be shown a list of communities that match that query. You can then select the specific one you want.

Preferred Instance

If you set your preferred instance in the user settings (click the extension icon), Lemmy Go will try its best to navigate to that community in your preferred instance, although this isn't always possible (in which case Lemmy Go will just navigate to the remote instance instead).

For instance, if your preferred instance is set to lemmy.ml and you select firefox@lemmy.world, Lemmy Go will take you to lemmy.ml/c/firefox@lemmy.world.

But if lemmy.ml blocks the lemmy.world instance, then Lemmy Go will take you to lemmy.world/c/firefox instead.

Read the readme on GitHub for more information about how Lemmy Go works

all 17 comments
sorted by: hot top controversial new old
[-] lvxferre@lemmy.ml 4 points 1 year ago

Awesome - simple and it does what it needs to, no fuss.

[-] wmrch@lemmy.world 3 points 1 year ago

That is such a great idea! Thanks for sharing, will give it a try.

[-] giant_smeeg@lemmy.world 3 points 1 year ago

Great idea, I wish there was an easy way to bring the communites on the main page up the top.

[-] Raicuparta@lemmy.ml 2 points 1 year ago

Could you expand on that? What do you mean by communities on the main page? I want to provide different ways to sort the communities.

Also, feel free to open issues on GitHub with suggestions and bug reports.

[-] giant_smeeg@lemmy.world 1 points 1 year ago

Sorry my suggestion wasn't really in relation to your plugin, more something I'd like someone to make another plugin for.

But what I meant was on the desktop site main page. To see your subbed communities you have to scroll down past trending and info about your instance. I wish I could have the list at the top.

[-] Raicuparta@lemmy.ml 3 points 1 year ago

Ah no worries. That's the kind of thing you can fix by just adjusting CSS. Learning a bit of CSS is really useful for that reason.

I had a quick look, and one easy way to do what you want is using an extension like Stylus, and then creating a new style with this CSS:

@-moz-document domain("lemmy.world") {
    #sidebarContainer {
        display: flex;
        flex-direction: column-reverse;
    }
}

Just keep in mind that there's a good chance this will stop working if the Lemmy frontend updates.

[-] giant_smeeg@lemmy.world 1 points 1 year ago

Wicked thanks! is this possible in ublock origin? I try keep my add-ons to a minimum.

[-] jjffnn@feddit.dk 2 points 1 year ago

Lemmy Go will search its database for any community that has the text firefox in its name (e.g. linux_gaming) or title (Linux Gaming).

Is this an typing error or am i misunderstanding something?
If i write lg firefox why would linux gaming show up?
But cool add-on non the less. I'm looking forward to trying it.

[-] Raicuparta@lemmy.ml 4 points 1 year ago
[-] synodic@lemmy.world 6 points 1 year ago

*Lemmy fix that.

Cool extension! Thank you

[-] jjffnn@feddit.dk 2 points 1 year ago

Awesome.

I couldn't seem to find any info on the github, so i'll just ask you here.
How is the database populated? Will it be possible to add missing communities manually?

[-] Raicuparta@lemmy.ml 2 points 1 year ago

This is where the data comes from: https://github.com/Raicuparta/lemmy-community-crawler There's currently no way to add missing communities manually, but I'll add it to the todo list. But of course if you link any instance to one of the instances that this database crawls, eventually it will show up in the list.

[-] jjffnn@feddit.dk 1 points 1 year ago

Okay cool. I'll have a closer look at the code at some point.
I might absolutely be wrong as i know nothing about making extensions. But from my short glimpse at it, it looks like it just crawls ~300 named instances from a list and adds up to 50 communities from each to the database. And that it does so as often as you've set it to run.
If i'm right (and i'm probably not), wouldn't that drastically limit the capabilities of the extension?
Or are those named instances basically carying all of the fediverse?
I know you might be the wrong person to ask as you just adapted the crawler, i'm just curious and like poking my nose in to places it doesn't belong. ๐Ÿ˜

[-] Raicuparta@lemmy.ml 2 points 1 year ago

It's 50 communities per page. It gets every community from every instance linked by one of the instances in the list. So just linking some instance to lemmy.ml or lemmy.world will eventually make it show up in this database.

[-] jjffnn@feddit.dk 1 points 1 year ago

That makes so much more sense. Thanks for explaining!

[-] sudo@lemmy.fmhy.ml 1 points 1 year ago

Using the lc keyword to find Firefox communities on Lemmy

Your screenshot and the alt text mention 'lc' not 'lg' as well. Neat add-on but some time spent actually reviewing what you're publishing would well spent.

this post was submitted on 12 Jul 2023
143 points (99.3% liked)

Firefox

17302 readers
12 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS