Document WHOOGLE_CONFIG_BLOCK usage
This commit is contained in:
parent
b1404ab94c
commit
8ed1578b4d
|
@ -267,6 +267,7 @@ These environment variables allow setting default config values, but can be over
|
||||||
| WHOOGLE_CONFIG_COUNTRY | Filter results by hosting country |
|
| WHOOGLE_CONFIG_COUNTRY | Filter results by hosting country |
|
||||||
| WHOOGLE_CONFIG_LANGUAGE | Set interface language |
|
| WHOOGLE_CONFIG_LANGUAGE | Set interface language |
|
||||||
| WHOOGLE_CONFIG_SEARCH_LANGUAGE | Set search result language |
|
| WHOOGLE_CONFIG_SEARCH_LANGUAGE | Set search result language |
|
||||||
|
| WHOOGLE_CONFIG_BLOCK | Block websites from search results (use comma-separated list) |
|
||||||
| WHOOGLE_CONFIG_DARK | Enable dark theme |
|
| WHOOGLE_CONFIG_DARK | Enable dark theme |
|
||||||
| WHOOGLE_CONFIG_SAFE | Enable safe searches |
|
| WHOOGLE_CONFIG_SAFE | Enable safe searches |
|
||||||
| WHOOGLE_CONFIG_ALTS | Use social media site alternatives (nitter, invidious, etc) |
|
| WHOOGLE_CONFIG_ALTS | Use social media site alternatives (nitter, invidious, etc) |
|
||||||
|
|
5
app.json
5
app.json
|
@ -85,6 +85,11 @@
|
||||||
"value": "",
|
"value": "",
|
||||||
"required": false
|
"required": false
|
||||||
},
|
},
|
||||||
|
"WHOOGLE_CONFIG_BLOCK": {
|
||||||
|
"description": "[CONFIG] Block websites from search results (comma-separated list)",
|
||||||
|
"value": "",
|
||||||
|
"required": false
|
||||||
|
},
|
||||||
"WHOOGLE_CONFIG_DARK": {
|
"WHOOGLE_CONFIG_DARK": {
|
||||||
"description": "[CONFIG] Enable dark mode (set to 1 or leave blank)",
|
"description": "[CONFIG] Enable dark mode (set to 1 or leave blank)",
|
||||||
"value": "",
|
"value": "",
|
||||||
|
|
14
whoogle.env
14
whoogle.env
|
@ -18,25 +18,39 @@
|
||||||
|
|
||||||
# See app/static/settings/countries.json for values
|
# See app/static/settings/countries.json for values
|
||||||
#WHOOGLE_CONFIG_COUNTRY=countryUK
|
#WHOOGLE_CONFIG_COUNTRY=countryUK
|
||||||
|
|
||||||
# See app/static/settings/languages.json for values
|
# See app/static/settings/languages.json for values
|
||||||
#WHOOGLE_CONFIG_LANGUAGE=lang_en
|
#WHOOGLE_CONFIG_LANGUAGE=lang_en
|
||||||
|
|
||||||
# See app/static/settings/languages.json for values
|
# See app/static/settings/languages.json for values
|
||||||
#WHOOGLE_CONFIG_SEARCH_LANGUAGE=lang_en
|
#WHOOGLE_CONFIG_SEARCH_LANGUAGE=lang_en
|
||||||
|
|
||||||
# Disable changing of config from client
|
# Disable changing of config from client
|
||||||
#WHOOGLE_CONFIG_DISABLE=1
|
#WHOOGLE_CONFIG_DISABLE=1
|
||||||
|
|
||||||
|
# Block websites from search results (comma-separated list)
|
||||||
|
#WHOOGLE_CONFIG_BLOCK=pinterest.com,whitehouse.gov
|
||||||
|
|
||||||
# Dark mode
|
# Dark mode
|
||||||
#WHOOGLE_CONFIG_DARK=1
|
#WHOOGLE_CONFIG_DARK=1
|
||||||
|
|
||||||
# Safe search mode
|
# Safe search mode
|
||||||
#WHOOGLE_CONFIG_SAFE=1
|
#WHOOGLE_CONFIG_SAFE=1
|
||||||
|
|
||||||
# Use social media site alternatives (nitter, bibliogram, etc)
|
# Use social media site alternatives (nitter, bibliogram, etc)
|
||||||
#WHOOGLE_CONFIG_ALTS=1
|
#WHOOGLE_CONFIG_ALTS=1
|
||||||
|
|
||||||
# Use Tor if available
|
# Use Tor if available
|
||||||
#WHOOGLE_CONFIG_TOR=1
|
#WHOOGLE_CONFIG_TOR=1
|
||||||
|
|
||||||
# Open results in new tab
|
# Open results in new tab
|
||||||
#WHOOGLE_CONFIG_NEW_TAB=1
|
#WHOOGLE_CONFIG_NEW_TAB=1
|
||||||
|
|
||||||
# Search using GET requests only (exposes query in logs)
|
# Search using GET requests only (exposes query in logs)
|
||||||
#WHOOGLE_CONFIG_GET_ONLY=1
|
#WHOOGLE_CONFIG_GET_ONLY=1
|
||||||
|
|
||||||
# Set instance URL
|
# Set instance URL
|
||||||
#WHOOGLE_CONFIG_URL=https://<whoogle url>/
|
#WHOOGLE_CONFIG_URL=https://<whoogle url>/
|
||||||
|
|
||||||
# Set custom CSS styling/theming
|
# Set custom CSS styling/theming
|
||||||
#WHOOGLE_CONFIG_STYLE=":root { /* LIGHT THEME COLORS */ --whoogle-background: #d8dee9; --whoogle-accent: #2e3440; --whoogle-text: #3B4252; --whoogle-contrast-text: #eceff4; --whoogle-secondary-text: #70757a; --whoogle-result-bg: #fff; --whoogle-result-title: #4c566a; --whoogle-result-url: #81a1c1; --whoogle-result-visited: #a3be8c; /* DARK THEME COLORS */ --whoogle-dark-background: #222; --whoogle-dark-accent: #685e79; --whoogle-dark-text: #fff; --whoogle-dark-contrast-text: #000; --whoogle-dark-secondary-text: #bbb; --whoogle-dark-result-bg: #000; --whoogle-dark-result-title: #1967d2; --whoogle-dark-result-url: #4b11a8; --whoogle-dark-result-visited: #bbbbff; }"
|
#WHOOGLE_CONFIG_STYLE=":root { /* LIGHT THEME COLORS */ --whoogle-background: #d8dee9; --whoogle-accent: #2e3440; --whoogle-text: #3B4252; --whoogle-contrast-text: #eceff4; --whoogle-secondary-text: #70757a; --whoogle-result-bg: #fff; --whoogle-result-title: #4c566a; --whoogle-result-url: #81a1c1; --whoogle-result-visited: #a3be8c; /* DARK THEME COLORS */ --whoogle-dark-background: #222; --whoogle-dark-accent: #685e79; --whoogle-dark-text: #fff; --whoogle-dark-contrast-text: #000; --whoogle-dark-secondary-text: #bbb; --whoogle-dark-result-bg: #000; --whoogle-dark-result-title: #1967d2; --whoogle-dark-result-url: #4b11a8; --whoogle-dark-result-visited: #bbbbff; }"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user