this post was submitted on 14 Nov 2024
24 points (90.0% liked)

Selfhosted

40382 readers
340 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hello,

I would like to use the URL of Whoogle's settings so that I can use different settings.

How can I save and use the settings via the URL?

https://tst.us?preferences=uG8MBIJwHdiwDp1QdzDg92Jvu-uXf9XXc4pizSjScK0YUIsWiEyA-_U3hz5hFvMYUeiUWWOdbNNUzMuFyMZNVFye-vhkKn2L_sXt5XNyOvkpjwBhPP2MsakXYPsw227zq00CMwioW33qsIsoNbTFDCw9VkCLrGLHxYCq3D9ZtT53ho0glFtjopDko5ucuPeYJU7QbyQWbNAT0xxeTqiXDLneMMDXCiexiWcjc0B4F4msP7JwS605uJuHFJHCHwcDQCa6VHw==

(tst.us does not exist, it is a sample.

Unfortunately, it has no effect on the settings if I use this URL for the search.

top 3 comments
sorted by: hot top controversial new old
[–] WeirdGoesPro@lemmy.dbzer0.com 4 points 1 week ago* (last edited 1 week ago) (1 children)

It says right above that box that it requires the WHOOGLE_CONFIG_PREFERENCES_KEY or that option will be ignored. My guess is that you have to manually edit some config file to turn that key on, or generate an encryption key yourself that you provide through editing a config and adding it to that line.

Edit: you probably need to add your own domain or IP as the root URL too.

[–] sandwichsaregood@lemmy.world 4 points 1 week ago* (last edited 1 week ago)

The message you're reading applies to the checkbox above for encryption, not the preferences url. The preferences key only needs to be set if you want to encrypt the configuration URL, it doesn't affect what OP wants to do.

My memory is a bit fuzzy because I switched to Searxng after playing with Whoogle briefly, but I thought Whoogle stored preferences in a cookie or something similar; the preferences URL is for when you want to transfer the preferences for your current machine to another. So OP is misunderstanding what it's for.

OP: if your preferences aren't sticking, are you maybe blocking cookies entirely or something? I'm pretty sure you shouldn't need to do anything with the preferences URL for your preferences to stick if everything is set up correctly, it's only for transferring your preferences to another machine.

[–] Ephera@lemmy.ml 3 points 1 week ago

Hmm, I don't know anything about Whoogle, but from other privacy-conscious search engines, I would expect it to work when you use that URL in your bookmark.

Three things I can imagine:

  • Something in your hosting stack strips the URL parameters, like maybe your reverse proxy, if you use one. You might be able to see in the Whoogle or web server logs, which URLs actually reach it. Might need to set it to debug/trace logging.
  • Maybe there's a flag in the Whoogle configuration you need to enable to accept these preference URLs.
  • It's a bug in that Whoogle version.