whoogle-search
whoogle-search copied to clipboard
[FEATURE] Save Configuration
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.
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.
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.
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...
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.
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.
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.
Which version are you using? Which deployment (with which command)? Do you mind sharing your whoogle.env?
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.
Whoogle has now the possibility to encode preferences in URL, it is maybe a solution for your problem
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
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
Oh well I'll be darned, it works now that I reinstall it! Must have put something in wrong before. I appreciate the help 👍