Builds a SearXNG container, a privacy-respecting metasearch engine. Includes a suite of custom themes from catppuccin, paulgoio, kagi, brave, moa, and the default SearXNG themes.
Don't see your favorite theme? Submit a theme request!
Global Instance - 🌐 Worldwide : https://priv.au/
America, DigitalOcean - 🇺🇸 New York, United States : https://na.priv.au/
America, DigitalOcean - 🇺🇸 San Francisco, United States : https://na2.priv.au/
Europe, iFog - 🇨🇭 Zurich, Switzerland : https://eu.priv.au/
Europe, Lagrange - 🇬🇧 London, United Kingdom : https://eu2.priv.au/
Europe, iFog - 🇩🇪 Frankfurt, Germany : https://eu3.priv.au/
Europe, Anexia - 🇩🇪 Nuremberg, Germany : https://eu4.priv.au/
Asia, DigitalOcean - 🇸🇬 Singapore : https://as.priv.au/
Asia, DigitalOcean - 🇮🇳 Bangalore, India : https://as2.priv.au/
Australia, DigitalOcean - 🇦🇺 Sydney, Australia : https://au.priv.au/
Australia, Vultr - 🇦🇺 Melbourne, Australia : https://au2.priv.au/
Australia, BinaryLane - 🇦🇺 Perth, Australia : https://au3.priv.au/
When you connect to priv.au over IPv4, the location of your DNS resolver will determine which of our instances across the globe you will connect to, generally the closest will be chosen. Connecting over IPv6 will route you to the closest instance via BGP Anycast. You are able to bypass this selection process by connecting directly to a geographic instance, using the links above.
If Qwant is returning an 'Access Denied' error, you're most likely connecting to our Singaporean instance. In December 2020, Qwant closed access for multiple countries, one being Singapore. You can read their statement on the matter here. To bypass this block, you connect to a different instance in a different country.
-
docker run -d --restart always -p 127.0.0.1:8080:8080 --name searxng ghcr.io/privau/searxng
-
Visit
http://127.0.0.1:8080
in your browser, stop the server withCtrl
+C
.
-
Clone this repo:
git clone https://github.com/privau/searxng.git
-
Make your changes to the theme within
src/less
-
Build the static files by running
update.sh
. This step requires python, npm and make. It's recommended to run this within the development container. -
You can build the docker container locally by running:
docker build --pull -f ./Dockerfile -t searxng-dev:latest .
-
Run the local container with:
docker run -it --rm -p 8080:8080 searxng-dev:latest
-
Alternatively, you can build the static files, build the docker image and run the docker container using
./development.sh
-
IMAGE_PROXY
: Enables the image proxy in SearXNG. (set this totrue
) -
REDIS_URL
: Sets the URL of redis server to store data for Limiter plugin (for exampleredis://redis:6379/0
orunix:///usr/local/searxng-redis/run/redis.sock?db=0
) -
LIMITER
: limit bot traffic; this option also requires redis to be set up -
BASE_URL
: Sets the base url (for example: example.org would havehttps://example.org/
as base) -
NAME
: Sets the name of the instance, which is for example displayed in the title of the site (for exampleSearXNG
) -
PRIVACYPOLICY
: Sets the location of privacy policy of the instance. (for examplehttps://example.org/privacy-policy
) -
CONTACT
: Sets the location for users to contact the instance maintainer. (for examplemailto:[email protected]
) -
ISSUE_URL
: Set the location for users to report issues to. (for examplehttps://github.com/example/searxng/issues
!Without a trailing /) -
DONATION_URL
: Sets the location for users to donate to. (for examplehttps://example.org/donate
). Leave empty to disable. -
GIT_URL
: Sets the location of the Git repository. (for examplehttps://github.com/example/searxng
) -
GIT_BRANCH
: Sets the Git branch of the repository specified inGIT_URL
. (for examplemain
) -
SEARCH_ENGINE_ACCESS_DENIED
: Sets the suspension timeout in seconds if a search engine throws a SEARCH_ENGINE_ACCESS_DENIED exception, by default this value is set to60
(i.e. 1 minute) -
PUBLIC_INSTANCE
: Sets the public_instance parameter, which enables features designed for public instances. Requires the limiter to be enabled, which also requires redis. Required to be used on public production instances. Leave empty to disable. (Default:false
) -
SECRET_KEY
: Sets the secret key for the instance. If not set, a random key will be generated on startup. -
FOOTER_MESSAGE
: Sets the footer message of the instance. (Default: empty) -
CAPTCHA
: Enables the captcha for the instance if set. (Default:false
) -
AUTHORIZED_API
: Set to enable the Authorized API. Allows all search formats, i.e. json,csv,rss behind a token. Token file is located at/auth_tokens.txt
. Loaded once, you need to restart the container to reload the tokens. (Default:false
) -
OPENMETRICS_PASSWORD
: Set the password for the OpenMetrics endpoint. (Default: off) -
GOOGLE_DEFAULT
: Enable the Google search engine by default. (Default:true
) -
BING_DEFAULT
: Enable the Bing search engine by default. (Default:false
)