2021-10-18 21:01:48 +00:00
|
|
|
# ----------------------------------
|
|
|
|
# Rename to "whoogle.env" before use
|
|
|
|
# ----------------------------------
|
2021-05-03 18:23:44 +00:00
|
|
|
# You can set Whoogle environment variables here, but must
|
|
|
|
# modify your deployment to enable these values:
|
|
|
|
# - Local: Set WHOOGLE_DOTENV=1
|
|
|
|
# - docker-compose: Uncomment the env_file option
|
|
|
|
# - docker: Add "--env-file ./whoogle.env" to your build command
|
2021-03-28 17:27:08 +00:00
|
|
|
|
Use farside.link for frontend alternatives in results (#560)
* Integrate Farside into Whoogle
When instances are ratelimited (when a captcha is returned instead of
the user's search results) the user can now hop to a new instance via
Farside, a new backend service that redirects users to working instances
of a particular frontend. In this case, it presents a user with a
Farside link to a new Whoogle (or Searx) instance instead, so that the
user can resume their search.
For the generated Farside->Whoogle link, the generated link includes the
user's current Whoogle configuration settings as URL params, to ensure a
more seamless transition between instances. This doesn't translate to
the Farside->Searx link, but potentially could with some changes.
* Expand conversion of config<->url params
Config settings can now be translated to and from URL params using a
predetermined set of "safe" keys (i.e. config settings that easily
translate to URL params).
* Allow jumping instances via Farside when ratelimited
When instances are ratelimited (when a captcha is returned instead of
the user's search results) the user can now hop to a new instance via
Farside, a new backend service that redirects users to working instances
of a particular frontend. In this case, it presents a user with a
Farside link to a new Whoogle (or Searx) instance instead, so that the
user can resume their search.
For the generated Farside->Whoogle link, the generated link includes the
user's current Whoogle configuration settings as URL params, to ensure a
more seamless transition between instances. This doesn't translate to
the Farside->Searx link, but potentially could with some changes.
Closes #554
Closes #559
2021-12-09 00:27:33 +00:00
|
|
|
#WHOOGLE_ALT_TW=farside.link/nitter
|
|
|
|
#WHOOGLE_ALT_YT=farside.link/invidious
|
|
|
|
#WHOOGLE_ALT_IG=farside.link/bibliogram/u
|
|
|
|
#WHOOGLE_ALT_RD=farside.link/libreddit
|
|
|
|
#WHOOGLE_ALT_MD=farside.link/scribe
|
2021-06-15 14:14:42 +00:00
|
|
|
#WHOOGLE_ALT_TL=lingva.ml
|
2021-03-28 17:27:08 +00:00
|
|
|
#WHOOGLE_USER=""
|
|
|
|
#WHOOGLE_PASS=""
|
|
|
|
#WHOOGLE_PROXY_USER=""
|
|
|
|
#WHOOGLE_PROXY_PASS=""
|
|
|
|
#WHOOGLE_PROXY_TYPE=""
|
|
|
|
#WHOOGLE_PROXY_LOC=""
|
2021-11-29 22:49:35 +00:00
|
|
|
#WHOOGLE_CSP=1
|
2021-03-28 17:27:08 +00:00
|
|
|
#HTTPS_ONLY=1
|
2021-03-28 18:24:57 +00:00
|
|
|
|
2021-09-15 22:00:36 +00:00
|
|
|
# Restrict results to only those near a particular city
|
|
|
|
#WHOOGLE_CONFIG_NEAR=denver
|
|
|
|
|
2021-05-03 18:23:44 +00:00
|
|
|
# See app/static/settings/countries.json for values
|
2021-12-01 03:18:40 +00:00
|
|
|
#WHOOGLE_CONFIG_COUNTRY=US
|
2021-05-07 15:45:53 +00:00
|
|
|
|
2021-05-03 18:23:44 +00:00
|
|
|
# See app/static/settings/languages.json for values
|
|
|
|
#WHOOGLE_CONFIG_LANGUAGE=lang_en
|
2021-05-07 15:45:53 +00:00
|
|
|
|
2021-05-03 18:23:44 +00:00
|
|
|
# See app/static/settings/languages.json for values
|
|
|
|
#WHOOGLE_CONFIG_SEARCH_LANGUAGE=lang_en
|
2021-05-07 15:45:53 +00:00
|
|
|
|
2021-05-03 18:23:44 +00:00
|
|
|
# Disable changing of config from client
|
|
|
|
#WHOOGLE_CONFIG_DISABLE=1
|
2021-05-07 15:45:53 +00:00
|
|
|
|
|
|
|
# Block websites from search results (comma-separated list)
|
|
|
|
#WHOOGLE_CONFIG_BLOCK=pinterest.com,whitehouse.gov
|
|
|
|
|
2021-06-28 14:26:51 +00:00
|
|
|
# Theme (light, dark, or system)
|
|
|
|
#WHOOGLE_CONFIG_THEME=system
|
2021-05-07 15:45:53 +00:00
|
|
|
|
2021-05-03 18:23:44 +00:00
|
|
|
# Safe search mode
|
|
|
|
#WHOOGLE_CONFIG_SAFE=1
|
2021-05-07 15:45:53 +00:00
|
|
|
|
2021-05-03 18:23:44 +00:00
|
|
|
# Use social media site alternatives (nitter, bibliogram, etc)
|
|
|
|
#WHOOGLE_CONFIG_ALTS=1
|
2021-05-07 15:45:53 +00:00
|
|
|
|
2021-05-03 18:23:44 +00:00
|
|
|
# Use Tor if available
|
|
|
|
#WHOOGLE_CONFIG_TOR=1
|
2021-05-07 15:45:53 +00:00
|
|
|
|
2021-05-03 18:23:44 +00:00
|
|
|
# Open results in new tab
|
|
|
|
#WHOOGLE_CONFIG_NEW_TAB=1
|
2021-05-07 15:45:53 +00:00
|
|
|
|
2021-04-16 14:16:14 +00:00
|
|
|
# Enable View Image option
|
Use farside.link for frontend alternatives in results (#560)
* Integrate Farside into Whoogle
When instances are ratelimited (when a captcha is returned instead of
the user's search results) the user can now hop to a new instance via
Farside, a new backend service that redirects users to working instances
of a particular frontend. In this case, it presents a user with a
Farside link to a new Whoogle (or Searx) instance instead, so that the
user can resume their search.
For the generated Farside->Whoogle link, the generated link includes the
user's current Whoogle configuration settings as URL params, to ensure a
more seamless transition between instances. This doesn't translate to
the Farside->Searx link, but potentially could with some changes.
* Expand conversion of config<->url params
Config settings can now be translated to and from URL params using a
predetermined set of "safe" keys (i.e. config settings that easily
translate to URL params).
* Allow jumping instances via Farside when ratelimited
When instances are ratelimited (when a captcha is returned instead of
the user's search results) the user can now hop to a new instance via
Farside, a new backend service that redirects users to working instances
of a particular frontend. In this case, it presents a user with a
Farside link to a new Whoogle (or Searx) instance instead, so that the
user can resume their search.
For the generated Farside->Whoogle link, the generated link includes the
user's current Whoogle configuration settings as URL params, to ensure a
more seamless transition between instances. This doesn't translate to
the Farside->Searx link, but potentially could with some changes.
Closes #554
Closes #559
2021-12-09 00:27:33 +00:00
|
|
|
#WHOOGLE_CONFIG_VIEW_IMAGE=1
|
2021-04-16 14:16:14 +00:00
|
|
|
|
2021-05-03 18:23:44 +00:00
|
|
|
# Search using GET requests only (exposes query in logs)
|
|
|
|
#WHOOGLE_CONFIG_GET_ONLY=1
|
2021-05-07 15:45:53 +00:00
|
|
|
|
2021-12-19 18:42:52 +00:00
|
|
|
# Remove everything except basic result cards from all search queries
|
|
|
|
#WHOOGLE_MINIMAL=0
|
|
|
|
|
|
|
|
# Set the number of results per page
|
|
|
|
#WHOOGLE_RESULTS_PER_PAGE=10
|
|
|
|
|
|
|
|
# Controls visibility of autocomplete/search suggestions
|
|
|
|
#WHOOGLE_AUTOCOMPLETE=1
|
|
|
|
|
|
|
|
# The port where Whoogle will be exposed
|
|
|
|
#EXPOSE_PORT=5000
|
|
|
|
|
2021-05-03 18:23:44 +00:00
|
|
|
# Set instance URL
|
2021-03-28 18:24:57 +00:00
|
|
|
#WHOOGLE_CONFIG_URL=https://<whoogle url>/
|
2021-05-07 15:45:53 +00:00
|
|
|
|
2021-05-03 18:23:44 +00:00
|
|
|
# Set custom CSS styling/theming
|
2021-03-28 18:24:57 +00:00
|
|
|
#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; }"
|