searxng / searx-space

Statistics of the public SearX(NG) instances
https://searx.space/
GNU Affero General Public License v3.0
154 stars 25 forks source link

searx-space

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

Installation

Download and run cryptcheck-backend

searx-space 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/searxng/searx-space
sudo useradd searxstats -d /usr/local/searx-space
sudo chown searxstats:searxstats -R /usr/local/searx-space

Project install

sudo -u searxstats -i
cd /usr/local/searx-space
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-space/cache --all

Output in html/data/instances.json.

To display all options:

python3 -m searxstats --help