this post was submitted on 05 Aug 2023
7 points (100.0% liked)

DeGoogle Yourself

8038 readers
95 users here now

A community for those that would like to get away from Google.

Here you may post anything related to DeGoogling, why we should do it or good software alternatives!

Rules

  1. Be respectful even in disagreement

  2. No advertising unless it is very relevent and justified. Do not do this excessively.

  3. No low value posts / memes. We or you need to learn, or discuss something.

Related communities

[email protected] [email protected] [email protected] [email protected] [email protected] [email protected]

founded 4 years ago
MODERATORS
 

I'm running my own SearXNG instance and trying to configure Gugal to work with it: https://gitlab.com/narektor/gugal

It says my instance needs to have API access enabled but for the life of me I can't figure out how to do that. Anyone done this before or know how to do it?

edit: SOLVED - see comment below

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 11 months ago (2 children)

Figured it out! Nowhere is this documented in Gugal or SearXNG docs, but the way to do it is to add the json format to your search config like so:

search:
  formats:
    - html
    - json

This does make sense in hindsight as you are essentially enabling requests over the a JSON API however it is odd that this isn't documented anywhere. Also, note that if your instance is publicly exposed this makes it easy for bots to spam/scrape it.

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

Cool, thanks for sharing the solution!

[–] [email protected] 1 points 11 months ago