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

DeGoogle Yourself

8743 readers
16 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

!privacyguides@lemmy.one !privacy@lemmy.ml !privatelife@lemmy.ml !linuxphones@lemmy.ml !fossdroid@social.fossware.space !fdroid@lemmy.ml

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
[–] jgkawell@lemmy.world 4 points 1 year ago (1 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.

[–] AES@lemmy.ronsmans.eu 1 points 1 year ago (1 children)

Cool, thanks for sharing the solution!

[–] jgkawell@lemmy.world 1 points 1 year ago