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

Selfhosted

40165 readers
1242 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 1 year 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 2 comments
sorted by: hot top controversial new old
[–] WeirdGoesPro@lemmy.dbzer0.com 2 points 3 hours ago* (last edited 3 hours ago)

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.

[–] Ephera@lemmy.ml 2 points 10 hours 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.