SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Go to file
dalf 67e11c42b9 Clean up the architecture
Purposes :
- isolate the plugins calls
- distinction between parsing the web request and running the search (Search class). To be able to test code easily, to run searx code outside a web server, to filter the search query parameters with plugins more easily, etc...

Details :
- request.request_data contains request.form or request.args (initialize inside pre_request() function)
- Query class is renamed RawTextQuery
- SearchQuery class defines all search parameters
- get_search_query_from_webapp create a SearchQuery instance (basically the previous Search.__init__ code)
- Search class and SearchWithPlugins class takes a SearchQuery instance as class constructor parameter
- SearchWithPlugins class inherites from Search class, and run plugins
- A dedicated function search_with_plugins executes plugins to have a well define locals() (which is used by the plugins code).
- All plugins code is executed inside the try...except block (webapp.py, index function)
- advanced_search HTTP parameter value stays in webapp.py (it is only part of UI)
- multiple calls to result_container.get_ordered_results() doesn't compute the order multiple time (note : this method was call only once before)
- paging value is stored in the result_container class (compute in the extend method)
- test about engine.suspend_end_time is done during search method call (instead of __init__)
- check that the format parameter value is one of these : html, rss, json, rss (before the html value was assumed but some text formatting wasn't not done)
2016-11-02 14:22:16 +01:00
examples Fix whitespaces 2016-07-11 18:52:37 +07:00
searx Clean up the architecture 2016-11-02 14:22:16 +01:00
tests Clean up the architecture 2016-11-02 14:22:16 +01:00
utils Add missing blank lines after class or function definition. 2016-08-11 17:18:12 +07:00
.coveragerc Cover searx.utils 2014-07-12 15:46:55 +02:00
.gitignore wikidata refactor and more attributes (see issue #560) 2016-08-05 23:51:04 -05:00
.landscape.yaml Add landscape.io configuration 2014-07-09 22:49:38 +02:00
.travis.yml [enh] add latest firefox addon to travis 2016-10-22 02:32:36 +02:00
AUTHORS.rst initial commit of pdbe engine 2016-10-13 00:40:38 +02:00
babel.cfg [enh] babel.cfg added 2014-01-22 00:15:42 +01:00
CHANGELOG.rst [enh] version 0.10.0 2016-09-06 18:31:25 +02:00
Dockerfile Dockerfile enhancements 2016-02-09 21:02:40 +01:00
LICENSE [fix] full AGPLv3+ license according to #382 2015-07-04 18:23:54 +02:00
manage.sh [mod] rename "default" theme to "legacy" 2016-09-22 23:51:07 +02:00
README.rst use https instead of ssh with git-clone 2016-07-08 08:46:25 +02:00
requirements-dev.txt [enh] update dev requirements 2016-10-22 02:22:20 +02:00
requirements.txt [enh] update certifi to the current latest 2016-10-03 14:10:00 +02:00
setup.py [fix] missing requirements files from setup.py - closes #572 2016-05-30 18:00:41 +02:00
tox.ini [enh] tox.ini added to rewrite standard pep8 rules 2015-01-02 12:26:21 +01:00

searx

A privacy-respecting, hackable metasearch engine.

List of running instances.

See the documentation and the wiki for more information.

Flattr searx

Installation

  • clone source: git clone https://github.com/asciimoo/searx.git && cd searx
  • install dependencies: ./manage.sh update_packages
  • edit your settings.yml (set your secret_key!)
  • run python searx/webapp.py to start the application

For all the details, follow this step by step installation

Bugs

Bugs or suggestions? Visit the issue tracker.

License

More about searx