Say goodbye to a certain degree? An open source ad free self hosting search engine!

Time:2022-1-1

[introduction]: a search engine with self hosting, no advertising and strict privacy protection.

brief introduction

Whoogle search is a self managed and ad free search engine. It does not expose personal privacy such as amp chain, cookie and IP tracking. It can be easily deployed as a docker application with one click, and pull up an ad free search service to obtain Google search results. It can be implemented quickly and simply as the main search engine alternative on desktop and mobile devices.

Functional features:

  • No advertising or sponsorship content
  • No JavaScript script
  • Do not track / link personal IP addresses
  • No amp link
  • No URL tracking tag
  • No reference header
  • Tor and HTTP / Socks proxy support
  • Auto supplement / search suggestions
  • Post request search and suggestion query
  • Theme dark mode
  • Randomly generated user agent
  • Easy to install / deploy
  • Optional location based search
  • Optional nojs mode to disable all JavaScript in search results

Project address:

https://github.com/benbusby/w…

Download and install

Dependency

If heroku quick deploy is used, you can skip this section. Otherwise, please refer to:

  • Docker, which is only required when you intend to build an application docker image
  • Python 3
  • Libcurl4 OpenSSL Dev and libssl dev

macOS:

brew install openssl curl-openssl

Ubuntu:

sudo apt-get install -y libcurl4-openssl-dev libssl-dev

Arch:

pacman -S curl openssl

install

  1. Heroku
https://heroku.com/deploy?template=https://github.com/benbusby/whoogle-search/tree/heroku-app-beta

Heroku account is required. Heroku provides the following functions:

  • Free app deployment
  • Free HTTPS website (HTTPS: / / < app name >. Herokuapp. Com)
  • Downtime after a period of inactivity, solution:
https://github.com/benbusby/whoogle-search#prevent-downtime-heroku-only
  1. Repl.it
https://repl.it/github/benbusby/whoogle-search

A replica account is required. Replica provides the following functions:

https://repl.it/talk/ask/use-this-pingmat1replco-just-enter/28821/101298
https://repl.it/talk/learn/How-to-use-and-setup-UptimeRobot/9003
  1. Fly.io
https://fly.io/

Need a fly IO account. To install the CLI:

curl -L https://fly.io/install.sh | sh

Deploy application:

fly apps create --org personal --port 5000fly deploy

Then you can passhttps://app-name.fly.devAccess the application.

  1. Pipx persistence installation:
pipx install git+https://github.com/benbusby/whoogle-search.git

Temporary installation of sandbox:

pipx run --spec git+https://github.com/benbusby/whoogle-search.git whoogle-search
  1. pip
pip install whoogle-search
  1. Manual installation

Clone the code warehouse and run the following command to start the application in the local environment:

git clone https://github.com/benbusby/whoogle-search.git
cd whoogle-search
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
./run

You can add it as a system service to / lib / SYSTEMd / system / whoogle Add the following content to the service file:

[Unit]
Description=Whoogle

[Service]
# Basic auth configuration, uncomment to enable
#Environment=WHOOGLE_USER=<username>
#Environment=WHOOGLE_PASS=<password>
# Proxy configuration, uncomment to enable
#Environment=WHOOGLE_PROXY_USER=<proxy username>
#Environment=WHOOGLE_PROXY_PASS=<proxy password>
#Environment=WHOOGLE_PROXY_TYPE=<proxy type (http|https|proxy4|proxy5)
#Environment=WHOOGLE_PROXY_LOC=<proxy host/ip>
# Site alternative configurations, uncomment to enable
# Note: If not set, the feature will still be available
# with default values. 
#Environment=WHOOGLE_ALT_TW=nitter.net
#Environment=WHOOGLE_ALT_YT=invidious.snopyta.org
#Environment=WHOOGLE_ALT_IG=bibliogram.art/u
#Environment=WHOOGLE_ALT_RD=libredd.it
#Environment=WHOOGLE_ALT_TL=lingva.ml
# Load values from dotenv only
#Environment=WHOOGLE_DOTENV=1
Type=simple
User=root
WorkingDirectory=<whoogle_directory>
ExecStart=<whoogle_directory>/venv/bin/python3 -um app --host 0.0.0.0 --port 5000
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
RestartSec=3
SyslogIdentifier=whoogle

[Install]
WantedBy=multi-user.target
  1. Docker deployment through docker hub:
docker pull benbusby/whoogle-search
docker run --publish 5000:5000 --detach --name whoogle-search benbusby/whoogle-search:latest

Or use docker compose:

git clone https://github.com/benbusby/whoogle-search.git
cd whoogle-search
docker-compose up

Or build your own image to run:

git clone https://github.com/benbusby/whoogle-search.git
cd whoogle-search
docker build --tag whoogle-search:1.0 .
docker run --publish 5000:5000 --detach --name whoogle-search whoogle-search:1.0

Browser settings

You can set whoogle as the main search engine in the browser.

Firefox (desktop)

  • Version 89 +: navigate to your app’s web address, right-click the address bar, and then select add search engine
  • Previous versions: navigate to the URL of the application and click the menu in the address bar. At the bottom, there should be an “add search engine” option
  • After adding a new search engine, open the Firefox Preferences menu, click search in the left menu, and then use the available drop-down list to select whoogle from the list

Firefox(iOS)

On the mobile application settings page, click “search” in the “general” section. There should be an option entitled “add search engine” to choose from. Prompt for a title and search query URL, and fill out the form with the following elements:

  • Title: “Whoogle”
  • URL: http[s]://<your whoogle url>/search?q=%s

Firefox (Android)

  • Version < 79.0.0: navigate to the web address of the application; Long press the search text field; Click “add search engine” menu item; Select a name and click OK; Click the menu in the upper right corner; Navigate to the setup menu and select the “search” submenu; Select whoogle and press “set as default”;
  • Version > = 79.0.0: click the menu in the upper right corner, navigate to the setting menu and select the “search” submenu; Click “add search engine”; Select the other radio button to complete the form with the following elements:
Name: "whoogle"
Search string to use: HTTPS: // \ < your whoogle URL \ > / search? q=%s

Alfred (Mac OS X)

  • Go to Alfred Preferences > features > Web search and click add custom search. Then configure these settings:
Search URL: ` HTTPS: // < your whoogle URL > / search? q={query}
Title: (optional)
Key words: whoogle
  • Go to default results and click the setup fallback results button. Click + and add a whoogle, then drag it to the top.

Browser based on chrome / chromium

  • Auto add: visit the homepage of whoogle search instance. This may automatically add a search engine to the search engine list. If not, you can add it manually.
  • Add manually: under search engines > manage search engines > add, use whoogle URL / search? Enter the whoogle instance details manually with a URL in the format q =% s.

    Open source outpostShare popular, interesting and practical open source projects on a daily basis. Participate in maintaining the open source technology resource library of 100000 + star, including python, Java, C / C + +, go, JS, CSS and node js、PHP、. Net, etc.

Recommended Today

Could not get a resource from the pool when the springboot project starts redis; nested exception is io. lettuce. core.

resolvent: Find your redis installation path: Start redis server Exe After successful startup: Restart project resolution. ———————————————————————->Here’s the point:<——————————————————————- Here, if you close the redis command window, the project console will report an error. If you restart the project, the same error will be reported at the beginning, The reason is: It is inconvenient to […]