searx-space icon indicating copy to clipboard operation
searx-space copied to clipboard

Statistics of the public SearX(NG) instances

searx-stats2

Statistics on the searx instances: https://searx.space (Onion URL)

Installation

Download and run cryptcheck-backend

searx-stats2 expects cryptcheck-backend to respond on localhost:7000:

docker run --rm -p 7000:7000 dalf/cryptcheck-backend:latest

Note: cryptcheck-backend is used to get the TLS grade.

Install system packages

Install packages (for Ubuntu):

apt install firefox wget git build-essential python3-dev virtualenv python3-virtualenv libxslt-dev zlib1g-dev libffi-dev libssl-dev libyaml-dev python3-ldns python3-venv tor

For Debian, firefox should be replaced with firefox-esr.

Get the project

Install searxstats:

cd /usr/local
sudo git clone https://github.com/searx/searx-stats2
sudo useradd searxstats -d /usr/local/searx-stats2
sudo chown searxstats:searxstats -R /usr/local/searx-stats2

Project install

sudo -u searxstats -i
cd /usr/local/searx-stats2
python3 -m venv --system-site-packages ve
. ./ve/bin/activate
pip install -r requirements.txt
./utils/install-geckodriver
mkdir cache
mkdir html/data
touch html/data/instances.json

Run

Run (it takes between 30 minutes and 1 hour):

python3 -m searxstats --cache /usr/local/searx-stats2/cache --all

Output in html/data/instances.json.

To display all options:

python3 -m searxstats --help