![]() |
il y a 11 ans | |
---|---|---|
examples | il y a 11 ans | |
searx | il y a 11 ans | |
.gitignore | il y a 11 ans | |
LICENSE | il y a 11 ans | |
Makefile | il y a 11 ans | |
README.md | il y a 11 ans | |
base.cfg | il y a 11 ans | |
bootstrap.py | il y a 11 ans | |
buildout.cfg | il y a 11 ans | |
engines.cfg_sample | il y a 11 ans | |
minimal.cfg | il y a 11 ans | |
production.cfg | il y a 11 ans | |
requirements.txt | il y a 11 ans | |
setup.py | il y a 11 ans | |
versions.cfg | il y a 11 ans |
A privacy-respecting, hackable metasearch engine.
List of running instances.
curl https://searx.0x2a.tk/?format=json&q=[query]
curl https://searx.0x2a.tk/?format=csv&q=[query]
curl https://searx.0x2a.tk/?format=rss&q=[query]
git clone git@github.com:asciimoo/searx.git && cd searx
pip install -r requirements.txt
secret_key
!)engines.cfg_sample
to engines.cfg
python searx/webapp.py
to start the applicationFor all the details, follow this step by step installation
git clone git@github.com:asciimoo/searx.git && cd searx
make minimal
bin/searx-run
to start the applicationJust run make
. Versions of dependencies are pinned down inside versions.cfg
to produce most stable build. Also remember, NO make command should be run as root, not even make production
git clone git@github.com:asciimoo/searx.git && cd searx
make production
bin/supervisord
to start the applicationgit stash
to temporarily save any changes you have madegit pull origin master
make production
bin/supervisorctl stop searx
to stop searx, if it does not, then run fuser -k 8888/tcp
bin/supervisorctl reload
to re-read supervisor config and start searxmake
Builds development environment with testing support.
make tests
Runs tests. You can write tests here and remember 'untested code is broken code'.
make robot
Runs robot (Selenium) tests, you must have firefox
installed because this functional tests actually run the browser and perform operations on it. Also searx is executed with settings_robot.
make flake8
'pep8 is a tool to check your Python code against some of the style conventions in PEP 8.'
make coverage
Checks coverage of tests, after running this, execute this: firefox ./coverage/index.html
make production
Used to make co-called production environment - without tests (you should ran tests before deploying searx on the server). This installs supervisord, so if searx crashes, it will try to pick itself up again. And crontab entry is added to start supervisord at server boot.
make minimal
Minimal build - without test frameworks, the quickest build option.
make clean
Deletes several folders and files (see Makefile
for more), so that next time you run any other make
command it will rebuild everithing.
flake8
errors, make flake8
will be merged into make tests
when it does not fail anymoreBugs or suggestions? Visit the issue tracker.