mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-26 12:45:48 +03:00
[GH-ISSUE #838] [FEATURE] Save Configuration #529
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#529
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@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.
@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.
@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...
@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.
@jacr13 commented on GitHub (Sep 19, 2022):
try to update to the most recent version and adding WHOOGLE_CONFIG_SAFE=0 to stop using safe search.
@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.
@jacr13 commented on GitHub (Sep 20, 2022):
Which version are you using? Which deployment (with which command)? Do you mind sharing your whoogle.env?
@thunderclap82 commented on GitHub (Sep 20, 2022):
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.
@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
@liberninja commented on GitHub (Oct 19, 2022):
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:
I also tried running it like this with the same lack of custom config:
@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@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 👍