searx/README.md

100 lines
3.3 KiB
Markdown
Raw Normal View History

2013-10-14 23:09:13 +02:00
searx
=====
2013-10-20 21:58:53 +02:00
A privacy-respecting, hackable [metasearch engine](https://en.wikipedia.org/wiki/Metasearch_engine).
2013-10-27 12:00:52 +01:00
2013-10-27 11:47:04 +01:00
List of [running instances](https://github.com/asciimoo/searx/wiki/Searx-instances).
2013-10-15 00:32:39 +02:00
2013-10-25 15:45:36 +02:00
[![Flattr searx](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=asciimoo&url=https://github.com/asciimoo/searx&title=searx&language=&tags=github&category=software)
2013-10-25 12:50:16 +02:00
2013-10-15 00:52:41 +02:00
### Features
2013-10-18 19:53:22 +02:00
* Tracking free
2013-10-15 18:18:50 +02:00
* Modular (see [examples](https://github.com/asciimoo/searx/blob/master/examples))
2013-10-15 00:52:41 +02:00
* Parallel queries
2014-01-14 18:20:55 +01:00
* Supports multiple output formats
* json `curl https://searx.0x2a.tk/?format=json&q=[query]`
* csv `curl https://searx.0x2a.tk/?format=csv&q=[query]`
* opensearch/rss `curl https://searx.0x2a.tk/?format=rss&q=[query]`
2013-11-11 23:23:29 +01:00
* Opensearch support (you can set as default search engine)
* Configurable search engines/categories
2013-10-15 00:32:39 +02:00
### Installation
2013-10-16 22:22:36 +02:00
* clone source: `git clone git@github.com:asciimoo/searx.git && cd searx`
2013-10-20 01:00:04 +02:00
* install dependencies: `pip install -r requirements.txt`
2013-10-19 16:25:06 +02:00
* edit your [searx/settings.py](https://github.com/asciimoo/searx/blob/master/searx/settings.py) (set your `secret_key`!)
2013-10-23 23:51:25 +02:00
* rename `engines.cfg_sample` to `engines.cfg`
2013-10-16 22:22:36 +02:00
* run `python searx/webapp.py` to start the application
2014-01-12 11:42:20 +01:00
For all the details, follow this [step by step installation](https://github.com/asciimoo/searx/wiki/Installation)
### Alternative (Recommended) Installation
* clone source: `git clone git@github.com:asciimoo/searx.git && cd searx`
* build in current folder: `make minimal`
* run `bin/searx-run` to start the application
### Development
Just run `make`. Versions of dependencies are pinned down inside `versions.cfg` to produce most stable build.
#### Command make
##### `make`
Builds development environment with testing support.
##### `make tests`
Runs tests. You can write tests [here](https://github.com/asciimoo/searx/tree/master/searx/tests) 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](https://github.com/asciimoo/searx/blob/master/searx/settings_robot.py).
##### `make flake8`
'pep8 is a tool to check your Python code against some of the style conventions in [PEP 8](http://www.python.org/dev/peps/pep-0008/).'
##### `make coverage`
Checks coverage of tests, after running this, execute this: `firefox ./coverage/index.html`
##### `make minimal`
Used to make co-called production environment - without tests (you should ran tests before deploying searx on the server).
##### `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.
2013-10-16 22:22:36 +02:00
### TODO
2013-11-11 23:19:36 +01:00
* Moar engines
2013-10-16 22:22:36 +02:00
* Better ui
* Language support
2013-10-20 11:19:14 +02:00
* Documentation
2013-10-20 21:58:53 +02:00
* Pagination
* Fix `flake8` errors, `make flake8` will be merged into `make tests` when it does not fail anymore
2013-11-10 21:04:44 +01:00
* Tests
* When we have more tests, we can integrate Travis-CI
2013-10-20 11:20:10 +02:00
### Bugs
Bugs or suggestions? Visit the [issue tracker](https://github.com/asciimoo/searx/issues).
2014-01-12 12:41:58 +01:00
### [License](https://github.com/asciimoo/searx/blob/master/LICENSE)
### More about searx
* [ohloh](https://www.ohloh.net/p/searx/)
* [twitter](https://twitter.com/Searx_engine)
2014-01-16 17:44:30 +01:00
* IRC: #searx @ freenode
2014-01-12 12:41:58 +01:00