Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 1.35 KB

README.md

File metadata and controls

56 lines (43 loc) · 1.35 KB

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

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
virtualenv -p $(which python3) ve
. ./ve/bin/activate
pip3 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