Hey everyone!

I wanted to share a small open source project I’ve been working on: Searloc.

Searloc is an open source lightweight, client-side web tool (pure JavaScript, no server-side code) that helps you search via a random public SearXNG instance, directly from your browser. The goal is to decentralize search and improve privacy without requiring you to host your own instance.

How it works

There are currently around 50 public SearXNG instances in the pool. Each time you search, Searloc randomly chooses one. This means no single instance sees all your queries — just about 1 in 50, statistically. The more public instances there are, the better the decentralization and privacy.

Who is this for?

If you already self-host your own SearXNG instance, you probably don’t need this.
But if you want private, decentralized search without hosting anything yourself, Searloc might be a great fit.

Key Features

  • Automatic quality checks to filter public instances from searx.space
  • Use !! to retry your search on a different random instance
  • Bangs (!!bang syntax) fully handled in-browser
  • Light/Dark mode support
  • English and French localization
  • Autocomplete for bangs on the homepage
  • Automatically forwards your theme and localization preference to the selected SearXNG instance
  • Add your own custom instances via the settings page

This is still an early-stage project, but I use it daily and it’s been ok for regular use.
Feedback, bug reports, and ideas are always welcome! Check out the Projects tab on Codeberg to see the current “roadmap”.

Give it a try, and let me know what you think.

Have a great day!

    • wazaby@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 days ago

      Yes it’s an alternative, so it’s the same end goal. But there is some differences:

      • Settings: In searloc you can set lang, theme and those settings are passed to the searxng instance
      • Bangs: Bang are handled localy (directly by the searloc js in your borwser), neocities forward your bangs to an instance
      • Automatic instances update: it seems that neocities instances are the same since 2024, searloc is building it’s pool daily from searx.space. And from what I can see in the neocities source they have only 12 instances in there pool. It’s not enough in my opinion.
      • The retry: A real pain point for is that sometimes even with the quality check i’ve added to choose the instance pool, an instance doesn’t gives me the results I am waiting for. So I implemented a retry (it’s opt in so you need to enable it in the settings). If the results are not good enough, just type !! and it will run the search again on another random instances.
      • TomAwezome@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        11 hours ago

        That’s really cool, and very smart. Definitely a cut above the neocities one. I think I’ll swap over to use searloc as my default instead. Thanks for the clarification! :)