[GH-ISSUE #838] [FEATURE] Save Configuration #529

Closed
opened 2026-02-25 20:35:58 +03:00 by kerem · 12 comments
Owner

Originally created by @thunderclap82 on GitHub (Sep 1, 2022).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/838

It would be nice if all Whoogle's configurations were saved. Right now only Dark Theme, Root URL and Custom CSS saves, however I would like other things like Country, Near City Name, and Replace Social Media Links disabled. Thanks.

Originally created by @thunderclap82 on GitHub (Sep 1, 2022). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/838 It would be nice if all Whoogle's configurations were saved. Right now only Dark Theme, Root URL and Custom CSS saves, however I would like other things like Country, Near City Name, and Replace Social Media Links disabled. Thanks.
kerem 2026-02-25 20:35:58 +03:00
Author
Owner

@liberninja commented on GitHub (Sep 11, 2022):

I've been trying to figure this out as well. The documentation mentions the whoogle.env file to add permanent settings, but I can't for the life of me figure out how to access it to edit it.

<!-- gh-comment-id:1242982316 --> @liberninja commented on GitHub (Sep 11, 2022): I've been trying to figure this out as well. The documentation mentions the whoogle.env file to add permanent settings, but I can't for the life of me figure out how to access it to edit it.
Author
Owner

@thunderclap82 commented on GitHub (Sep 11, 2022):

I'm using Whoogle in docker and in the doc, I see you can add a variable of WHOOGLE_CONFIG_ALTS (I assume 0=no, 1=yes) but that doesn't seem to work as safe search constantly re-ticks.

<!-- gh-comment-id:1242992911 --> @thunderclap82 commented on GitHub (Sep 11, 2022): I'm using Whoogle in docker and in the doc, I see you can add a variable of WHOOGLE_CONFIG_ALTS (I assume 0=no, 1=yes) but that doesn't seem to work as safe search constantly re-ticks.
Author
Owner

@liberninja commented on GitHub (Sep 11, 2022):

I still haven't figured out how to properly setup the WHOOGLE_DOTENV=1 variable. No matter what I do no custom settings are loaded...

<!-- gh-comment-id:1242993106 --> @liberninja commented on GitHub (Sep 11, 2022): I still haven't figured out how to properly setup the WHOOGLE_DOTENV=1 variable. No matter what I do no custom settings are loaded...
Author
Owner

@jacr13 commented on GitHub (Sep 19, 2022):

To use the whoogle.env file, you need to copy the whoogle.template.env file and rename it whoogle.env, then you should uncomment and modify the config according to your preferences. Now you should launch whoogle with WHOOGLE_DOTENV=1, and it should work.

<!-- gh-comment-id:1250973455 --> @jacr13 commented on GitHub (Sep 19, 2022): To use the whoogle.env file, you need to copy the whoogle.template.env file and rename it whoogle.env, then you should uncomment and modify the config according to your preferences. Now you should launch whoogle with WHOOGLE_DOTENV=1, and it should work.
Author
Owner

@jacr13 commented on GitHub (Sep 19, 2022):

I'm using Whoogle in docker and in the doc, I see you can add a variable of WHOOGLE_CONFIG_ALTS (I assume 0=no, 1=yes) but that doesn't seem to work as safe search constantly re-ticks.

try to update to the most recent version and adding WHOOGLE_CONFIG_SAFE=0 to stop using safe search.

<!-- gh-comment-id:1250974791 --> @jacr13 commented on GitHub (Sep 19, 2022): > I'm using Whoogle in docker and in the doc, I see you can add a variable of WHOOGLE_CONFIG_ALTS (I assume 0=no, 1=yes) but that doesn't seem to work as safe search constantly re-ticks. try to update to the most recent version and adding WHOOGLE_CONFIG_SAFE=0 to stop using safe search.
Author
Owner

@liberninja commented on GitHub (Sep 19, 2022):

Yes, I've now managed to find it and rename it to whoogle.env, configured it the way I want, and launched it with WHOOGLE_DOTENV=1
Still not applying the changes though.

<!-- gh-comment-id:1250998050 --> @liberninja commented on GitHub (Sep 19, 2022): Yes, I've now managed to find it and rename it to whoogle.env, configured it the way I want, and launched it with WHOOGLE_DOTENV=1 Still not applying the changes though.
Author
Owner

@jacr13 commented on GitHub (Sep 20, 2022):

Which version are you using? Which deployment (with which command)? Do you mind sharing your whoogle.env?

<!-- gh-comment-id:1252325082 --> @jacr13 commented on GitHub (Sep 20, 2022): Which version are you using? Which deployment (with which command)? Do you mind sharing your whoogle.env?
Author
Owner

@thunderclap82 commented on GitHub (Sep 20, 2022):

I'm using Whoogle in docker and in the doc, I see you can add a variable of WHOOGLE_CONFIG_ALTS (I assume 0=no, 1=yes) but that doesn't seem to work as safe search constantly re-ticks.

try to update to the most recent version and adding WHOOGLE_CONFIG_SAFE=0 to stop using safe search.

Safe is actually staying unchecked. The one I really want to disable is Replace Social Media Links. I want that off which looks like the variable is WHOOGLE_CONFIG_ALTS, however it's not staying unchecked. Every few days it returns.

<!-- gh-comment-id:1252647401 --> @thunderclap82 commented on GitHub (Sep 20, 2022): > > I'm using Whoogle in docker and in the doc, I see you can add a variable of WHOOGLE_CONFIG_ALTS (I assume 0=no, 1=yes) but that doesn't seem to work as safe search constantly re-ticks. > > try to update to the most recent version and adding WHOOGLE_CONFIG_SAFE=0 to stop using safe search. Safe is actually staying unchecked. The one I really want to disable is Replace Social Media Links. I want that off which looks like the variable is WHOOGLE_CONFIG_ALTS, however it's not staying unchecked. Every few days it returns.
Author
Owner

@jacr13 commented on GitHub (Sep 23, 2022):

Whoogle has now the possibility to encode preferences in URL, it is maybe a solution for your problem

<!-- gh-comment-id:1256052951 --> @jacr13 commented on GitHub (Sep 23, 2022): Whoogle has now the possibility to encode preferences in URL, it is maybe a solution for your problem
Author
Owner

@liberninja commented on GitHub (Oct 19, 2022):

Which version are you using? Which deployment (with which command)? Do you mind sharing your whoogle.env?

I was using the 'Manual' setup before, but now I'm running it on docker. I renamed whoogle.template.env to whoogle.env, stuck in in my home folder, then ran this command:

`sudo docker run --publish 5001:5000 --detach --name whoogle-search --env-file ./whoogle.env benbusby/whoogle-search:latest'

Whoogle works fine but it's still not loading my custom config. My whoogle.env file has these lines:

# Enable View Image option
WHOOGLE_CONFIG_VIEW_IMAGE=1

# Set the number of results per page
WHOOGLE_RESULTS_PER_PAGE=20

I also tried running it like this with the same lack of custom config:

sudo docker run --restart=always --publish 5001:5000 --detach --name whoogle-search \
> -e WHOOGLE_CONFIG_VIEW_IMAGE=1 \
> -e WHOOGLE_RESULTS_PER_PAGE=20 \
> benbusby/whoogle-search:latest
<!-- gh-comment-id:1284372510 --> @liberninja commented on GitHub (Oct 19, 2022): > Which version are you using? Which deployment (with which command)? Do you mind sharing your whoogle.env? I was using the 'Manual' setup before, but now I'm running it on docker. I renamed whoogle.template.env to whoogle.env, stuck in in my home folder, then ran this command: `sudo docker run --publish 5001:5000 --detach --name whoogle-search --env-file ./whoogle.env benbusby/whoogle-search:latest' Whoogle works fine but it's still not loading my custom config. My whoogle.env file has these lines: ``` # Enable View Image option WHOOGLE_CONFIG_VIEW_IMAGE=1 # Set the number of results per page WHOOGLE_RESULTS_PER_PAGE=20 ``` I also tried running it like this with the same lack of custom config: ``` sudo docker run --restart=always --publish 5001:5000 --detach --name whoogle-search \ > -e WHOOGLE_CONFIG_VIEW_IMAGE=1 \ > -e WHOOGLE_RESULTS_PER_PAGE=20 \ > benbusby/whoogle-search:latest ```
Author
Owner

@jacr13 commented on GitHub (Oct 20, 2022):

The last command you sent should work perfectly!
docker run --restart=always --publish 5001:5000 --detach --name whoogle-search -e WHOOGLE_CONFIG_VIEW_IMAGE=1 -e WHOOGLE_RESULTS_PER_PAGE=20 benbusby/whoogle-search:latest

<!-- gh-comment-id:1285273407 --> @jacr13 commented on GitHub (Oct 20, 2022): The last command you sent should work perfectly! `docker run --restart=always --publish 5001:5000 --detach --name whoogle-search -e WHOOGLE_CONFIG_VIEW_IMAGE=1 -e WHOOGLE_RESULTS_PER_PAGE=20 benbusby/whoogle-search:latest`
Author
Owner

@liberninja commented on GitHub (Oct 20, 2022):

Oh well I'll be darned, it works now that I reinstall it! Must have put something in wrong before. I appreciate the help 👍

<!-- gh-comment-id:1286185619 --> @liberninja commented on GitHub (Oct 20, 2022): Oh well I'll be darned, it works now that I reinstall it! Must have put something in wrong before. I appreciate the help 👍
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#529
No description provided.