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:
apt install firefox wget git build-essential python3-dev virtualenv python3-virtualenv libxslt-dev zlib1g-dev libffi-dev libssl-dev libyaml-dev python3-ldns
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
python -m venv --system-site-packages ve
. ./ve/bin/activate
pip install -r requirements.txt
./utils/install-geckodriver
mkdir cache
mkdir html/data
Run
Run (it takes between 30 minutes and 1 hour):
python3 -m searxstats --cache /usr/local/searx-stats2/cache --all
Output in html/data/instance.json
.
To display all options:
python3 -m searxstats --help