on master help sign in
Merge pull request #752 from kvch/gh-pages

documentation update && new page

commite0eb48b4f61aa000150bda74967496bee2d7a394 authorAdam Tauber <asciimoo@gmail.com> dateSat 5 Nov 2016, 17:19 (10 years ago) parenta2206c240251e6
29 files changed+669−429
_sources/dev/engine_overview.txt+114−112 _sources/dev/plugins.txt+1−1 _sources/index.txt+2−1 _sources/user/own-instance.txt+43 _static/basic.css+7 _static/pygments.css+2 _static/searchtools.js+1−1 admin/api.html+47−45 admin/filtron.html+3−3 dev/contribution_guide.html+5−3 dev/engine_overview.html+62−54 dev/install/installation.html+38−36 dev/plugins.html+15−13 dev/quickstart.html+13−11 dev/search_api.html+5−3 dev/translation.html+14−12 docs/conf.py+2−2 docs/dev/engine_overview.rst+114−112 docs/dev/plugins.rst+1−1 docs/index.rst+2−1 docs/user/own-instance.rst+43 genindex.html+5−3 index.html+8−4 objects.inv+2−3 requirements.txt+1−1 search.html+5−3 searchindex.js+1−1 user/own-instance.html+108 user/search_syntax.html+5−3
_sources/dev/engine_overview.txt+114−112
@@ -30,15 +30,17 @@ settings. However, the standard way is the following:
3030engine file
3131~~~~~~~~~~~
3232
33−+---------------------+-----------+-----------------------------------------+
34−| argument | type | information |
35−+=====================+===========+=========================================+
36−| categories | list | pages, in which the engine is working |
37−+---------------------+-----------+-----------------------------------------+
38−| paging | boolean | support multible pages |
39−+---------------------+-----------+-----------------------------------------+
40−| language\_support | boolean | support language choosing |
41−+---------------------+-----------+-----------------------------------------+
33++----------------------+-----------+-----------------------------------------+
34+| argument | type | information |
35++======================+===========+=========================================+
36+| categories | list | pages, in which the engine is working |
37++----------------------+-----------+-----------------------------------------+
38+| paging | boolean | support multible pages |
39++----------------------+-----------+-----------------------------------------+
40+| language\_support | boolean | support language choosing |
41++----------------------+-----------+-----------------------------------------+
42+| time\_range\_support | boolean | support search time range |
43++----------------------+-----------+-----------------------------------------+
4244
4345settings.yml
4446~~~~~~~~~~~~
@@ -186,126 +188,126 @@ To set another media-type as default, the parameter
186188default
187189~~~~~~~
188190
189−+--------------------+------------------------------------------------------------------------------------------------------------------------------------+
190−| result-parameter | information |
191−+====================+====================================================================================================================================+
192−| url | string, which is representing the url of the result |
193−+--------------------+------------------------------------------------------------------------------------------------------------------------------------+
194−| title | string, which is representing the title of the result |
195−+--------------------+------------------------------------------------------------------------------------------------------------------------------------+
196−| content | string, which is giving a general result-text |
197−+--------------------+------------------------------------------------------------------------------------------------------------------------------------+
198−| publishedDate | `datetime.datetime <https://docs.python.org/2/library/datetime.html#datetime-objects>`__, represent when the result is published |
199−+--------------------+------------------------------------------------------------------------------------------------------------------------------------+
191++--------------------+---------------------------------------------------------------------------------------------------------------+
192+| result-parameter | information |
193++====================+===============================================================================================================+
194+| url | string, url of the result |
195++--------------------+---------------------------------------------------------------------------------------------------------------+
196+| title | string, title of the result |
197++--------------------+---------------------------------------------------------------------------------------------------------------+
198+| content | string, general result-text |
199++--------------------+---------------------------------------------------------------------------------------------------------------+
200+| publishedDate | `datetime.datetime <https://docs.python.org/2/library/datetime.html#datetime-objects>`__, time of publish |
201++--------------------+---------------------------------------------------------------------------------------------------------------+
200202
201203images
202204~~~~~~
203205
204206to use this template, the parameter
205207
206−+--------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
207−| result-parameter | information |
208−+====================+===========================================================================================================================================================+
209−| template | is set to ``images.html`` |
210−+--------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
211−| url | string, which is representing the url to the result site |
212−+--------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
213−| title | string, which is representing the title of the result *(partly implemented)* |
214−+--------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
215−| content | *(partly implemented)* |
216−+--------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
217−| publishedDate | `datetime.datetime <https://docs.python.org/2/library/datetime.html#datetime-objects>`__, represent when the result is published *(partly implemented)* |
218−+--------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
219−| img\_src | string, which is representing the url to the result image |
220−+--------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
221−| thumbnail\_src | string, which is representing the url to a small-preview image |
222−+--------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
208++--------------------+---------------------------------------------------------------------------------------------------------------------------------------+
209+| result-parameter | information |
210++====================+=======================================================================================================================================+
211+| template | is set to ``images.html`` |
212++--------------------+---------------------------------------------------------------------------------------------------------------------------------------+
213+| url | string, url to the result site |
214++--------------------+---------------------------------------------------------------------------------------------------------------------------------------+
215+| title | string, title of the result *(partly implemented)* |
216++--------------------+---------------------------------------------------------------------------------------------------------------------------------------+
217+| content | *(partly implemented)* |
218++--------------------+---------------------------------------------------------------------------------------------------------------------------------------+
219+| publishedDate | `datetime.datetime <https://docs.python.org/2/library/datetime.html#datetime-objects>`__, time of publish *(partly implemented)* |
220++--------------------+---------------------------------------------------------------------------------------------------------------------------------------+
221+| img\_src | string, url to the result image |
222++--------------------+---------------------------------------------------------------------------------------------------------------------------------------+
223+| thumbnail\_src | string, url to a small-preview image |
224++--------------------+---------------------------------------------------------------------------------------------------------------------------------------+
223225
224226videos
225227~~~~~~
226228
227−+--------------------+------------------------------------------------------------------------------------------------------------------------------------+
228−| result-parameter | information |
229−+====================+====================================================================================================================================+
230−| template | is set to ``videos.html`` |
231−+--------------------+------------------------------------------------------------------------------------------------------------------------------------+
232−| url | string, which is representing the url of the result |
233−+--------------------+------------------------------------------------------------------------------------------------------------------------------------+
234−| title | string, which is representing the title of the result |
235−+--------------------+------------------------------------------------------------------------------------------------------------------------------------+
236−| content | *(not implemented yet)* |
237−+--------------------+------------------------------------------------------------------------------------------------------------------------------------+
238−| publishedDate | `datetime.datetime <https://docs.python.org/2/library/datetime.html#datetime-objects>`__, represent when the result is published |
239−+--------------------+------------------------------------------------------------------------------------------------------------------------------------+
240−| thumbnail | string, which is representing the url to a small-preview image |
241−+--------------------+------------------------------------------------------------------------------------------------------------------------------------+
229++--------------------+--------------------------------------------------------------------------------------------------------------+
230+| result-parameter | information |
231++====================+==============================================================================================================+
232+| template | is set to ``videos.html`` |
233++--------------------+--------------------------------------------------------------------------------------------------------------+
234+| url | string, url of the result |
235++--------------------+--------------------------------------------------------------------------------------------------------------+
236+| title | string, title of the result |
237++--------------------+--------------------------------------------------------------------------------------------------------------+
238+| content | *(not implemented yet)* |
239++--------------------+--------------------------------------------------------------------------------------------------------------+
240+| publishedDate | `datetime.datetime <https://docs.python.org/2/library/datetime.html#datetime-objects>`__, time of publish |
241++--------------------+--------------------------------------------------------------------------------------------------------------+
242+| thumbnail | string, url to a small-preview image |
243++--------------------+--------------------------------------------------------------------------------------------------------------+
242244
243245torrent
244246~~~~~~~
245247
246−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
247−| result-parameter | information |
248−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
249−| template | is set to ```torrent.html``` |
250−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
251−| url | string, which is representing the url of the result |
252−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
253−| title | string, which is representing the title of the result |
254−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
255−| content | string, which is giving a general result-text |
256−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
257−| publishedDate | `datetime.datetime <https://docs.python.org/2/library/datetime.html#datetime-objects>`__, represent when the result is published *(not implemented yet)* |
258−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
259−| seed | int, number of seeder |
260−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
261−| leech | int, number of leecher |
262−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
263−| filesize | int, size of file in bytes |
264−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
265−| files | int, number of files |
266−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
267−| magnetlink | string, which is the `magnetlink <https://en.wikipedia.org/wiki/Magnet_URI_scheme>`__ of the result |
268−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
269−| torrentfile | string, which is the torrentfile of the result |
270−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
248++------------------+---------------------------------------------------------------------------------------------------------------------------------------+
249+| result-parameter | information |
250++==================+=======================================================================================================================================+
251+| template | is set to ``torrent.html`` |
252++------------------+---------------------------------------------------------------------------------------------------------------------------------------+
253+| url | string, url of the result |
254++------------------+---------------------------------------------------------------------------------------------------------------------------------------+
255+| title | string, title of the result |
256++------------------+---------------------------------------------------------------------------------------------------------------------------------------+
257+| content | string, general result-text |
258++------------------+---------------------------------------------------------------------------------------------------------------------------------------+
259+| publishedDate | `datetime.datetime <https://docs.python.org/2/library/datetime.html#datetime-objects>`__, time of publish *(not implemented yet)* |
260++------------------+---------------------------------------------------------------------------------------------------------------------------------------+
261+| seed | int, number of seeder |
262++------------------+---------------------------------------------------------------------------------------------------------------------------------------+
263+| leech | int, number of leecher |
264++------------------+---------------------------------------------------------------------------------------------------------------------------------------+
265+| filesize | int, size of file in bytes |
266++------------------+---------------------------------------------------------------------------------------------------------------------------------------+
267+| files | int, number of files |
268++------------------+---------------------------------------------------------------------------------------------------------------------------------------+
269+| magnetlink | string, `magnetlink <https://en.wikipedia.org/wiki/Magnet_URI_scheme>`__ of the result |
270++------------------+---------------------------------------------------------------------------------------------------------------------------------------+
271+| torrentfile | string, torrentfile of the result |
272++------------------+---------------------------------------------------------------------------------------------------------------------------------------+
271273
272274
273275map
274276~~~
275277
276−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
277−| result-parameter | information |
278−+=========================+====================================================================================================================================+
279−| url | string, which is representing the url of the result |
280−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
281−| title | string, which is representing the title of the result |
282−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
283−| content | string, which is giving a general result-text |
284−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
285−| publishedDate | `datetime.datetime <https://docs.python.org/2/library/datetime.html#datetime-objects>`__, represent when the result is published |
286−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
287−| latitude | latitude of result (in decimal format) |
288−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
289−| longitude | longitude of result (in decimal format) |
290−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
291−| boundingbox | boundingbox of result (array of 4. values ``[lat-min, lat-max, lon-min, lon-max]``) |
292−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
293−| geojson | geojson of result (http://geojson.org) |
294−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
295−| osm.type | type of osm-object (if OSM-Result) |
296−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
297−| osm.id | id of osm-object (if OSM-Result) |
298−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
299−| address.name | name of object |
300−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
301−| address.road | street adress of object |
302−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
303−| address.house\_number | house number of object |
304−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
305−| address.locality | city, place of object |
306−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
307−| address.postcode | postcode of object |
308−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
309−| address.country | country of object |
310−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
278++-------------------------+--------------------------------------------------------------------------------------------------------------+
279+| result-parameter | information |
280++=========================+==============================================================================================================+
281+| url | string, url of the result |
282++-------------------------+--------------------------------------------------------------------------------------------------------------+
283+| title | string, title of the result |
284++-------------------------+--------------------------------------------------------------------------------------------------------------+
285+| content | string, general result-text |
286++-------------------------+--------------------------------------------------------------------------------------------------------------+
287+| publishedDate | `datetime.datetime <https://docs.python.org/2/library/datetime.html#datetime-objects>`__, time of publish |
288++-------------------------+--------------------------------------------------------------------------------------------------------------+
289+| latitude | latitude of result (in decimal format) |
290++-------------------------+--------------------------------------------------------------------------------------------------------------+
291+| longitude | longitude of result (in decimal format) |
292++-------------------------+--------------------------------------------------------------------------------------------------------------+
293+| boundingbox | boundingbox of result (array of 4. values ``[lat-min, lat-max, lon-min, lon-max]``) |
294++-------------------------+--------------------------------------------------------------------------------------------------------------+
295+| geojson | geojson of result (http://geojson.org) |
296++-------------------------+--------------------------------------------------------------------------------------------------------------+
297+| osm.type | type of osm-object (if OSM-Result) |
298++-------------------------+--------------------------------------------------------------------------------------------------------------+
299+| osm.id | id of osm-object (if OSM-Result) |
300++-------------------------+--------------------------------------------------------------------------------------------------------------+
301+| address.name | name of object |
302++-------------------------+--------------------------------------------------------------------------------------------------------------+
303+| address.road | street name of object |
304++-------------------------+--------------------------------------------------------------------------------------------------------------+
305+| address.house\_number | house number of object |
306++-------------------------+--------------------------------------------------------------------------------------------------------------+
307+| address.locality | city, place of object |
308++-------------------------+--------------------------------------------------------------------------------------------------------------+
309+| address.postcode | postcode of object |
310++-------------------------+--------------------------------------------------------------------------------------------------------------+
311+| address.country | country of object |
312++-------------------------+--------------------------------------------------------------------------------------------------------------+
311313
_sources/dev/plugins.txt+1−1
@@ -11,7 +11,7 @@ Example plugin
1111
1212 name = 'Example plugin'
1313 description = 'This plugin extends the suggestions with the word "example"'
14− default_on = False # disable by default
14+ default_on = False # disabled by default
1515
1616 js_dependencies = tuple() # optional, list of static js files
1717 css_dependencies = tuple() # optional, list of static css files
_sources/index.txt+2−1
@@ -16,7 +16,7 @@ Features
1616 - No user tracking
1717 - No user profiling
1818 - About 70 supported search engines
19− - Easy intergration with any search engines
19+ - Easy integration with any search engine
2020 - Cookies are not used by default
2121 - Secure, encrypted connections (HTTPS/SSL)
2222 - Hosted by organisations, such as La Quadrature du Net, which promote digital rights
@@ -29,6 +29,7 @@ User documentation
2929 :maxdepth: 1
3030
3131 user/search_syntax
32+ user/own-instance
3233
3334Administrator documentation
3435---------------------------
_sources/user/own-instance.txtnew file+43
@@ -0,0 +1,43 @@
1+Why use a private instance?
2+===========================
3+
4+"Is it worth to run my own instance?" is a common question among searx users. Before answering this question, see what options a searx user has.
5+
6+Public instances are open to everyone who has access to its URL. Usually, these are operated by unknown parties (from the users' point of view). Private instances can be used by a select group of people. It is for example a searx of group of friends or a company which can be accessed through VPN. Also it can be single user one which runs on the user's laptop.
7+
8+To gain more insight on how these instances work let's dive into how searx protects its users.
9+
10+How does searx protect privacy?
11+-------------------------------
12+
13+Searx protects the privacy of its users in multiple ways regardless of the type of the instance (private, public). Removal of private data from search requests comes in three forms:
14+
15+ 1. removal of private data from requests going to search services
16+ 2. not forwarding anything from a third party services through search services (e.g. advertisement)
17+ 3. removal of private data from requests going to the result pages
18+
19+Removing private data means not sending cookies to external search engines and generating a random browser profile for every request. Thus, it does not matter if a public or private instance handles the request, because it is anonymized in both cases. IP addresses will be the IP of the instance. But searx can be configured to use proxy or Tor. `Result proxy <https://github.com/asciimoo/morty>`__ is supported, too.
20+
21+Searx does not serve adds or tracking content unlike most search services. So private data is not forwarded to third parties who might monetize it. Besides protecting users from search services, both referring page and search query are hidden from visited result pages.
22+
23+What are the consequences of using public instances?
24+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
25+
26+If someone uses a public instance, he/she has to trust the administrator of that instance.
27+This means that the user of the public instance does not know whether his/her requests are logged, aggregated and sent or sold to a third party.
28+
29+Also, public instances without proper protection are more vulnerable to abusing the search service, In this case the external service in exchange returns CAPTCHAs or bans the IP of the instance. Thus, search requests return less results.
30+
31+I see. What about private instances?
32+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33+
34+If users run their own instances, everything is in their control: the source code, logging settings and private data. Unknown instance administrators do not have to be trusted.
35+
36+Furthermore, as the default settings of their instance is editable, there is no need to use cookies to tailor searx to their needs. So preferences will not be reset to defaults when clearing browser cookies. As settings are stored on their computer, it will not be accessible to others as long as their computer is not compromised.
37+
38+Conclusion
39+----------
40+
41+Always use an instance which is operated by people you trust. The privacy features of searx are available to users no matter what kind of instance they use.
42+
43+If someone is on the go or just wants to try searx for the first time public instances are the best choices. Additionally, public instance are making a world a better place, because those who cannot or do not want to run an instance, have access to a privacy respecting search service.
_static/basic.css+7
@@ -494,6 +494,13 @@ pre {
494494 overflow-y: hidden; /* fixes display issues on Chrome browsers */
495495}
496496
497+span.pre {
498+ -moz-hyphens: none;
499+ -ms-hyphens: none;
500+ -webkit-hyphens: none;
501+ hyphens: none;
502+}
503+
497504td.linenos pre {
498505 padding: 5px 0px;
499506 border: 0;
_static/pygments.css+2
@@ -4,8 +4,10 @@
44.highlight .err { border: 1px solid #FF0000 } /* Error */
55.highlight .k { color: #007020; font-weight: bold } /* Keyword */
66.highlight .o { color: #666666 } /* Operator */
7+.highlight .ch { color: #408090; font-style: italic } /* Comment.Hashbang */
78.highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */
89.highlight .cp { color: #007020 } /* Comment.Preproc */
10+.highlight .cpf { color: #408090; font-style: italic } /* Comment.PreprocFile */
911.highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */
1012.highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */
1113.highlight .gd { color: #A00000 } /* Generic.Deleted */
_static/searchtools.js+1−1
@@ -324,7 +324,7 @@ var Search = {
324324 var searchterms = [];
325325 var excluded = [];
326326 var hlterms = [];
327− var tmp = query.split(/\s+/);
327+ var tmp = query.split(/\W+/);
328328 var objectterms = [];
329329 for (i = 0; i < tmp.length; i++) {
330330 if (tmp[i] !== "") {
admin/api.html+47−45
@@ -6,7 +6,7 @@
66 <head>
77 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
9− <title>Administration API &mdash; searx 0.9.0 documentation</title>
9+ <title>Administration API &#8212; searx 0.10.0 documentation</title>
1010
1111 <link rel="stylesheet" href="../_static/style.css" type="text/css" />
1212 <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
1414 <script type="text/javascript">
1515 var DOCUMENTATION_OPTIONS = {
1616 URL_ROOT: '../',
17− VERSION: '0.9.0',
17+ VERSION: '0.10.0',
1818 COLLAPSE_INDEX: false,
1919 FILE_SUFFIX: '.html',
2020 HAS_SOURCE: true
@@ -23,8 +23,10 @@
2323 <script type="text/javascript" src="../_static/jquery.js"></script>
2424 <script type="text/javascript" src="../_static/underscore.js"></script>
2525 <script type="text/javascript" src="../_static/doctools.js"></script>
26− <link rel="top" title="searx 0.9.0 documentation" href="../index.html" />
27− <link rel="next" title="Development Quickstart" href="../dev/quickstart.html" />
26+ <link rel="index" title="Index" href="../genindex.html" />
27+ <link rel="search" title="Search" href="../search.html" />
28+ <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
29+ <link rel="next" title="How to protect an instance" href="filtron.html" />
2830 <link rel="prev" title="Installation" href="../dev/install/installation.html" />
2931
3032
@@ -43,71 +45,71 @@
4345<span id="adminapi"></span><h1>Administration API<a class="headerlink" href="#administration-api" title="Permalink to this headline">¶</a></h1>
4446<div class="section" id="get-configuration-data">
4547<h2>Get configuration data<a class="headerlink" href="#get-configuration-data" title="Permalink to this headline">¶</a></h2>
46−<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">GET</span> <span class="o">/</span><span class="n">config</span>
48+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">GET</span> <span class="o">/</span><span class="n">config</span>
4749</pre></div>
4850</div>
4951<div class="section" id="sample-response">
5052<h3>Sample response<a class="headerlink" href="#sample-response" title="Permalink to this headline">¶</a></h3>
51−<div class="code sh highlight-default"><div class="highlight"><pre><span class="p">{</span>
52− <span class="s">&quot;autocomplete&quot;</span><span class="p">:</span> <span class="s">&quot;&quot;</span><span class="p">,</span>
53− <span class="s">&quot;categories&quot;</span><span class="p">:</span> <span class="p">[</span>
54− <span class="s">&quot;map&quot;</span><span class="p">,</span>
55− <span class="s">&quot;it&quot;</span><span class="p">,</span>
56− <span class="s">&quot;images&quot;</span><span class="p">,</span>
53+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="p">{</span>
54+ <span class="s2">&quot;autocomplete&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
55+ <span class="s2">&quot;categories&quot;</span><span class="p">:</span> <span class="p">[</span>
56+ <span class="s2">&quot;map&quot;</span><span class="p">,</span>
57+ <span class="s2">&quot;it&quot;</span><span class="p">,</span>
58+ <span class="s2">&quot;images&quot;</span><span class="p">,</span>
5759 <span class="p">],</span>
58− <span class="s">&quot;default_locale&quot;</span><span class="p">:</span> <span class="s">&quot;&quot;</span><span class="p">,</span>
59− <span class="s">&quot;default_theme&quot;</span><span class="p">:</span> <span class="s">&quot;oscar&quot;</span><span class="p">,</span>
60− <span class="s">&quot;engines&quot;</span><span class="p">:</span> <span class="p">[</span>
60+ <span class="s2">&quot;default_locale&quot;</span><span class="p">:</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
61+ <span class="s2">&quot;default_theme&quot;</span><span class="p">:</span> <span class="s2">&quot;oscar&quot;</span><span class="p">,</span>
62+ <span class="s2">&quot;engines&quot;</span><span class="p">:</span> <span class="p">[</span>
6163 <span class="p">{</span>
62− <span class="s">&quot;categories&quot;</span><span class="p">:</span> <span class="p">[</span>
63− <span class="s">&quot;map&quot;</span>
64+ <span class="s2">&quot;categories&quot;</span><span class="p">:</span> <span class="p">[</span>
65+ <span class="s2">&quot;map&quot;</span>
6466 <span class="p">],</span>
65− <span class="s">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
66− <span class="s">&quot;name&quot;</span><span class="p">:</span> <span class="s">&quot;openstreetmap&quot;</span><span class="p">,</span>
67− <span class="s">&quot;shortcut&quot;</span><span class="p">:</span> <span class="s">&quot;osm&quot;</span>
67+ <span class="s2">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
68+ <span class="s2">&quot;name&quot;</span><span class="p">:</span> <span class="s2">&quot;openstreetmap&quot;</span><span class="p">,</span>
69+ <span class="s2">&quot;shortcut&quot;</span><span class="p">:</span> <span class="s2">&quot;osm&quot;</span>
6870 <span class="p">},</span>
6971 <span class="p">{</span>
70− <span class="s">&quot;categories&quot;</span><span class="p">:</span> <span class="p">[</span>
71− <span class="s">&quot;it&quot;</span>
72+ <span class="s2">&quot;categories&quot;</span><span class="p">:</span> <span class="p">[</span>
73+ <span class="s2">&quot;it&quot;</span>
7274 <span class="p">],</span>
73− <span class="s">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
74− <span class="s">&quot;name&quot;</span><span class="p">:</span> <span class="s">&quot;arch linux wiki&quot;</span><span class="p">,</span>
75− <span class="s">&quot;shortcut&quot;</span><span class="p">:</span> <span class="s">&quot;al&quot;</span>
75+ <span class="s2">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
76+ <span class="s2">&quot;name&quot;</span><span class="p">:</span> <span class="s2">&quot;arch linux wiki&quot;</span><span class="p">,</span>
77+ <span class="s2">&quot;shortcut&quot;</span><span class="p">:</span> <span class="s2">&quot;al&quot;</span>
7678 <span class="p">},</span>
7779 <span class="p">{</span>
78− <span class="s">&quot;categories&quot;</span><span class="p">:</span> <span class="p">[</span>
79− <span class="s">&quot;images&quot;</span>
80+ <span class="s2">&quot;categories&quot;</span><span class="p">:</span> <span class="p">[</span>
81+ <span class="s2">&quot;images&quot;</span>
8082 <span class="p">],</span>
81− <span class="s">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
82− <span class="s">&quot;name&quot;</span><span class="p">:</span> <span class="s">&quot;google images&quot;</span><span class="p">,</span>
83− <span class="s">&quot;shortcut&quot;</span><span class="p">:</span> <span class="s">&quot;goi&quot;</span>
83+ <span class="s2">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
84+ <span class="s2">&quot;name&quot;</span><span class="p">:</span> <span class="s2">&quot;google images&quot;</span><span class="p">,</span>
85+ <span class="s2">&quot;shortcut&quot;</span><span class="p">:</span> <span class="s2">&quot;goi&quot;</span>
8486 <span class="p">},</span>
8587 <span class="p">{</span>
86− <span class="s">&quot;categories&quot;</span><span class="p">:</span> <span class="p">[</span>
87− <span class="s">&quot;it&quot;</span>
88+ <span class="s2">&quot;categories&quot;</span><span class="p">:</span> <span class="p">[</span>
89+ <span class="s2">&quot;it&quot;</span>
8890 <span class="p">],</span>
89− <span class="s">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
90− <span class="s">&quot;name&quot;</span><span class="p">:</span> <span class="s">&quot;bitbucket&quot;</span><span class="p">,</span>
91− <span class="s">&quot;shortcut&quot;</span><span class="p">:</span> <span class="s">&quot;bb&quot;</span>
91+ <span class="s2">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
92+ <span class="s2">&quot;name&quot;</span><span class="p">:</span> <span class="s2">&quot;bitbucket&quot;</span><span class="p">,</span>
93+ <span class="s2">&quot;shortcut&quot;</span><span class="p">:</span> <span class="s2">&quot;bb&quot;</span>
9294 <span class="p">},</span>
9395 <span class="p">],</span>
94− <span class="s">&quot;instance_name&quot;</span><span class="p">:</span> <span class="s">&quot;searx&quot;</span><span class="p">,</span>
95− <span class="s">&quot;locales&quot;</span><span class="p">:</span> <span class="p">{</span>
96− <span class="s">&quot;de&quot;</span><span class="p">:</span> <span class="s">&quot;Deutsch (German)&quot;</span><span class="p">,</span>
97− <span class="s">&quot;en&quot;</span><span class="p">:</span> <span class="s">&quot;English&quot;</span><span class="p">,</span>
98− <span class="s">&quot;eo&quot;</span><span class="p">:</span> <span class="s">&quot;Esperanto (Esperanto)&quot;</span><span class="p">,</span>
96+ <span class="s2">&quot;instance_name&quot;</span><span class="p">:</span> <span class="s2">&quot;searx&quot;</span><span class="p">,</span>
97+ <span class="s2">&quot;locales&quot;</span><span class="p">:</span> <span class="p">{</span>
98+ <span class="s2">&quot;de&quot;</span><span class="p">:</span> <span class="s2">&quot;Deutsch (German)&quot;</span><span class="p">,</span>
99+ <span class="s2">&quot;en&quot;</span><span class="p">:</span> <span class="s2">&quot;English&quot;</span><span class="p">,</span>
100+ <span class="s2">&quot;eo&quot;</span><span class="p">:</span> <span class="s2">&quot;Esperanto (Esperanto)&quot;</span><span class="p">,</span>
99101 <span class="p">},</span>
100− <span class="s">&quot;plugins&quot;</span><span class="p">:</span> <span class="p">[</span>
102+ <span class="s2">&quot;plugins&quot;</span><span class="p">:</span> <span class="p">[</span>
101103 <span class="p">{</span>
102− <span class="s">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
103− <span class="s">&quot;name&quot;</span><span class="p">:</span> <span class="s">&quot;HTTPS rewrite&quot;</span>
104+ <span class="s2">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
105+ <span class="s2">&quot;name&quot;</span><span class="p">:</span> <span class="s2">&quot;HTTPS rewrite&quot;</span>
104106 <span class="p">},</span>
105107 <span class="p">{</span>
106− <span class="s">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
107− <span class="s">&quot;name&quot;</span><span class="p">:</span> <span class="s">&quot;Vim-like hotkeys&quot;</span>
108+ <span class="s2">&quot;enabled&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
109+ <span class="s2">&quot;name&quot;</span><span class="p">:</span> <span class="s2">&quot;Vim-like hotkeys&quot;</span>
108110 <span class="p">}</span>
109111 <span class="p">],</span>
110− <span class="s">&quot;safe_search&quot;</span><span class="p">:</span> <span class="mi">0</span>
112+ <span class="s2">&quot;safe_search&quot;</span><span class="p">:</span> <span class="mi">0</span>
111113<span class="p">}</span>
112114</pre></div>
113115</div>
admin/filtron.html+3−3
@@ -6,7 +6,7 @@
66 <head>
77 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
9− <title>How to protect an instance &#8212; searx 0.9.0 documentation</title>
9+ <title>How to protect an instance &#8212; searx 0.10.0 documentation</title>
1010
1111 <link rel="stylesheet" href="../_static/style.css" type="text/css" />
1212 <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
1414 <script type="text/javascript">
1515 var DOCUMENTATION_OPTIONS = {
1616 URL_ROOT: '../',
17− VERSION: '0.9.0',
17+ VERSION: '0.10.0',
1818 COLLAPSE_INDEX: false,
1919 FILE_SUFFIX: '.html',
2020 HAS_SOURCE: true
@@ -25,7 +25,7 @@
2525 <script type="text/javascript" src="../_static/doctools.js"></script>
2626 <link rel="index" title="Index" href="../genindex.html" />
2727 <link rel="search" title="Search" href="../search.html" />
28− <link rel="top" title="searx 0.9.0 documentation" href="../index.html" />
28+ <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
2929 <link rel="next" title="Development Quickstart" href="../dev/quickstart.html" />
3030 <link rel="prev" title="Administration API" href="api.html" />
3131
dev/contribution_guide.html+5−3
@@ -6,7 +6,7 @@
66 <head>
77 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
9− <title>How to contribute &mdash; searx 0.9.0 documentation</title>
9+ <title>How to contribute &#8212; searx 0.10.0 documentation</title>
1010
1111 <link rel="stylesheet" href="../_static/style.css" type="text/css" />
1212 <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
1414 <script type="text/javascript">
1515 var DOCUMENTATION_OPTIONS = {
1616 URL_ROOT: '../',
17− VERSION: '0.9.0',
17+ VERSION: '0.10.0',
1818 COLLAPSE_INDEX: false,
1919 FILE_SUFFIX: '.html',
2020 HAS_SOURCE: true
@@ -23,7 +23,9 @@
2323 <script type="text/javascript" src="../_static/jquery.js"></script>
2424 <script type="text/javascript" src="../_static/underscore.js"></script>
2525 <script type="text/javascript" src="../_static/doctools.js"></script>
26− <link rel="top" title="searx 0.9.0 documentation" href="../index.html" />
26+ <link rel="index" title="Index" href="../genindex.html" />
27+ <link rel="search" title="Search" href="../search.html" />
28+ <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
2729 <link rel="next" title="Engine overview" href="engine_overview.html" />
2830 <link rel="prev" title="Development Quickstart" href="quickstart.html" />
2931
dev/engine_overview.html+62−54
@@ -6,7 +6,7 @@
66 <head>
77 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
9− <title>Engine overview &mdash; searx 0.9.0 documentation</title>
9+ <title>Engine overview &#8212; searx 0.10.0 documentation</title>
1010
1111 <link rel="stylesheet" href="../_static/style.css" type="text/css" />
1212 <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
1414 <script type="text/javascript">
1515 var DOCUMENTATION_OPTIONS = {
1616 URL_ROOT: '../',
17− VERSION: '0.9.0',
17+ VERSION: '0.10.0',
1818 COLLAPSE_INDEX: false,
1919 FILE_SUFFIX: '.html',
2020 HAS_SOURCE: true
@@ -23,7 +23,9 @@
2323 <script type="text/javascript" src="../_static/jquery.js"></script>
2424 <script type="text/javascript" src="../_static/underscore.js"></script>
2525 <script type="text/javascript" src="../_static/doctools.js"></script>
26− <link rel="top" title="searx 0.9.0 documentation" href="../index.html" />
26+ <link rel="index" title="Index" href="../genindex.html" />
27+ <link rel="search" title="Search" href="../search.html" />
28+ <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
2729 <link rel="next" title="Search API" href="search_api.html" />
2830 <link rel="prev" title="How to contribute" href="contribution_guide.html" />
2931
@@ -88,9 +90,9 @@ settings. However, the standard way is the following:</p>
8890<h3><a class="toc-backref" href="#id4">engine file</a><a class="headerlink" href="#engine-file" title="Permalink to this headline">¶</a></h3>
8991<table border="1" class="docutils">
9092<colgroup>
91−<col width="29%" />
93+<col width="30%" />
9294<col width="15%" />
93−<col width="56%" />
95+<col width="55%" />
9496</colgroup>
9597<thead valign="bottom">
9698<tr class="row-odd"><th class="head">argument</th>
@@ -111,6 +113,10 @@ settings. However, the standard way is the following:</p>
111113<td>boolean</td>
112114<td>support language choosing</td>
113115</tr>
116+<tr class="row-odd"><td>time_range_support</td>
117+<td>boolean</td>
118+<td>support search time range</td>
119+</tr>
114120</tbody>
115121</table>
116122</div>
@@ -190,10 +196,10 @@ overrides are the following:</p>
190196</div>
191197<div class="section" id="example-code">
192198<h3><a class="toc-backref" href="#id7">example code</a><a class="headerlink" href="#example-code" title="Permalink to this headline">¶</a></h3>
193−<div class="code python highlight-default"><div class="highlight"><pre><span class="c"># engine dependent config</span>
194−<span class="n">categories</span> <span class="o">=</span> <span class="p">[</span><span class="s">&#39;general&#39;</span><span class="p">]</span>
195−<span class="n">paging</span> <span class="o">=</span> <span class="k">True</span>
196−<span class="n">language_support</span> <span class="o">=</span> <span class="k">True</span>
199+<div class="code python highlight-default"><div class="highlight"><pre><span></span><span class="c1"># engine dependent config</span>
200+<span class="n">categories</span> <span class="o">=</span> <span class="p">[</span><span class="s1">&#39;general&#39;</span><span class="p">]</span>
201+<span class="n">paging</span> <span class="o">=</span> <span class="kc">True</span>
202+<span class="n">language_support</span> <span class="o">=</span> <span class="kc">True</span>
197203</pre></div>
198204</div>
199205</div>
@@ -313,17 +319,17 @@ used to specify a search request:</p>
313319</div>
314320<div class="section" id="id1">
315321<h3><a class="toc-backref" href="#id11">example code</a><a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h3>
316−<div class="code python highlight-default"><div class="highlight"><pre><span class="c"># search-url</span>
317−<span class="n">base_url</span> <span class="o">=</span> <span class="s">&#39;https://example.com/&#39;</span>
318−<span class="n">search_string</span> <span class="o">=</span> <span class="s">&#39;search?{query}&amp;page={page}&#39;</span>
322+<div class="code python highlight-default"><div class="highlight"><pre><span></span><span class="c1"># search-url</span>
323+<span class="n">base_url</span> <span class="o">=</span> <span class="s1">&#39;https://example.com/&#39;</span>
324+<span class="n">search_string</span> <span class="o">=</span> <span class="s1">&#39;search?</span><span class="si">{query}</span><span class="s1">&amp;page=</span><span class="si">{page}</span><span class="s1">&#39;</span>
319325
320−<span class="c"># do search-request</span>
326+<span class="c1"># do search-request</span>
321327<span class="k">def</span> <span class="nf">request</span><span class="p">(</span><span class="n">query</span><span class="p">,</span> <span class="n">params</span><span class="p">):</span>
322328 <span class="n">search_path</span> <span class="o">=</span> <span class="n">search_string</span><span class="o">.</span><span class="n">format</span><span class="p">(</span>
323− <span class="n">query</span><span class="o">=</span><span class="n">urlencode</span><span class="p">({</span><span class="s">&#39;q&#39;</span><span class="p">:</span> <span class="n">query</span><span class="p">}),</span>
324− <span class="n">page</span><span class="o">=</span><span class="n">params</span><span class="p">[</span><span class="s">&#39;pageno&#39;</span><span class="p">])</span>
329+ <span class="n">query</span><span class="o">=</span><span class="n">urlencode</span><span class="p">({</span><span class="s1">&#39;q&#39;</span><span class="p">:</span> <span class="n">query</span><span class="p">}),</span>
330+ <span class="n">page</span><span class="o">=</span><span class="n">params</span><span class="p">[</span><span class="s1">&#39;pageno&#39;</span><span class="p">])</span>
325331
326− <span class="n">params</span><span class="p">[</span><span class="s">&#39;url&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="n">base_url</span> <span class="o">+</span> <span class="n">search_path</span>
332+ <span class="n">params</span><span class="p">[</span><span class="s1">&#39;url&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="n">base_url</span> <span class="o">+</span> <span class="n">search_path</span>
327333
328334 <span class="k">return</span> <span class="n">params</span>
329335</pre></div>
@@ -347,8 +353,8 @@ Currently the following media-types are supported:</p>
347353<h3><a class="toc-backref" href="#id13">default</a><a class="headerlink" href="#default" title="Permalink to this headline">¶</a></h3>
348354<table border="1" class="docutils">
349355<colgroup>
350−<col width="13%" />
351−<col width="87%" />
356+<col width="15%" />
357+<col width="85%" />
352358</colgroup>
353359<thead valign="bottom">
354360<tr class="row-odd"><th class="head">result-parameter</th>
@@ -357,16 +363,16 @@ Currently the following media-types are supported:</p>
357363</thead>
358364<tbody valign="top">
359365<tr class="row-even"><td>url</td>
360−<td>string, which is representing the url of the result</td>
366+<td>string, url of the result</td>
361367</tr>
362368<tr class="row-odd"><td>title</td>
363−<td>string, which is representing the title of the result</td>
369+<td>string, title of the result</td>
364370</tr>
365371<tr class="row-even"><td>content</td>
366−<td>string, which is giving a general result-text</td>
372+<td>string, general result-text</td>
367373</tr>
368374<tr class="row-odd"><td>publishedDate</td>
369−<td><a class="reference external" href="https://docs.python.org/2/library/datetime.html#datetime-objects">datetime.datetime</a>, represent when the result is published</td>
375+<td><a class="reference external" href="https://docs.python.org/2/library/datetime.html#datetime-objects">datetime.datetime</a>, time of publish</td>
370376</tr>
371377</tbody>
372378</table>
@@ -376,8 +382,8 @@ Currently the following media-types are supported:</p>
376382<p>to use this template, the parameter</p>
377383<table border="1" class="docutils">
378384<colgroup>
379−<col width="11%" />
380−<col width="89%" />
385+<col width="13%" />
386+<col width="87%" />
381387</colgroup>
382388<thead valign="bottom">
383389<tr class="row-odd"><th class="head">result-parameter</th>
@@ -389,22 +395,22 @@ Currently the following media-types are supported:</p>
389395<td>is set to <code class="docutils literal"><span class="pre">images.html</span></code></td>
390396</tr>
391397<tr class="row-odd"><td>url</td>
392−<td>string, which is representing the url to the result site</td>
398+<td>string, url to the result site</td>
393399</tr>
394400<tr class="row-even"><td>title</td>
395−<td>string, which is representing the title of the result <em>(partly implemented)</em></td>
401+<td>string, title of the result <em>(partly implemented)</em></td>
396402</tr>
397403<tr class="row-odd"><td>content</td>
398404<td><em>(partly implemented)</em></td>
399405</tr>
400406<tr class="row-even"><td>publishedDate</td>
401−<td><a class="reference external" href="https://docs.python.org/2/library/datetime.html#datetime-objects">datetime.datetime</a>, represent when the result is published <em>(partly implemented)</em></td>
407+<td><a class="reference external" href="https://docs.python.org/2/library/datetime.html#datetime-objects">datetime.datetime</a>, time of publish <em>(partly implemented)</em></td>
402408</tr>
403409<tr class="row-odd"><td>img_src</td>
404−<td>string, which is representing the url to the result image</td>
410+<td>string, url to the result image</td>
405411</tr>
406412<tr class="row-even"><td>thumbnail_src</td>
407−<td>string, which is representing the url to a small-preview image</td>
413+<td>string, url to a small-preview image</td>
408414</tr>
409415</tbody>
410416</table>
@@ -413,8 +419,8 @@ Currently the following media-types are supported:</p>
413419<h3><a class="toc-backref" href="#id15">videos</a><a class="headerlink" href="#videos" title="Permalink to this headline">¶</a></h3>
414420<table border="1" class="docutils">
415421<colgroup>
416−<col width="13%" />
417−<col width="87%" />
422+<col width="15%" />
423+<col width="85%" />
418424</colgroup>
419425<thead valign="bottom">
420426<tr class="row-odd"><th class="head">result-parameter</th>
@@ -426,19 +432,19 @@ Currently the following media-types are supported:</p>
426432<td>is set to <code class="docutils literal"><span class="pre">videos.html</span></code></td>
427433</tr>
428434<tr class="row-odd"><td>url</td>
429−<td>string, which is representing the url of the result</td>
435+<td>string, url of the result</td>
430436</tr>
431437<tr class="row-even"><td>title</td>
432−<td>string, which is representing the title of the result</td>
438+<td>string, title of the result</td>
433439</tr>
434440<tr class="row-odd"><td>content</td>
435441<td><em>(not implemented yet)</em></td>
436442</tr>
437443<tr class="row-even"><td>publishedDate</td>
438−<td><a class="reference external" href="https://docs.python.org/2/library/datetime.html#datetime-objects">datetime.datetime</a>, represent when the result is published</td>
444+<td><a class="reference external" href="https://docs.python.org/2/library/datetime.html#datetime-objects">datetime.datetime</a>, time of publish</td>
439445</tr>
440446<tr class="row-odd"><td>thumbnail</td>
441−<td>string, which is representing the url to a small-preview image</td>
447+<td>string, url to a small-preview image</td>
442448</tr>
443449</tbody>
444450</table>
@@ -447,27 +453,29 @@ Currently the following media-types are supported:</p>
447453<h3><a class="toc-backref" href="#id16">torrent</a><a class="headerlink" href="#torrent" title="Permalink to this headline">¶</a></h3>
448454<table border="1" class="docutils">
449455<colgroup>
450−<col width="10%" />
451−<col width="90%" />
456+<col width="12%" />
457+<col width="88%" />
452458</colgroup>
453−<tbody valign="top">
454−<tr class="row-odd"><td>result-parameter</td>
455−<td>information</td>
459+<thead valign="bottom">
460+<tr class="row-odd"><th class="head">result-parameter</th>
461+<th class="head">information</th>
456462</tr>
463+</thead>
464+<tbody valign="top">
457465<tr class="row-even"><td>template</td>
458−<td>is set to <code class="docutils literal"><span class="pre">`torrent.html`</span></code></td>
466+<td>is set to <code class="docutils literal"><span class="pre">torrent.html</span></code></td>
459467</tr>
460468<tr class="row-odd"><td>url</td>
461−<td>string, which is representing the url of the result</td>
469+<td>string, url of the result</td>
462470</tr>
463471<tr class="row-even"><td>title</td>
464−<td>string, which is representing the title of the result</td>
472+<td>string, title of the result</td>
465473</tr>
466474<tr class="row-odd"><td>content</td>
467−<td>string, which is giving a general result-text</td>
475+<td>string, general result-text</td>
468476</tr>
469477<tr class="row-even"><td>publishedDate</td>
470−<td><a class="reference external" href="https://docs.python.org/2/library/datetime.html#datetime-objects">datetime.datetime</a>, represent when the result is published <em>(not implemented yet)</em></td>
478+<td><a class="reference external" href="https://docs.python.org/2/library/datetime.html#datetime-objects">datetime.datetime</a>, time of publish <em>(not implemented yet)</em></td>
471479</tr>
472480<tr class="row-odd"><td>seed</td>
473481<td>int, number of seeder</td>
@@ -482,10 +490,10 @@ Currently the following media-types are supported:</p>
482490<td>int, number of files</td>
483491</tr>
484492<tr class="row-odd"><td>magnetlink</td>
485−<td>string, which is the <a class="reference external" href="https://en.wikipedia.org/wiki/Magnet_URI_scheme">magnetlink</a> of the result</td>
493+<td>string, <a class="reference external" href="https://en.wikipedia.org/wiki/Magnet_URI_scheme">magnetlink</a> of the result</td>
486494</tr>
487495<tr class="row-even"><td>torrentfile</td>
488−<td>string, which is the torrentfile of the result</td>
496+<td>string, torrentfile of the result</td>
489497</tr>
490498</tbody>
491499</table>
@@ -494,8 +502,8 @@ Currently the following media-types are supported:</p>
494502<h3><a class="toc-backref" href="#id17">map</a><a class="headerlink" href="#map" title="Permalink to this headline">¶</a></h3>
495503<table border="1" class="docutils">
496504<colgroup>
497−<col width="16%" />
498−<col width="84%" />
505+<col width="19%" />
506+<col width="81%" />
499507</colgroup>
500508<thead valign="bottom">
501509<tr class="row-odd"><th class="head">result-parameter</th>
@@ -504,16 +512,16 @@ Currently the following media-types are supported:</p>
504512</thead>
505513<tbody valign="top">
506514<tr class="row-even"><td>url</td>
507−<td>string, which is representing the url of the result</td>
515+<td>string, url of the result</td>
508516</tr>
509517<tr class="row-odd"><td>title</td>
510−<td>string, which is representing the title of the result</td>
518+<td>string, title of the result</td>
511519</tr>
512520<tr class="row-even"><td>content</td>
513−<td>string, which is giving a general result-text</td>
521+<td>string, general result-text</td>
514522</tr>
515523<tr class="row-odd"><td>publishedDate</td>
516−<td><a class="reference external" href="https://docs.python.org/2/library/datetime.html#datetime-objects">datetime.datetime</a>, represent when the result is published</td>
524+<td><a class="reference external" href="https://docs.python.org/2/library/datetime.html#datetime-objects">datetime.datetime</a>, time of publish</td>
517525</tr>
518526<tr class="row-even"><td>latitude</td>
519527<td>latitude of result (in decimal format)</td>
@@ -537,7 +545,7 @@ Currently the following media-types are supported:</p>
537545<td>name of object</td>
538546</tr>
539547<tr class="row-odd"><td>address.road</td>
540−<td>street adress of object</td>
548+<td>street name of object</td>
541549</tr>
542550<tr class="row-even"><td>address.house_number</td>
543551<td>house number of object</td>
dev/install/installation.html+38−36
@@ -6,7 +6,7 @@
66 <head>
77 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
9− <title>Installation &mdash; searx 0.9.0 documentation</title>
9+ <title>Installation &#8212; searx 0.10.0 documentation</title>
1010
1111 <link rel="stylesheet" href="../../_static/style.css" type="text/css" />
1212 <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
1414 <script type="text/javascript">
1515 var DOCUMENTATION_OPTIONS = {
1616 URL_ROOT: '../../',
17− VERSION: '0.9.0',
17+ VERSION: '0.10.0',
1818 COLLAPSE_INDEX: false,
1919 FILE_SUFFIX: '.html',
2020 HAS_SOURCE: true
@@ -23,7 +23,9 @@
2323 <script type="text/javascript" src="../../_static/jquery.js"></script>
2424 <script type="text/javascript" src="../../_static/underscore.js"></script>
2525 <script type="text/javascript" src="../../_static/doctools.js"></script>
26− <link rel="top" title="searx 0.9.0 documentation" href="../../index.html" />
26+ <link rel="index" title="Index" href="../../genindex.html" />
27+ <link rel="search" title="Search" href="../../search.html" />
28+ <link rel="top" title="searx 0.10.0 documentation" href="../../index.html" />
2729 <link rel="next" title="Administration API" href="../../admin/api.html" />
2830 <link rel="prev" title="Search syntax" href="../../user/search_syntax.html" />
2931
@@ -68,18 +70,18 @@ certificate</a></p>
6870<h2><a class="toc-backref" href="#id4">Basic installation</a><a class="headerlink" href="#basic-installation" title="Permalink to this headline">¶</a></h2>
6971<p>For Ubuntu, be sure to have enable universe repository.</p>
7072<p>Install packages:</p>
71−<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">git</span> <span class="n">build</span><span class="o">-</span><span class="n">essential</span> <span class="n">libxslt</span><span class="o">-</span><span class="n">dev</span> <span class="n">python</span><span class="o">-</span><span class="n">dev</span> <span class="n">python</span><span class="o">-</span><span class="n">virtualenv</span> <span class="n">python</span><span class="o">-</span><span class="n">pybabel</span> <span class="n">zlib1g</span><span class="o">-</span><span class="n">dev</span> <span class="n">libffi</span><span class="o">-</span><span class="n">dev</span> <span class="n">libssl</span><span class="o">-</span><span class="n">dev</span>
73+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">git</span> <span class="n">build</span><span class="o">-</span><span class="n">essential</span> <span class="n">libxslt</span><span class="o">-</span><span class="n">dev</span> <span class="n">python</span><span class="o">-</span><span class="n">dev</span> <span class="n">python</span><span class="o">-</span><span class="n">virtualenv</span> <span class="n">python</span><span class="o">-</span><span class="n">pybabel</span> <span class="n">zlib1g</span><span class="o">-</span><span class="n">dev</span> <span class="n">libffi</span><span class="o">-</span><span class="n">dev</span> <span class="n">libssl</span><span class="o">-</span><span class="n">dev</span>
7274</pre></div>
7375</div>
7476<p>Install searx:</p>
75−<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">cd</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span>
77+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">cd</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span>
7678<span class="n">sudo</span> <span class="n">git</span> <span class="n">clone</span> <span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">github</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">asciimoo</span><span class="o">/</span><span class="n">searx</span><span class="o">.</span><span class="n">git</span>
7779<span class="n">sudo</span> <span class="n">useradd</span> <span class="n">searx</span> <span class="o">-</span><span class="n">d</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span>
7880<span class="n">sudo</span> <span class="n">chown</span> <span class="n">searx</span><span class="p">:</span><span class="n">searx</span> <span class="o">-</span><span class="n">R</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span>
7981</pre></div>
8082</div>
8183<p>Install dependencies in a virtualenv:</p>
82−<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="o">-</span><span class="n">u</span> <span class="n">searx</span> <span class="o">-</span><span class="n">i</span>
84+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="o">-</span><span class="n">u</span> <span class="n">searx</span> <span class="o">-</span><span class="n">i</span>
8385<span class="n">cd</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span>
8486<span class="n">virtualenv</span> <span class="n">searx</span><span class="o">-</span><span class="n">ve</span>
8587<span class="o">.</span> <span class="o">./</span><span class="n">searx</span><span class="o">-</span><span class="n">ve</span><span class="o">/</span><span class="nb">bin</span><span class="o">/</span><span class="n">activate</span>
@@ -89,7 +91,7 @@ certificate</a></p>
8991</div>
9092<div class="section" id="configuration">
9193<h2><a class="toc-backref" href="#id5">Configuration</a><a class="headerlink" href="#configuration" title="Permalink to this headline">¶</a></h2>
92−<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sed</span> <span class="o">-</span><span class="n">i</span> <span class="o">-</span><span class="n">e</span> <span class="s">&quot;s/ultrasecretkey/`openssl rand -hex 16`/g&quot;</span> <span class="n">searx</span><span class="o">/</span><span class="n">settings</span><span class="o">.</span><span class="n">yml</span>
94+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sed</span> <span class="o">-</span><span class="n">i</span> <span class="o">-</span><span class="n">e</span> <span class="s2">&quot;s/ultrasecretkey/`openssl rand -hex 16`/g&quot;</span> <span class="n">searx</span><span class="o">/</span><span class="n">settings</span><span class="o">.</span><span class="n">yml</span>
9395</pre></div>
9496</div>
9597<p>Edit searx/settings.yml if necessary.</p>
@@ -97,12 +99,12 @@ certificate</a></p>
9799<div class="section" id="check">
98100<h2><a class="toc-backref" href="#id6">Check</a><a class="headerlink" href="#check" title="Permalink to this headline">¶</a></h2>
99101<p>Start searx:</p>
100−<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">python</span> <span class="n">searx</span><span class="o">/</span><span class="n">webapp</span><span class="o">.</span><span class="n">py</span>
102+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">python</span> <span class="n">searx</span><span class="o">/</span><span class="n">webapp</span><span class="o">.</span><span class="n">py</span>
101103</pre></div>
102104</div>
103105<p>Go to <a class="reference external" href="http://localhost:8888">http://localhost:8888</a></p>
104106<p>If everything works fine, disable the debug option in settings.yml:</p>
105−<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sed</span> <span class="o">-</span><span class="n">i</span> <span class="o">-</span><span class="n">e</span> <span class="s">&quot;s/debug : True/debug : False/g&quot;</span> <span class="n">searx</span><span class="o">/</span><span class="n">settings</span><span class="o">.</span><span class="n">yml</span>
107+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sed</span> <span class="o">-</span><span class="n">i</span> <span class="o">-</span><span class="n">e</span> <span class="s2">&quot;s/debug : True/debug : False/g&quot;</span> <span class="n">searx</span><span class="o">/</span><span class="n">settings</span><span class="o">.</span><span class="n">yml</span>
106108</pre></div>
107109</div>
108110<p>At this point searx is not demonized ; uwsgi allows this.</p>
@@ -112,41 +114,41 @@ twice).</p>
112114<div class="section" id="uwsgi">
113115<h2><a class="toc-backref" href="#id7">uwsgi</a><a class="headerlink" href="#uwsgi" title="Permalink to this headline">¶</a></h2>
114116<p>Install packages:</p>
115−<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">uwsgi</span> <span class="n">uwsgi</span><span class="o">-</span><span class="n">plugin</span><span class="o">-</span><span class="n">python</span>
117+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">uwsgi</span> <span class="n">uwsgi</span><span class="o">-</span><span class="n">plugin</span><span class="o">-</span><span class="n">python</span>
116118</pre></div>
117119</div>
118120<p>Create the configuration file /etc/uwsgi/apps-available/searx.ini with
119121this content:</p>
120−<div class="highlight-default"><div class="highlight"><pre><span class="p">[</span><span class="n">uwsgi</span><span class="p">]</span>
121−<span class="c"># Who will run the code</span>
122+<div class="highlight-default"><div class="highlight"><pre><span></span><span class="p">[</span><span class="n">uwsgi</span><span class="p">]</span>
123+<span class="c1"># Who will run the code</span>
122124<span class="n">uid</span> <span class="o">=</span> <span class="n">searx</span>
123125<span class="n">gid</span> <span class="o">=</span> <span class="n">searx</span>
124126
125−<span class="c"># disable logging for privacy</span>
127+<span class="c1"># disable logging for privacy</span>
126128<span class="n">disable</span><span class="o">-</span><span class="n">logging</span> <span class="o">=</span> <span class="n">true</span>
127129
128−<span class="c"># Number of workers (usually CPU count)</span>
130+<span class="c1"># Number of workers (usually CPU count)</span>
129131<span class="n">workers</span> <span class="o">=</span> <span class="mi">4</span>
130132
131−<span class="c"># The right granted on the created socket</span>
133+<span class="c1"># The right granted on the created socket</span>
132134<span class="n">chmod</span><span class="o">-</span><span class="n">socket</span> <span class="o">=</span> <span class="mi">666</span>
133135
134−<span class="c"># Plugin to use and interpretor config</span>
136+<span class="c1"># Plugin to use and interpretor config</span>
135137<span class="n">single</span><span class="o">-</span><span class="n">interpreter</span> <span class="o">=</span> <span class="n">true</span>
136138<span class="n">master</span> <span class="o">=</span> <span class="n">true</span>
137139<span class="n">plugin</span> <span class="o">=</span> <span class="n">python</span>
138140
139−<span class="c"># Module to import</span>
141+<span class="c1"># Module to import</span>
140142<span class="n">module</span> <span class="o">=</span> <span class="n">searx</span><span class="o">.</span><span class="n">webapp</span>
141143
142−<span class="c"># Virtualenv and python path</span>
144+<span class="c1"># Virtualenv and python path</span>
143145<span class="n">virtualenv</span> <span class="o">=</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span><span class="o">/</span><span class="n">searx</span><span class="o">-</span><span class="n">ve</span><span class="o">/</span>
144146<span class="n">pythonpath</span> <span class="o">=</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span><span class="o">/</span>
145147<span class="n">chdir</span> <span class="o">=</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span><span class="o">/</span><span class="n">searx</span><span class="o">/</span>
146148</pre></div>
147149</div>
148150<p>Activate the uwsgi application and restart:</p>
149−<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">cd</span> <span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">uwsgi</span><span class="o">/</span><span class="n">apps</span><span class="o">-</span><span class="n">enabled</span>
151+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">cd</span> <span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">uwsgi</span><span class="o">/</span><span class="n">apps</span><span class="o">-</span><span class="n">enabled</span>
150152<span class="n">ln</span> <span class="o">-</span><span class="n">s</span> <span class="o">../</span><span class="n">apps</span><span class="o">-</span><span class="n">available</span><span class="o">/</span><span class="n">searx</span><span class="o">.</span><span class="n">ini</span>
151153<span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">init</span><span class="o">.</span><span class="n">d</span><span class="o">/</span><span class="n">uwsgi</span> <span class="n">restart</span>
152154</pre></div>
@@ -158,14 +160,14 @@ this content:</p>
158160<h3><a class="toc-backref" href="#id9">with nginx</a><a class="headerlink" href="#with-nginx" title="Permalink to this headline">¶</a></h3>
159161<p>If nginx is not installed (uwsgi will not work with the package
160162nginx-light):</p>
161−<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">nginx</span>
163+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">nginx</span>
162164</pre></div>
163165</div>
164166<div class="section" id="hosted-at">
165167<h4>Hosted at /<a class="headerlink" href="#hosted-at" title="Permalink to this headline">¶</a></h4>
166168<p>Create the configuration file /etc/nginx/sites-available/searx with this
167169content:</p>
168−<div class="code nginx highlight-default"><div class="highlight"><pre><span class="n">server</span> <span class="p">{</span>
170+<div class="code nginx highlight-default"><div class="highlight"><pre><span></span><span class="n">server</span> <span class="p">{</span>
169171 <span class="n">listen</span> <span class="mi">80</span><span class="p">;</span>
170172 <span class="n">server_name</span> <span class="n">searx</span><span class="o">.</span><span class="n">example</span><span class="o">.</span><span class="n">com</span><span class="p">;</span>
171173 <span class="n">root</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span><span class="p">;</span>
@@ -178,7 +180,7 @@ content:</p>
178180</pre></div>
179181</div>
180182<p>Restart service:</p>
181−<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="n">service</span> <span class="n">nginx</span> <span class="n">restart</span>
183+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">service</span> <span class="n">nginx</span> <span class="n">restart</span>
182184<span class="n">sudo</span> <span class="n">service</span> <span class="n">uwsgi</span> <span class="n">restart</span>
183185</pre></div>
184186</div>
@@ -187,7 +189,7 @@ content:</p>
187189<h4>from subdirectory URL (/searx)<a class="headerlink" href="#from-subdirectory-url-searx" title="Permalink to this headline">¶</a></h4>
188190<p>Add this configuration in the server config file
189191/etc/nginx/sites-available/default:</p>
190−<div class="code nginx highlight-default"><div class="highlight"><pre>location = /searx { rewrite ^ /searx/; }
192+<div class="code nginx highlight-default"><div class="highlight"><pre><span></span>location = /searx { rewrite ^ /searx/; }
191193location /searx {
192194 try_files $uri @searx;
193195}
@@ -202,7 +204,7 @@ location @searx {
202204<p>OR</p>
203205<p>using reverse proxy
204206(Please, note that reverse proxy advised to be used in case of single-user or low-traffic instances.)</p>
205−<div class="code nginx highlight-default"><div class="highlight"><pre>location /searx {
207+<div class="code nginx highlight-default"><div class="highlight"><pre><span></span>location /searx {
206208 proxy_pass http://127.0.0.1:8888;
207209 proxy_set_header Host $host;
208210 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@@ -213,11 +215,11 @@ location @searx {
213215</pre></div>
214216</div>
215217<p>Enable base_url in searx/settings.yml</p>
216−<div class="highlight-default"><div class="highlight"><pre><span class="n">base_url</span> <span class="p">:</span> <span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">your</span><span class="o">.</span><span class="n">domain</span><span class="o">.</span><span class="n">tld</span><span class="o">/</span><span class="n">searx</span><span class="o">/</span>
218+<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">base_url</span> <span class="p">:</span> <span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">your</span><span class="o">.</span><span class="n">domain</span><span class="o">.</span><span class="n">tld</span><span class="o">/</span><span class="n">searx</span><span class="o">/</span>
217219</pre></div>
218220</div>
219221<p>Restart service:</p>
220−<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="n">service</span> <span class="n">nginx</span> <span class="n">restart</span>
222+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">service</span> <span class="n">nginx</span> <span class="n">restart</span>
221223<span class="n">sudo</span> <span class="n">service</span> <span class="n">uwsgi</span> <span class="n">restart</span>
222224</pre></div>
223225</div>
@@ -226,12 +228,12 @@ location @searx {
226228<p>for better privacy you can disable nginx logs about searx.</p>
227229<p>how to proceed: below <code class="docutils literal"><span class="pre">uwsgi_pass</span></code> in
228230/etc/nginx/sites-available/default add</p>
229−<div class="highlight-default"><div class="highlight"><pre><span class="n">access_log</span> <span class="o">/</span><span class="n">dev</span><span class="o">/</span><span class="n">null</span><span class="p">;</span>
231+<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">access_log</span> <span class="o">/</span><span class="n">dev</span><span class="o">/</span><span class="n">null</span><span class="p">;</span>
230232<span class="n">error_log</span> <span class="o">/</span><span class="n">dev</span><span class="o">/</span><span class="n">null</span><span class="p">;</span>
231233</pre></div>
232234</div>
233235<p>Restart service:</p>
234−<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="n">service</span> <span class="n">nginx</span> <span class="n">restart</span>
236+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">service</span> <span class="n">nginx</span> <span class="n">restart</span>
235237</pre></div>
236238</div>
237239</div>
@@ -240,12 +242,12 @@ location @searx {
240242<div class="section" id="with-apache">
241243<h3><a class="toc-backref" href="#id10">with apache</a><a class="headerlink" href="#with-apache" title="Permalink to this headline">¶</a></h3>
242244<p>Add wsgi mod:</p>
243−<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">libapache2</span><span class="o">-</span><span class="n">mod</span><span class="o">-</span><span class="n">uwsgi</span>
245+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">libapache2</span><span class="o">-</span><span class="n">mod</span><span class="o">-</span><span class="n">uwsgi</span>
244246<span class="n">sudo</span> <span class="n">a2enmod</span> <span class="n">uwsgi</span>
245247</pre></div>
246248</div>
247249<p>Add this configuration in the file /etc/apache2/apache2.conf:</p>
248−<div class="code apache highlight-default"><div class="highlight"><pre><span class="o">&lt;</span><span class="n">Location</span> <span class="o">/&gt;</span>
250+<div class="code apache highlight-default"><div class="highlight"><pre><span></span><span class="o">&lt;</span><span class="n">Location</span> <span class="o">/&gt;</span>
249251 <span class="n">Options</span> <span class="n">FollowSymLinks</span> <span class="n">Indexes</span>
250252 <span class="n">SetHandler</span> <span class="n">uwsgi</span><span class="o">-</span><span class="n">handler</span>
251253 <span class="n">uWSGISocket</span> <span class="o">/</span><span class="n">run</span><span class="o">/</span><span class="n">uwsgi</span><span class="o">/</span><span class="n">app</span><span class="o">/</span><span class="n">searx</span><span class="o">/</span><span class="n">socket</span>
@@ -256,7 +258,7 @@ location @searx {
256258change <code class="docutils literal"><span class="pre">&lt;Location</span> <span class="pre">/&gt;</span></code> by the location of your instance, like
257259<code class="docutils literal"><span class="pre">&lt;Location</span> <span class="pre">/searx&gt;</span></code>.</p>
258260<p>Restart Apache:</p>
259−<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">init</span><span class="o">.</span><span class="n">d</span><span class="o">/</span><span class="n">apache2</span> <span class="n">restart</span>
261+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">init</span><span class="o">.</span><span class="n">d</span><span class="o">/</span><span class="n">apache2</span> <span class="n">restart</span>
260262</pre></div>
261263</div>
262264<div class="section" id="id2">
@@ -266,11 +268,11 @@ change <code class="docutils literal"><span class="pre">&lt;Location</span> <spa
266268<p>WARNING: you can only disable logs for the whole (virtual) server not
267269for a specific path.</p>
268270<p>Go back to /etc/apache2/apache2.conf and above <code class="docutils literal"><span class="pre">&lt;Location</span> <span class="pre">/&gt;</span></code> add:</p>
269−<div class="code apache highlight-default"><div class="highlight"><pre><span class="n">CustomLog</span> <span class="o">/</span><span class="n">dev</span><span class="o">/</span><span class="n">null</span> <span class="n">combined</span>
271+<div class="code apache highlight-default"><div class="highlight"><pre><span></span><span class="n">CustomLog</span> <span class="o">/</span><span class="n">dev</span><span class="o">/</span><span class="n">null</span> <span class="n">combined</span>
270272</pre></div>
271273</div>
272274<p>Restart Apache:</p>
273−<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">init</span><span class="o">.</span><span class="n">d</span><span class="o">/</span><span class="n">apache2</span> <span class="n">restart</span>
275+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">init</span><span class="o">.</span><span class="n">d</span><span class="o">/</span><span class="n">apache2</span> <span class="n">restart</span>
274276</pre></div>
275277</div>
276278</div>
@@ -278,7 +280,7 @@ for a specific path.</p>
278280</div>
279281<div class="section" id="how-to-update">
280282<h2><a class="toc-backref" href="#id11">How to update</a><a class="headerlink" href="#how-to-update" title="Permalink to this headline">¶</a></h2>
281−<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">cd</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span>
283+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">cd</span> <span class="o">/</span><span class="n">usr</span><span class="o">/</span><span class="n">local</span><span class="o">/</span><span class="n">searx</span>
282284<span class="n">sudo</span> <span class="o">-</span><span class="n">u</span> <span class="n">searx</span> <span class="o">-</span><span class="n">i</span>
283285<span class="o">.</span> <span class="o">./</span><span class="n">searx</span><span class="o">-</span><span class="n">ve</span><span class="o">/</span><span class="nb">bin</span><span class="o">/</span><span class="n">activate</span>
284286<span class="n">git</span> <span class="n">stash</span>
@@ -292,14 +294,14 @@ for a specific path.</p>
292294<div class="section" id="docker">
293295<h2><a class="toc-backref" href="#id12">Docker</a><a class="headerlink" href="#docker" title="Permalink to this headline">¶</a></h2>
294296<p>Make sure you have installed Docker. For instance, you can deploy searx like this:</p>
295−<div class="code sh highlight-default"><div class="highlight"><pre>docker pull wonderfall/searx
297+<div class="code sh highlight-default"><div class="highlight"><pre><span></span>docker pull wonderfall/searx
296298docker run -d --name searx -p $PORT:8888 wonderfall/searx
297299</pre></div>
298300</div>
299301<p>Go to <a class="reference external" href="http://localhost:$PORT">http://localhost:$PORT</a>.</p>
300302<p>See <a class="reference external" href="https://hub.docker.com/r/wonderfall/searx/">https://hub.docker.com/r/wonderfall/searx/</a> for more informations.</p>
301303<p>It&#8217;s also possible to build searx from the embedded Dockerfile.</p>
302−<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">git</span> <span class="n">clone</span> <span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">github</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">asciimoo</span><span class="o">/</span><span class="n">searx</span><span class="o">.</span><span class="n">git</span>
304+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">git</span> <span class="n">clone</span> <span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">github</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">asciimoo</span><span class="o">/</span><span class="n">searx</span><span class="o">.</span><span class="n">git</span>
303305<span class="n">cd</span> <span class="n">searx</span>
304306<span class="n">docker</span> <span class="n">build</span> <span class="o">-</span><span class="n">t</span> <span class="n">whatever</span><span class="o">/</span><span class="n">searx</span> <span class="o">.</span>
305307</pre></div>
dev/plugins.html+15−13
@@ -6,7 +6,7 @@
66 <head>
77 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
9− <title>Plugins &mdash; searx 0.9.0 documentation</title>
9+ <title>Plugins &#8212; searx 0.10.0 documentation</title>
1010
1111 <link rel="stylesheet" href="../_static/style.css" type="text/css" />
1212 <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
1414 <script type="text/javascript">
1515 var DOCUMENTATION_OPTIONS = {
1616 URL_ROOT: '../',
17− VERSION: '0.9.0',
17+ VERSION: '0.10.0',
1818 COLLAPSE_INDEX: false,
1919 FILE_SUFFIX: '.html',
2020 HAS_SOURCE: true
@@ -23,7 +23,9 @@
2323 <script type="text/javascript" src="../_static/jquery.js"></script>
2424 <script type="text/javascript" src="../_static/underscore.js"></script>
2525 <script type="text/javascript" src="../_static/doctools.js"></script>
26− <link rel="top" title="searx 0.9.0 documentation" href="../index.html" />
26+ <link rel="index" title="Index" href="../genindex.html" />
27+ <link rel="search" title="Search" href="../search.html" />
28+ <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
2729 <link rel="next" title="Translation" href="translation.html" />
2830 <link rel="prev" title="Search API" href="search_api.html" />
2931
@@ -45,20 +47,20 @@
4547searx.</p>
4648<div class="section" id="example-plugin">
4749<h2>Example plugin<a class="headerlink" href="#example-plugin" title="Permalink to this headline">¶</a></h2>
48−<div class="code python highlight-default"><div class="highlight"><pre><span class="n">name</span> <span class="o">=</span> <span class="s">&#39;Example plugin&#39;</span>
49−<span class="n">description</span> <span class="o">=</span> <span class="s">&#39;This plugin extends the suggestions with the word &quot;example&quot;&#39;</span>
50−<span class="n">default_on</span> <span class="o">=</span> <span class="k">False</span> <span class="c"># disable by default</span>
50+<div class="code python highlight-default"><div class="highlight"><pre><span></span><span class="n">name</span> <span class="o">=</span> <span class="s1">&#39;Example plugin&#39;</span>
51+<span class="n">description</span> <span class="o">=</span> <span class="s1">&#39;This plugin extends the suggestions with the word &quot;example&quot;&#39;</span>
52+<span class="n">default_on</span> <span class="o">=</span> <span class="kc">False</span> <span class="c1"># disabled by default</span>
5153
52−<span class="n">js_dependencies</span> <span class="o">=</span> <span class="nb">tuple</span><span class="p">()</span> <span class="c"># optional, list of static js files</span>
53−<span class="n">css_dependencies</span> <span class="o">=</span> <span class="nb">tuple</span><span class="p">()</span> <span class="c"># optional, list of static css files</span>
54+<span class="n">js_dependencies</span> <span class="o">=</span> <span class="nb">tuple</span><span class="p">()</span> <span class="c1"># optional, list of static js files</span>
55+<span class="n">css_dependencies</span> <span class="o">=</span> <span class="nb">tuple</span><span class="p">()</span> <span class="c1"># optional, list of static css files</span>
5456
5557
56−<span class="c"># attach callback to the post search hook</span>
57−<span class="c"># request: flask request object</span>
58−<span class="c"># ctx: the whole local context of the post search hook</span>
58+<span class="c1"># attach callback to the post search hook</span>
59+<span class="c1"># request: flask request object</span>
60+<span class="c1"># ctx: the whole local context of the post search hook</span>
5961<span class="k">def</span> <span class="nf">post_search</span><span class="p">(</span><span class="n">request</span><span class="p">,</span> <span class="n">ctx</span><span class="p">):</span>
60− <span class="n">ctx</span><span class="p">[</span><span class="s">&#39;search&#39;</span><span class="p">]</span><span class="o">.</span><span class="n">suggestions</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="s">&#39;example&#39;</span><span class="p">)</span>
61− <span class="k">return</span> <span class="k">True</span>
62+ <span class="n">ctx</span><span class="p">[</span><span class="s1">&#39;search&#39;</span><span class="p">]</span><span class="o">.</span><span class="n">suggestions</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="s1">&#39;example&#39;</span><span class="p">)</span>
63+ <span class="k">return</span> <span class="kc">True</span>
6264</pre></div>
6365</div>
6466</div>
dev/quickstart.html+13−11
@@ -6,7 +6,7 @@
66 <head>
77 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
9− <title>Development Quickstart &mdash; searx 0.9.0 documentation</title>
9+ <title>Development Quickstart &#8212; searx 0.10.0 documentation</title>
1010
1111 <link rel="stylesheet" href="../_static/style.css" type="text/css" />
1212 <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
1414 <script type="text/javascript">
1515 var DOCUMENTATION_OPTIONS = {
1616 URL_ROOT: '../',
17− VERSION: '0.9.0',
17+ VERSION: '0.10.0',
1818 COLLAPSE_INDEX: false,
1919 FILE_SUFFIX: '.html',
2020 HAS_SOURCE: true
@@ -23,9 +23,11 @@
2323 <script type="text/javascript" src="../_static/jquery.js"></script>
2424 <script type="text/javascript" src="../_static/underscore.js"></script>
2525 <script type="text/javascript" src="../_static/doctools.js"></script>
26− <link rel="top" title="searx 0.9.0 documentation" href="../index.html" />
26+ <link rel="index" title="Index" href="../genindex.html" />
27+ <link rel="search" title="Search" href="../search.html" />
28+ <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
2729 <link rel="next" title="How to contribute" href="contribution_guide.html" />
28− <link rel="prev" title="Administration API" href="../admin/api.html" />
30+ <link rel="prev" title="How to protect an instance" href="../admin/filtron.html" />
2931
3032
3133 <link media="only screen and (max-device-width: 480px)" href="../_static/small_flask.css" type= "text/css" rel="stylesheet" />
@@ -48,7 +50,7 @@ short introduction to the new manage.sh script.</p>
4850<p>First, clone the source code of searx to the desired folder. In this case the source
4951is cloned to ~/myprojects/searx. Then create and activate the searx-ve
5052virtualenv and install the required packages using manage.sh.</p>
51−<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">cd</span> <span class="o">~/</span><span class="n">myprojects</span>
53+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">cd</span> <span class="o">~/</span><span class="n">myprojects</span>
5254<span class="n">git</span> <span class="n">clone</span> <span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">github</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">asciimoo</span><span class="o">/</span><span class="n">searx</span><span class="o">.</span><span class="n">git</span>
5355<span class="n">cd</span> <span class="n">searx</span>
5456<span class="n">virtualenv</span> <span class="n">searx</span><span class="o">-</span><span class="n">ve</span>
@@ -68,7 +70,7 @@ virtualenv and install the required packages using manage.sh.</p>
6870<li>Unit test coverage check</li>
6971</ul>
7072<p>For example unit tests are run with the command below:</p>
71−<div class="code sh highlight-default"><div class="highlight"><pre><span class="o">./</span><span class="n">manage</span><span class="o">.</span><span class="n">sh</span> <span class="n">unit_tests</span>
73+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="o">./</span><span class="n">manage</span><span class="o">.</span><span class="n">sh</span> <span class="n">unit_tests</span>
7274</pre></div>
7375</div>
7476<p>For further test options, please consult the help of the manage.sh script.</p>
@@ -78,16 +80,16 @@ virtualenv and install the required packages using manage.sh.</p>
7880<div class="section" id="how-to-build-styles">
7981<h3>How to build styles<a class="headerlink" href="#how-to-build-styles" title="Permalink to this headline">¶</a></h3>
8082<p>Less is required to build the styles of searx. Less can be installed using either NodeJS or Apt.</p>
81−<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">nodejs</span>
83+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">nodejs</span>
8284<span class="n">sudo</span> <span class="n">npm</span> <span class="n">install</span> <span class="o">-</span><span class="n">g</span> <span class="n">less</span>
8385</pre></div>
8486</div>
8587<p>OR</p>
86−<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">node</span><span class="o">-</span><span class="n">less</span>
88+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">node</span><span class="o">-</span><span class="n">less</span>
8789</pre></div>
8890</div>
8991<p>After satisfying the requirements styles can be build using manage.sh</p>
90−<div class="code sh highlight-default"><div class="highlight"><pre><span class="o">./</span><span class="n">manage</span><span class="o">.</span><span class="n">sh</span> <span class="n">styles</span>
92+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="o">./</span><span class="n">manage</span><span class="o">.</span><span class="n">sh</span> <span class="n">styles</span>
9193</pre></div>
9294</div>
9395</div>
@@ -95,12 +97,12 @@ virtualenv and install the required packages using manage.sh.</p>
9597<h3>How to build the source of the oscar theme<a class="headerlink" href="#how-to-build-the-source-of-the-oscar-theme" title="Permalink to this headline">¶</a></h3>
9698<p>Grunt must be installed in order to build the javascript sources. It depends on NodeJS, so first
9799Node has to be installed.</p>
98−<div class="code sh highlight-default"><div class="highlight"><pre><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">nodejs</span>
100+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">nodejs</span>
99101<span class="n">sudo</span> <span class="n">npm</span> <span class="n">install</span> <span class="o">-</span><span class="n">g</span> <span class="n">grunt</span><span class="o">-</span><span class="n">cli</span>
100102</pre></div>
101103</div>
102104<p>After installing grunt, the files can be built using the following command:</p>
103−<div class="code sh highlight-default"><div class="highlight"><pre><span class="o">./</span><span class="n">manage</span><span class="o">.</span><span class="n">sh</span> <span class="n">build_grunt</span>
105+<div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="o">./</span><span class="n">manage</span><span class="o">.</span><span class="n">sh</span> <span class="n">build_grunt</span>
104106</pre></div>
105107</div>
106108</div>
dev/search_api.html+5−3
@@ -6,7 +6,7 @@
66 <head>
77 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
9− <title>Search API &mdash; searx 0.9.0 documentation</title>
9+ <title>Search API &#8212; searx 0.10.0 documentation</title>
1010
1111 <link rel="stylesheet" href="../_static/style.css" type="text/css" />
1212 <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
1414 <script type="text/javascript">
1515 var DOCUMENTATION_OPTIONS = {
1616 URL_ROOT: '../',
17− VERSION: '0.9.0',
17+ VERSION: '0.10.0',
1818 COLLAPSE_INDEX: false,
1919 FILE_SUFFIX: '.html',
2020 HAS_SOURCE: true
@@ -23,7 +23,9 @@
2323 <script type="text/javascript" src="../_static/jquery.js"></script>
2424 <script type="text/javascript" src="../_static/underscore.js"></script>
2525 <script type="text/javascript" src="../_static/doctools.js"></script>
26− <link rel="top" title="searx 0.9.0 documentation" href="../index.html" />
26+ <link rel="index" title="Index" href="../genindex.html" />
27+ <link rel="search" title="Search" href="../search.html" />
28+ <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
2729 <link rel="next" title="Plugins" href="plugins.html" />
2830 <link rel="prev" title="Engine overview" href="engine_overview.html" />
2931
dev/translation.html+14−12
@@ -6,7 +6,7 @@
66 <head>
77 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
9− <title>Translation &mdash; searx 0.9.0 documentation</title>
9+ <title>Translation &#8212; searx 0.10.0 documentation</title>
1010
1111 <link rel="stylesheet" href="../_static/style.css" type="text/css" />
1212 <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
1414 <script type="text/javascript">
1515 var DOCUMENTATION_OPTIONS = {
1616 URL_ROOT: '../',
17− VERSION: '0.9.0',
17+ VERSION: '0.10.0',
1818 COLLAPSE_INDEX: false,
1919 FILE_SUFFIX: '.html',
2020 HAS_SOURCE: true
@@ -23,7 +23,9 @@
2323 <script type="text/javascript" src="../_static/jquery.js"></script>
2424 <script type="text/javascript" src="../_static/underscore.js"></script>
2525 <script type="text/javascript" src="../_static/doctools.js"></script>
26− <link rel="top" title="searx 0.9.0 documentation" href="../index.html" />
26+ <link rel="index" title="Index" href="../genindex.html" />
27+ <link rel="search" title="Search" href="../search.html" />
28+ <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
2729 <link rel="prev" title="Plugins" href="plugins.html" />
2830
2931
@@ -43,13 +45,13 @@
4345<p>run these commands in the root directory of searx</p>
4446<div class="section" id="add-new-language">
4547<h2>Add new language<a class="headerlink" href="#add-new-language" title="Permalink to this headline">¶</a></h2>
46−<div class="code shell highlight-default"><div class="highlight"><pre><span class="n">pybabel</span> <span class="n">init</span> <span class="o">-</span><span class="n">i</span> <span class="n">messages</span><span class="o">.</span><span class="n">pot</span> <span class="o">-</span><span class="n">d</span> <span class="n">searx</span><span class="o">/</span><span class="n">translations</span> <span class="o">-</span><span class="n">l</span> <span class="n">it</span>
48+<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="n">pybabel</span> <span class="n">init</span> <span class="o">-</span><span class="n">i</span> <span class="n">messages</span><span class="o">.</span><span class="n">pot</span> <span class="o">-</span><span class="n">d</span> <span class="n">searx</span><span class="o">/</span><span class="n">translations</span> <span class="o">-</span><span class="n">l</span> <span class="n">it</span>
4749</pre></div>
4850</div>
4951</div>
5052<div class="section" id="update-po-files">
5153<h2>Update .po files<a class="headerlink" href="#update-po-files" title="Permalink to this headline">¶</a></h2>
52−<div class="code shell highlight-default"><div class="highlight"><pre><span class="o">./</span><span class="n">utils</span><span class="o">/</span><span class="n">update</span><span class="o">-</span><span class="n">translations</span><span class="o">.</span><span class="n">sh</span>
54+<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="o">./</span><span class="n">utils</span><span class="o">/</span><span class="n">update</span><span class="o">-</span><span class="n">translations</span><span class="o">.</span><span class="n">sh</span>
5355</pre></div>
5456</div>
5557<p>You may have errors here. In that case, edit the
@@ -59,7 +61,7 @@
5961</div>
6062<div class="section" id="compile-translations">
6163<h2>Compile translations<a class="headerlink" href="#compile-translations" title="Permalink to this headline">¶</a></h2>
62−<div class="code shell highlight-default"><div class="highlight"><pre><span class="n">pybabel</span> <span class="nb">compile</span> <span class="o">-</span><span class="n">d</span> <span class="n">searx</span><span class="o">/</span><span class="n">translations</span>
64+<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="n">pybabel</span> <span class="nb">compile</span> <span class="o">-</span><span class="n">d</span> <span class="n">searx</span><span class="o">/</span><span class="n">translations</span>
6365</pre></div>
6466</div>
6567</div>
@@ -67,9 +69,9 @@
6769<h2>Transifex stuff<a class="headerlink" href="#transifex-stuff" title="Permalink to this headline">¶</a></h2>
6870<div class="section" id="init-project">
6971<h3>Init Project<a class="headerlink" href="#init-project" title="Permalink to this headline">¶</a></h3>
70−<div class="code shell highlight-default"><div class="highlight"><pre><span class="n">tx</span> <span class="n">init</span> <span class="c"># Transifex instance: https://www.transifex.com/asciimoo/searx/</span>
72+<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="n">tx</span> <span class="n">init</span> <span class="c1"># Transifex instance: https://www.transifex.com/asciimoo/searx/</span>
7173
72−<span class="n">tx</span> <span class="nb">set</span> <span class="o">--</span><span class="n">auto</span><span class="o">-</span><span class="n">local</span> <span class="o">-</span><span class="n">r</span> <span class="n">searx</span><span class="o">.</span><span class="n">messagespo</span> <span class="s">&#39;searx/translations/&lt;lang&gt;/LC_MESSAGES/messages.po&#39;</span> \
74+<span class="n">tx</span> <span class="nb">set</span> <span class="o">--</span><span class="n">auto</span><span class="o">-</span><span class="n">local</span> <span class="o">-</span><span class="n">r</span> <span class="n">searx</span><span class="o">.</span><span class="n">messagespo</span> <span class="s1">&#39;searx/translations/&lt;lang&gt;/LC_MESSAGES/messages.po&#39;</span> \
7375<span class="o">--</span><span class="n">source</span><span class="o">-</span><span class="n">lang</span> <span class="n">en</span> <span class="o">--</span><span class="nb">type</span> <span class="n">PO</span> <span class="o">--</span><span class="n">source</span><span class="o">-</span><span class="n">file</span> <span class="n">messages</span><span class="o">.</span><span class="n">pot</span> <span class="o">--</span><span class="n">execute</span>
7476</pre></div>
7577</div>
@@ -78,27 +80,27 @@
7880</div>
7981<div class="section" id="get-translations">
8082<h3>Get translations<a class="headerlink" href="#get-translations" title="Permalink to this headline">¶</a></h3>
81−<div class="code shell highlight-default"><div class="highlight"><pre><span class="n">tx</span> <span class="n">pull</span> <span class="o">-</span><span class="n">a</span>
83+<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="n">tx</span> <span class="n">pull</span> <span class="o">-</span><span class="n">a</span>
8284</pre></div>
8385</div>
8486<p><a class="reference external" href="http://docs.transifex.com/client/pull">http://docs.transifex.com/client/pull</a></p>
8587</div>
8688<div class="section" id="upload-source-file">
8789<h3>Upload source File<a class="headerlink" href="#upload-source-file" title="Permalink to this headline">¶</a></h3>
88−<div class="code shell highlight-default"><div class="highlight"><pre><span class="n">tx</span> <span class="n">push</span> <span class="o">-</span><span class="n">s</span>
90+<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="n">tx</span> <span class="n">push</span> <span class="o">-</span><span class="n">s</span>
8991</pre></div>
9092</div>
9193</div>
9294<div class="section" id="upload-all-translation">
9395<h3>Upload all Translation<a class="headerlink" href="#upload-all-translation" title="Permalink to this headline">¶</a></h3>
94−<div class="code shell highlight-default"><div class="highlight"><pre><span class="n">tx</span> <span class="n">push</span> <span class="o">-</span><span class="n">s</span> <span class="o">-</span><span class="n">t</span>
96+<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="n">tx</span> <span class="n">push</span> <span class="o">-</span><span class="n">s</span> <span class="o">-</span><span class="n">t</span>
9597</pre></div>
9698</div>
9799</div>
98100</div>
99101<div class="section" id="upload-specifc-translation">
100102<h2>upload specifc Translation<a class="headerlink" href="#upload-specifc-translation" title="Permalink to this headline">¶</a></h2>
101−<div class="code shell highlight-default"><div class="highlight"><pre><span class="n">tx</span> <span class="n">push</span> <span class="o">-</span><span class="n">t</span> <span class="o">-</span><span class="n">l</span> <span class="n">tr</span>
103+<div class="code shell highlight-default"><div class="highlight"><pre><span></span><span class="n">tx</span> <span class="n">push</span> <span class="o">-</span><span class="n">t</span> <span class="o">-</span><span class="n">l</span> <span class="n">tr</span>
102104</pre></div>
103105</div>
104106<p><a class="reference external" href="http://docs.transifex.com/client/push">http://docs.transifex.com/client/push</a></p>
docs/conf.py+2−2
@@ -57,9 +57,9 @@ author = u'Adam Tauber'
5757# built documents.
5858#
5959# The short X.Y version.
60−version = '0.9.0'
60+version = '0.10.0'
6161# The full version, including alpha/beta/rc tags.
62−release = '0.9.0'
62+release = '0.10.0'
6363
6464# The language for content autogenerated by Sphinx. Refer to documentation
6565# for a list of supported languages.
docs/dev/engine_overview.rst+114−112
@@ -30,15 +30,17 @@ settings. However, the standard way is the following:
3030engine file
3131~~~~~~~~~~~
3232
33−+---------------------+-----------+-----------------------------------------+
34−| argument | type | information |
35−+=====================+===========+=========================================+
36−| categories | list | pages, in which the engine is working |
37−+---------------------+-----------+-----------------------------------------+
38−| paging | boolean | support multible pages |
39−+---------------------+-----------+-----------------------------------------+
40−| language\_support | boolean | support language choosing |
41−+---------------------+-----------+-----------------------------------------+
33++----------------------+-----------+-----------------------------------------+
34+| argument | type | information |
35++======================+===========+=========================================+
36+| categories | list | pages, in which the engine is working |
37++----------------------+-----------+-----------------------------------------+
38+| paging | boolean | support multible pages |
39++----------------------+-----------+-----------------------------------------+
40+| language\_support | boolean | support language choosing |
41++----------------------+-----------+-----------------------------------------+
42+| time\_range\_support | boolean | support search time range |
43++----------------------+-----------+-----------------------------------------+
4244
4345settings.yml
4446~~~~~~~~~~~~
@@ -186,126 +188,126 @@ To set another media-type as default, the parameter
186188default
187189~~~~~~~
188190
189−+--------------------+------------------------------------------------------------------------------------------------------------------------------------+
190−| result-parameter | information |
191−+====================+====================================================================================================================================+
192−| url | string, which is representing the url of the result |
193−+--------------------+------------------------------------------------------------------------------------------------------------------------------------+
194−| title | string, which is representing the title of the result |
195−+--------------------+------------------------------------------------------------------------------------------------------------------------------------+
196−| content | string, which is giving a general result-text |
197−+--------------------+------------------------------------------------------------------------------------------------------------------------------------+
198−| publishedDate | `datetime.datetime <https://docs.python.org/2/library/datetime.html#datetime-objects>`__, represent when the result is published |
199−+--------------------+------------------------------------------------------------------------------------------------------------------------------------+
191++--------------------+---------------------------------------------------------------------------------------------------------------+
192+| result-parameter | information |
193++====================+===============================================================================================================+
194+| url | string, url of the result |
195++--------------------+---------------------------------------------------------------------------------------------------------------+
196+| title | string, title of the result |
197++--------------------+---------------------------------------------------------------------------------------------------------------+
198+| content | string, general result-text |
199++--------------------+---------------------------------------------------------------------------------------------------------------+
200+| publishedDate | `datetime.datetime <https://docs.python.org/2/library/datetime.html#datetime-objects>`__, time of publish |
201++--------------------+---------------------------------------------------------------------------------------------------------------+
200202
201203images
202204~~~~~~
203205
204206to use this template, the parameter
205207
206−+--------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
207−| result-parameter | information |
208−+====================+===========================================================================================================================================================+
209−| template | is set to ``images.html`` |
210−+--------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
211−| url | string, which is representing the url to the result site |
212−+--------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
213−| title | string, which is representing the title of the result *(partly implemented)* |
214−+--------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
215−| content | *(partly implemented)* |
216−+--------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
217−| publishedDate | `datetime.datetime <https://docs.python.org/2/library/datetime.html#datetime-objects>`__, represent when the result is published *(partly implemented)* |
218−+--------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
219−| img\_src | string, which is representing the url to the result image |
220−+--------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
221−| thumbnail\_src | string, which is representing the url to a small-preview image |
222−+--------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
208++--------------------+---------------------------------------------------------------------------------------------------------------------------------------+
209+| result-parameter | information |
210++====================+=======================================================================================================================================+
211+| template | is set to ``images.html`` |
212++--------------------+---------------------------------------------------------------------------------------------------------------------------------------+
213+| url | string, url to the result site |
214++--------------------+---------------------------------------------------------------------------------------------------------------------------------------+
215+| title | string, title of the result *(partly implemented)* |
216++--------------------+---------------------------------------------------------------------------------------------------------------------------------------+
217+| content | *(partly implemented)* |
218++--------------------+---------------------------------------------------------------------------------------------------------------------------------------+
219+| publishedDate | `datetime.datetime <https://docs.python.org/2/library/datetime.html#datetime-objects>`__, time of publish *(partly implemented)* |
220++--------------------+---------------------------------------------------------------------------------------------------------------------------------------+
221+| img\_src | string, url to the result image |
222++--------------------+---------------------------------------------------------------------------------------------------------------------------------------+
223+| thumbnail\_src | string, url to a small-preview image |
224++--------------------+---------------------------------------------------------------------------------------------------------------------------------------+
223225
224226videos
225227~~~~~~
226228
227−+--------------------+------------------------------------------------------------------------------------------------------------------------------------+
228−| result-parameter | information |
229−+====================+====================================================================================================================================+
230−| template | is set to ``videos.html`` |
231−+--------------------+------------------------------------------------------------------------------------------------------------------------------------+
232−| url | string, which is representing the url of the result |
233−+--------------------+------------------------------------------------------------------------------------------------------------------------------------+
234−| title | string, which is representing the title of the result |
235−+--------------------+------------------------------------------------------------------------------------------------------------------------------------+
236−| content | *(not implemented yet)* |
237−+--------------------+------------------------------------------------------------------------------------------------------------------------------------+
238−| publishedDate | `datetime.datetime <https://docs.python.org/2/library/datetime.html#datetime-objects>`__, represent when the result is published |
239−+--------------------+------------------------------------------------------------------------------------------------------------------------------------+
240−| thumbnail | string, which is representing the url to a small-preview image |
241−+--------------------+------------------------------------------------------------------------------------------------------------------------------------+
229++--------------------+--------------------------------------------------------------------------------------------------------------+
230+| result-parameter | information |
231++====================+==============================================================================================================+
232+| template | is set to ``videos.html`` |
233++--------------------+--------------------------------------------------------------------------------------------------------------+
234+| url | string, url of the result |
235++--------------------+--------------------------------------------------------------------------------------------------------------+
236+| title | string, title of the result |
237++--------------------+--------------------------------------------------------------------------------------------------------------+
238+| content | *(not implemented yet)* |
239++--------------------+--------------------------------------------------------------------------------------------------------------+
240+| publishedDate | `datetime.datetime <https://docs.python.org/2/library/datetime.html#datetime-objects>`__, time of publish |
241++--------------------+--------------------------------------------------------------------------------------------------------------+
242+| thumbnail | string, url to a small-preview image |
243++--------------------+--------------------------------------------------------------------------------------------------------------+
242244
243245torrent
244246~~~~~~~
245247
246−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
247−| result-parameter | information |
248−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
249−| template | is set to ```torrent.html``` |
250−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
251−| url | string, which is representing the url of the result |
252−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
253−| title | string, which is representing the title of the result |
254−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
255−| content | string, which is giving a general result-text |
256−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
257−| publishedDate | `datetime.datetime <https://docs.python.org/2/library/datetime.html#datetime-objects>`__, represent when the result is published *(not implemented yet)* |
258−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
259−| seed | int, number of seeder |
260−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
261−| leech | int, number of leecher |
262−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
263−| filesize | int, size of file in bytes |
264−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
265−| files | int, number of files |
266−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
267−| magnetlink | string, which is the `magnetlink <https://en.wikipedia.org/wiki/Magnet_URI_scheme>`__ of the result |
268−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
269−| torrentfile | string, which is the torrentfile of the result |
270−+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+
248++------------------+---------------------------------------------------------------------------------------------------------------------------------------+
249+| result-parameter | information |
250++==================+=======================================================================================================================================+
251+| template | is set to ``torrent.html`` |
252++------------------+---------------------------------------------------------------------------------------------------------------------------------------+
253+| url | string, url of the result |
254++------------------+---------------------------------------------------------------------------------------------------------------------------------------+
255+| title | string, title of the result |
256++------------------+---------------------------------------------------------------------------------------------------------------------------------------+
257+| content | string, general result-text |
258++------------------+---------------------------------------------------------------------------------------------------------------------------------------+
259+| publishedDate | `datetime.datetime <https://docs.python.org/2/library/datetime.html#datetime-objects>`__, time of publish *(not implemented yet)* |
260++------------------+---------------------------------------------------------------------------------------------------------------------------------------+
261+| seed | int, number of seeder |
262++------------------+---------------------------------------------------------------------------------------------------------------------------------------+
263+| leech | int, number of leecher |
264++------------------+---------------------------------------------------------------------------------------------------------------------------------------+
265+| filesize | int, size of file in bytes |
266++------------------+---------------------------------------------------------------------------------------------------------------------------------------+
267+| files | int, number of files |
268++------------------+---------------------------------------------------------------------------------------------------------------------------------------+
269+| magnetlink | string, `magnetlink <https://en.wikipedia.org/wiki/Magnet_URI_scheme>`__ of the result |
270++------------------+---------------------------------------------------------------------------------------------------------------------------------------+
271+| torrentfile | string, torrentfile of the result |
272++------------------+---------------------------------------------------------------------------------------------------------------------------------------+
271273
272274
273275map
274276~~~
275277
276−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
277−| result-parameter | information |
278−+=========================+====================================================================================================================================+
279−| url | string, which is representing the url of the result |
280−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
281−| title | string, which is representing the title of the result |
282−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
283−| content | string, which is giving a general result-text |
284−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
285−| publishedDate | `datetime.datetime <https://docs.python.org/2/library/datetime.html#datetime-objects>`__, represent when the result is published |
286−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
287−| latitude | latitude of result (in decimal format) |
288−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
289−| longitude | longitude of result (in decimal format) |
290−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
291−| boundingbox | boundingbox of result (array of 4. values ``[lat-min, lat-max, lon-min, lon-max]``) |
292−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
293−| geojson | geojson of result (http://geojson.org) |
294−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
295−| osm.type | type of osm-object (if OSM-Result) |
296−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
297−| osm.id | id of osm-object (if OSM-Result) |
298−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
299−| address.name | name of object |
300−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
301−| address.road | street adress of object |
302−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
303−| address.house\_number | house number of object |
304−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
305−| address.locality | city, place of object |
306−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
307−| address.postcode | postcode of object |
308−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
309−| address.country | country of object |
310−+-------------------------+------------------------------------------------------------------------------------------------------------------------------------+
278++-------------------------+--------------------------------------------------------------------------------------------------------------+
279+| result-parameter | information |
280++=========================+==============================================================================================================+
281+| url | string, url of the result |
282++-------------------------+--------------------------------------------------------------------------------------------------------------+
283+| title | string, title of the result |
284++-------------------------+--------------------------------------------------------------------------------------------------------------+
285+| content | string, general result-text |
286++-------------------------+--------------------------------------------------------------------------------------------------------------+
287+| publishedDate | `datetime.datetime <https://docs.python.org/2/library/datetime.html#datetime-objects>`__, time of publish |
288++-------------------------+--------------------------------------------------------------------------------------------------------------+
289+| latitude | latitude of result (in decimal format) |
290++-------------------------+--------------------------------------------------------------------------------------------------------------+
291+| longitude | longitude of result (in decimal format) |
292++-------------------------+--------------------------------------------------------------------------------------------------------------+
293+| boundingbox | boundingbox of result (array of 4. values ``[lat-min, lat-max, lon-min, lon-max]``) |
294++-------------------------+--------------------------------------------------------------------------------------------------------------+
295+| geojson | geojson of result (http://geojson.org) |
296++-------------------------+--------------------------------------------------------------------------------------------------------------+
297+| osm.type | type of osm-object (if OSM-Result) |
298++-------------------------+--------------------------------------------------------------------------------------------------------------+
299+| osm.id | id of osm-object (if OSM-Result) |
300++-------------------------+--------------------------------------------------------------------------------------------------------------+
301+| address.name | name of object |
302++-------------------------+--------------------------------------------------------------------------------------------------------------+
303+| address.road | street name of object |
304++-------------------------+--------------------------------------------------------------------------------------------------------------+
305+| address.house\_number | house number of object |
306++-------------------------+--------------------------------------------------------------------------------------------------------------+
307+| address.locality | city, place of object |
308++-------------------------+--------------------------------------------------------------------------------------------------------------+
309+| address.postcode | postcode of object |
310++-------------------------+--------------------------------------------------------------------------------------------------------------+
311+| address.country | country of object |
312++-------------------------+--------------------------------------------------------------------------------------------------------------+
311313
docs/dev/plugins.rst+1−1
@@ -11,7 +11,7 @@ Example plugin
1111
1212 name = 'Example plugin'
1313 description = 'This plugin extends the suggestions with the word "example"'
14− default_on = False # disable by default
14+ default_on = False # disabled by default
1515
1616 js_dependencies = tuple() # optional, list of static js files
1717 css_dependencies = tuple() # optional, list of static css files
docs/index.rst+2−1
@@ -16,7 +16,7 @@ Features
1616 - No user tracking
1717 - No user profiling
1818 - About 70 supported search engines
19− - Easy intergration with any search engines
19+ - Easy integration with any search engine
2020 - Cookies are not used by default
2121 - Secure, encrypted connections (HTTPS/SSL)
2222 - Hosted by organisations, such as La Quadrature du Net, which promote digital rights
@@ -29,6 +29,7 @@ User documentation
2929 :maxdepth: 1
3030
3131 user/search_syntax
32+ user/own-instance
3233
3334Administrator documentation
3435---------------------------
docs/user/own-instance.rstnew file+43
@@ -0,0 +1,43 @@
1+Why use a private instance?
2+===========================
3+
4+"Is it worth to run my own instance?" is a common question among searx users. Before answering this question, see what options a searx user has.
5+
6+Public instances are open to everyone who has access to its URL. Usually, these are operated by unknown parties (from the users' point of view). Private instances can be used by a select group of people. It is for example a searx of group of friends or a company which can be accessed through VPN. Also it can be single user one which runs on the user's laptop.
7+
8+To gain more insight on how these instances work let's dive into how searx protects its users.
9+
10+How does searx protect privacy?
11+-------------------------------
12+
13+Searx protects the privacy of its users in multiple ways regardless of the type of the instance (private, public). Removal of private data from search requests comes in three forms:
14+
15+ 1. removal of private data from requests going to search services
16+ 2. not forwarding anything from a third party services through search services (e.g. advertisement)
17+ 3. removal of private data from requests going to the result pages
18+
19+Removing private data means not sending cookies to external search engines and generating a random browser profile for every request. Thus, it does not matter if a public or private instance handles the request, because it is anonymized in both cases. IP addresses will be the IP of the instance. But searx can be configured to use proxy or Tor. `Result proxy <https://github.com/asciimoo/morty>`__ is supported, too.
20+
21+Searx does not serve adds or tracking content unlike most search services. So private data is not forwarded to third parties who might monetize it. Besides protecting users from search services, both referring page and search query are hidden from visited result pages.
22+
23+What are the consequences of using public instances?
24+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
25+
26+If someone uses a public instance, he/she has to trust the administrator of that instance.
27+This means that the user of the public instance does not know whether his/her requests are logged, aggregated and sent or sold to a third party.
28+
29+Also, public instances without proper protection are more vulnerable to abusing the search service, In this case the external service in exchange returns CAPTCHAs or bans the IP of the instance. Thus, search requests return less results.
30+
31+I see. What about private instances?
32+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33+
34+If users run their own instances, everything is in their control: the source code, logging settings and private data. Unknown instance administrators do not have to be trusted.
35+
36+Furthermore, as the default settings of their instance is editable, there is no need to use cookies to tailor searx to their needs. So preferences will not be reset to defaults when clearing browser cookies. As settings are stored on their computer, it will not be accessible to others as long as their computer is not compromised.
37+
38+Conclusion
39+----------
40+
41+Always use an instance which is operated by people you trust. The privacy features of searx are available to users no matter what kind of instance they use.
42+
43+If someone is on the go or just wants to try searx for the first time public instances are the best choices. Additionally, public instance are making a world a better place, because those who cannot or do not want to run an instance, have access to a privacy respecting search service.
genindex.html+5−3
@@ -7,7 +7,7 @@
77 <head>
88 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
99
10− <title>Index &mdash; searx 0.9.0 documentation</title>
10+ <title>Index &#8212; searx 0.10.0 documentation</title>
1111
1212 <link rel="stylesheet" href="_static/style.css" type="text/css" />
1313 <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
1515 <script type="text/javascript">
1616 var DOCUMENTATION_OPTIONS = {
1717 URL_ROOT: './',
18− VERSION: '0.9.0',
18+ VERSION: '0.10.0',
1919 COLLAPSE_INDEX: false,
2020 FILE_SUFFIX: '.html',
2121 HAS_SOURCE: true
@@ -24,7 +24,9 @@
2424 <script type="text/javascript" src="_static/jquery.js"></script>
2525 <script type="text/javascript" src="_static/underscore.js"></script>
2626 <script type="text/javascript" src="_static/doctools.js"></script>
27− <link rel="top" title="searx 0.9.0 documentation" href="index.html" />
27+ <link rel="index" title="Index" href="#" />
28+ <link rel="search" title="Search" href="search.html" />
29+ <link rel="top" title="searx 0.10.0 documentation" href="index.html" />
2830
2931
3032 <link media="only screen and (max-device-width: 480px)" href="_static/small_flask.css" type= "text/css" rel="stylesheet" />
index.html+8−4
@@ -6,7 +6,7 @@
66 <head>
77 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
9− <title>Welcome to searx &mdash; searx 0.9.0 documentation</title>
9+ <title>Welcome to searx &#8212; searx 0.10.0 documentation</title>
1010
1111 <link rel="stylesheet" href="_static/style.css" type="text/css" />
1212 <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
1414 <script type="text/javascript">
1515 var DOCUMENTATION_OPTIONS = {
1616 URL_ROOT: './',
17− VERSION: '0.9.0',
17+ VERSION: '0.10.0',
1818 COLLAPSE_INDEX: false,
1919 FILE_SUFFIX: '.html',
2020 HAS_SOURCE: true
@@ -23,7 +23,9 @@
2323 <script type="text/javascript" src="_static/jquery.js"></script>
2424 <script type="text/javascript" src="_static/underscore.js"></script>
2525 <script type="text/javascript" src="_static/doctools.js"></script>
26− <link rel="top" title="searx 0.9.0 documentation" href="#" />
26+ <link rel="index" title="Index" href="genindex.html" />
27+ <link rel="search" title="Search" href="search.html" />
28+ <link rel="top" title="searx 0.10.0 documentation" href="#" />
2729 <link rel="next" title="Search syntax" href="user/search_syntax.html" />
2830
2931
@@ -51,7 +53,7 @@
5153<li>No user tracking</li>
5254<li>No user profiling</li>
5355<li>About 70 supported search engines</li>
54−<li>Easy intergration with any search engines</li>
56+<li>Easy integration with any search engine</li>
5557<li>Cookies are not used by default</li>
5658<li>Secure, encrypted connections (HTTPS/SSL)</li>
5759<li>Hosted by organisations, such as La Quadrature du Net, which promote digital rights</li>
@@ -63,6 +65,7 @@
6365<div class="toctree-wrapper compound">
6466<ul>
6567<li class="toctree-l1"><a class="reference internal" href="user/search_syntax.html">Search syntax</a></li>
68+<li class="toctree-l1"><a class="reference internal" href="user/own-instance.html">Why use a private instance?</a></li>
6669</ul>
6770</div>
6871</div>
@@ -72,6 +75,7 @@
7275<ul>
7376<li class="toctree-l1"><a class="reference internal" href="dev/install/installation.html">Installation</a></li>
7477<li class="toctree-l1"><a class="reference internal" href="admin/api.html">Administration API</a></li>
78+<li class="toctree-l1"><a class="reference internal" href="admin/api.html#embed-search-bar">Embed search bar</a></li>
7579<li class="toctree-l1"><a class="reference internal" href="admin/filtron.html">How to protect an instance</a></li>
7680</ul>
7781</div>
objects.inv+2−3
@@ -1,6 +1,5 @@
11# Sphinx inventory version 2
22# Project: searx
3−# Version: 0.9.0
3+# Version: 0.10.0
44# The remainder of this file is compressed using zlib.
5−x�u��N�0E��
6−K� [v�@� � �Gn<�#;����'��y�a��޹g&csѠ:��u�I�双G���Ɏ��3ܡV�X��PS��A�������C��3x��X����W�(��ʜf� ��F���t���Dz "�b࠲�Ki��WC��J �V���M �L�����c�=0�K#�C�g�@������n�K����!�G8ϗ2\���߼�(��c6|~;����kP��nQ�+�fK�4㪢0��� �*��f_�5�8-��s�-v��} �i�%L�'�&A�f��!�Lܹ�㛑o� ���M�Q�
5+x�uS�n� ��+��kW���Ti��äN��cE�K�d@���8��������gl(o�Z�V��׌� M���5�l�QXg�Z��n[aď��xd�:���O�i��9B�:��L*.��������i�8t�ם�0u��Yi�z�j�`�{0��S)VШ�A���ۓ2}�t!���� �Z���T`L��!��u��z �ʔ+�Y/Ѓ�mʑ���"�a�}�9�"��<�I��'�~]��[�a��_��kPBq8� MW��k��q� ��’�~Cp1����iz��<�ܵ�U"���杄�'^x��X6����,��>�Uzb��f����(B�=u0��g�&n/���L0c3GU�>ؘ�
requirements.txt+1−1
@@ -1 +1 @@
1−sphinx
1+sphinx==1.4.8
search.html+5−3
@@ -6,7 +6,7 @@
66 <head>
77 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
9− <title>Search &mdash; searx 0.9.0 documentation</title>
9+ <title>Search &#8212; searx 0.10.0 documentation</title>
1010
1111 <link rel="stylesheet" href="_static/style.css" type="text/css" />
1212 <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
1414 <script type="text/javascript">
1515 var DOCUMENTATION_OPTIONS = {
1616 URL_ROOT: './',
17− VERSION: '0.9.0',
17+ VERSION: '0.10.0',
1818 COLLAPSE_INDEX: false,
1919 FILE_SUFFIX: '.html',
2020 HAS_SOURCE: true
@@ -24,7 +24,9 @@
2424 <script type="text/javascript" src="_static/underscore.js"></script>
2525 <script type="text/javascript" src="_static/doctools.js"></script>
2626 <script type="text/javascript" src="_static/searchtools.js"></script>
27− <link rel="top" title="searx 0.9.0 documentation" href="index.html" />
27+ <link rel="index" title="Index" href="genindex.html" />
28+ <link rel="search" title="Search" href="#" />
29+ <link rel="top" title="searx 0.10.0 documentation" href="index.html" />
2830 <script type="text/javascript">
2931 jQuery(function() { Search.loadIndex("searchindex.js"); });
3032 </script>
searchindex.js+1−1
@@ -1 +1 @@
1−Search.setIndex({envversion:49,filenames:["admin/api","dev/contribution_guide","dev/engine_overview","dev/install/installation","dev/plugins","dev/quickstart","dev/search_api","dev/translation","index","user/search_syntax"],objects:{},objnames:{},objtypes:{},terms:{"boolean":2,"break":1,"byte":2,"case":[3,5,7],"default":1,"function":[2,4],"import":3,"int":2,"new":[1,4,5],"null":3,"public":8,"return":[],"short":5,"static":4,"switch":1,"true":[0,2,3,4,5],"try":5,"while":[],a2enmod:3,abbrevat:9,abl:[1,2],about:[1,3,8],abov:[1,3],accept:9,access_log:3,activ:[3,5,6],activat:3,adapt:2,adapter:2,add:[1,4],addit:[2,3],addition:8,address:2,adopt:1,adress:2,advis:[3,6],after:[4,5,7],agent:2,aggreg:8,all:[1,2,6],allow:[3,9],alreadi:1,also:[1,3,9],alter:1,alwai:[2,5],among:1,ani:8,anonym:8,anoth:2,anyon:8,apache2:3,api_kei:2,app:3,appear:5,appli:[1,3],applic:3,appropri:1,apt:[3,5],arbitrari:2,arch:0,arrai:2,asciimoo:[3,5,7],aspect:1,assign:2,attach:4,authors:1,auto:7,autocomplet:0,avail:[3,5,6],back:3,base:2,base_url:[2,3],bash:3,becaus:[1,2,5],befor:5,before:4,behaviour:[1,4],below:[1,3,5],better:[2,3],between:2,bin:[3,5],bitbucket:0,born:1,both:[1,6],boundingbox:2,branch:1,browser:1,bug:5,bugreport:1,build:1,build_grunt:5,built:[1,2,5],callback:4,can:[1,2,3,4,5,7,8],capabl:1,categori:[0,2,6,9],certif:3,chainabl:9,chang:[3,7],chapter:1,charact:1,chdir:3,check:[1,2],checkout:1,chmod:3,choos:[1,2],chown:3,citi:2,cli:5,client:7,clone:[3,5],code:[],collect:[],com:[2,3,5,7],combin:3,come:1,comma:6,command:[3,5,7],commit:5,common:5,compon:4,concern:1,conf:3,config:[0,2,3],connect:8,consequ:1,construct:2,consult:5,contain:5,context:4,contribut:[],convent:1,cooki:[2,8],corner:1,could:2,count:3,countri:2,coupl:3,coverag:5,cpu:3,creat:[1,3,5],cryptic:5,css:4,css_depend:4,cthulhu:9,ctx:4,current:[1,2,9],custom:[1,9],customlog:3,data:[],date:2,datetim:2,ddg:9,debian:3,debug:[],decim:2,def:[2,4],default_local:0,default_on:4,default_them:0,defin:4,demon:3,depend:[2,3,5],deploi:3,descript:[4,6],deserv:1,desir:[2,5],deutsch:0,dev:3,differ:[1,2],digit:8,directori:7,disabl:[],disrespect:1,dockerfil:3,doe:2,domain:3,domin:1,don:8,duckduckgo:9,easi:8,easili:1,edit:[1,3,7],effect:1,either:5,elimin:5,embed:3,en_us:2,enabl:[0,1,3,5],encrypt:8,engin:[],engine:[],english:0,enpoint:6,enter:3,entry:4,error:[5,7],error_log:3,esperanto:0,essenti:3,etc:[1,3],everi:2,everyth:3,except:1,execut:7,exist:1,exit:3,expect:1,explain:1,extend:[1,4],extens:1,extern:2,fail:5,fals:[0,3,4,5],fanci:1,feedback:1,feel:4,few:[1,2],file:1,filenam:2,files:2,fine:3,first:5,fit:4,fix:[1,5],flask:4,folder:[1,2,5],follow:[1,2,5],followsymlink:3,fork:1,format:[2,5],forward:3,free:[],from:1,further:5,furthermor:[2,5,6],gener:1,geojson:2,german:0,get:[],gid:3,git:[3,5],github:[3,5],give:[2,5],goi:0,good:[1,5],googl:0,grant:3,grunt:5,guid:5,hack:1,hackerspac:9,handler:3,happi:1,have:[1,2,3,7],header:2,help:[1,5],here:7,hex:3,hidden:6,host:[],hotkei:0,hour:3,hous:2,house_numb:2,how:[],howev:[2,6],html:[1,2],http:[2,3,5,7],https:[0,8],hub:3,idea:5,imag:0,image:9,img_src:2,implement:[1,2,4],includ:3,inclus:9,index:3,inform:[1,2,3],ini:3,init:[],inside:2,instal:1,install:3,installat:[],instanc:[3,7,8],instance_nam:0,instead:5,intent:1,interfer:1,intergr:8,internal:5,internet:8,interpret:3,interpretor:3,introduct:5,iso:2,itself:1,js_depend:4,kei:2,lack:1,lang:[6,7],languag:[2,6],language_support:2,lat:2,latitud:2,lc_messages:7,leech:2,leecher:2,length:1,less:5,level:1,libapache2:3,libffi:3,libssl:3,libxslt:3,light:3,like:[0,2,3],line:1,linux:0,list:[2,4,6,9],listen:3,local:[0,2,3,4,5,7],localhost:3,locat:3,lon:2,longitud:2,low:3,magnetlink:2,mai:7,manag:[3,5],map:0,mass:1,master:3,matter:2,max:2,maxim:1,maximum:[1,2],media:2,messag:[5,7],messagespo:7,method:2,might:1,min:2,misbehav:1,mod:3,modifi:[7,9],modul:3,more:[1,3,8],multibl:2,must:[1,2,5],myproject:5,name:[0,2,3,4,6],necessari:3,need:1,neither:8,net:8,node:5,nodej:5,nodejs:5,none:2,nor:8,normal:2,note:[1,3],now:4,npm:5,number:[2,3,6],number_of_result:2,object:[2,4],off:[1,3],offer:[],often:2,okhin:3,on_result:4,onli:[3,4],onlin:8,openssl:3,openstreetmap:0,option:[2,3,4,5,6],order:[1,5],org:2,organis:8,origin:3,oscar:0,osm:[0,2],other:[1,2],otherwis:2,out:1,over:8,overview:[],overwritten:2,own:8,packag:[3,5],page:[1,2,6,9],pageno:[2,6],pagenumb:2,param:2,paramt:2,parti:[],partli:2,patch:1,path:3,pep8:[1,5],per:2,perform:2,phase:5,pip:1,place:[1,2],pleas:[1,3,5],plenti:1,port:3,possibl:3,post_search:4,postcod:2,pot:7,pre_search:4,prefer:9,prefix:9,preserv:1,preview:2,proce:3,profil:8,promot:8,protect:1,provid:[1,2],proxi:3,proxy_add_x_forwarded_for:3,proxy_buff:3,proxy_pass:3,proxy_set_head:3,publish:2,publishedd:2,pull:[1,3,7],purpos:2,push:7,pybabel2:7,pybabel:[3,7],python2:7,python:3,pythonpath:3,quadratur:8,queri:[2,6,9],quickstart:1,quit:1,qwer:9,rand:3,random:2,recommend:2,reconsid:1,redefin:2,reduc:1,remain:6,rememb:1,replac:4,repo:1,repositori:3,repres:2,request:1,requir:[1,2,5,6],restart:3,revers:3,rewrit:[0,3],right:[3,4,8],road:2,root:[3,7],round:1,rst:1,run:4,safe_search:0,same:2,satisfi:5,scheme:3,script:[3,5,7],script_name:3,search_path:2,search_str:2,searx:[],secur:8,sed:3,see:[1,3,6,8,9],seed:2,seeder:2,select:9,selenium:5,self:8,separ:[1,6],server_nam:3,servic:[3,8],sethandl:3,setup:[],share:[],shortcut:[0,2],should:[1,3],simpli:1,singl:3,site:[2,3],size:2,skip:5,small:2,socket:3,softwar:[],some:3,someth:1,sourc:[],special:2,specif:[2,3],specifi:[2,6],sphinx:1,ssl:[2,3,8],stack:5,standard:[1,2],start:[1,2,3,8],stash:3,step:[1,3,7],store:2,street:2,string:2,submit:1,sudo:[3,5],suggest:4,support:[1,2,6,8],sure:3,syntax:6,system:1,take:1,tell:2,templat:2,test:1,text:2,than:8,thi:[2,3,4,5,7],think:1,third:[],three:[1,4],thumbnail:2,thumbnail_src:2,time:2,timeout:2,titl:2,tld:3,tool:1,tor:8,torrentfil:2,trace:5,tracek:[],track:8,traffic:3,transifex:1,translat:[],travi:5,trust:8,try_fil:3,tupl:4,turn:[1,5],twice:3,two:[1,6],txt:1,type:[2,7],ubuntu:3,uid:3,ultrasecretkei:3,uncommon:1,under:[1,2],unfortun:1,unit:[1,5],unit_test:5,univers:3,unix:3,unspecifi:2,updat:1,update_dev_packag:5,update_packag:3,uri:3,url:2,urlencod:2,useradd:3,usr:3,usual:3,util:7,uwsgi_modifier1:3,uwsgi_param:3,uwsgi_pass:3,uwsgisocket:3,valid:[2,5],valu:2,variabl:2,variou:[1,4],vendor:1,verifi:2,via:9,vim:0,virtual:3,virtualenv:[3,5],wai:[1,2],warning:3,webapp:3,weird:1,whatev:3,when:[2,4,5],whether:5,which:[1,2,8],who:3,whole:[3,4],wide:1,wiki:0,wikipedia:9,wish:1,without:[2,8],wonderfal:3,word:4,work:[1,2,3,5],worker:3,world:1,wsgi:3,www:7,yet:2,you:[1,3,5,7,8,9],your:[1,4],yourself:1,zlib1g:3},titles:["Administration API","How to contribute","Engine overview","Installation","Plugins","Development Quickstart","Search API","Translation","Welcome to searx","Search syntax"],titleterms:{"default":2,"new":7,"return":2,add:7,administr:[0,8],all:7,apach:3,api:[0,6],argument:2,basic:3,build:5,check:3,code:[1,2],compil:[5,7],configur:[0,2,3],content:[2,3],contribut:1,data:0,debug:5,design:1,develop:[5,8],direct:1,disabl:3,doc:[],docker:3,document:[1,8],engin:2,engine:2,entri:4,environ:5,exampl:[2,4,9],featur:8,file:[2,7],free:[],from:3,gener:2,get:[0,7],hackabl:1,hook:4,host:3,how:[1,3,5],imag:2,init:7,instal:3,installat:3,javascript:5,languag:7,log:3,make:2,map:2,metasearch:[],nginx:3,oscar:5,overrid:2,overview:2,paramet:6,pars:2,pass:2,plugin:4,point:4,post:4,pre:4,prime:1,privaci:1,project:7,quickstart:5,request:2,respect:[],respons:0,result:[2,4],run:5,sampl:0,search:[4,6,9],searx:[3,8],server:3,set:2,setup:5,sourc:[5,7],specifc:7,stuff:7,style:5,subdirectori:3,syntax:9,test:5,theme:5,tip:5,torrent:2,transifex:7,translat:[1,7],updat:3,update:7,upload:7,url:3,user:8,uwsgi:3,video:2,web:3,welcom:8,yml:2,your:5}})
1+Search.setIndex({envversion:49,filenames:["admin/api","admin/filtron","dev/contribution_guide","dev/engine_overview","dev/install/installation","dev/plugins","dev/quickstart","dev/search_api","dev/translation","index","user/own-instance","user/search_syntax"],objects:{},objnames:{},objtypes:{},terms:{"boolean":3,"break":2,"byte":3,"case":[4,6,8,10],"default":[],"function":[3,5],"import":4,"int":3,"long":10,"new":[],"null":4,"public":[],"return":[],"short":6,"static":5,"switch":2,"true":[0,1,3,4,5,6],"try":[6,10],"while":[],a2enmod:4,abbrevat:11,abl:[2,3],about:[2,4],abov:[2,4],abus:[1,10],accept:11,access:[1,10],access_log:4,action:[0,1],activ:[4,6,7],activat:4,adapt:3,adapter:3,add:[],addit:[3,4],addition:[9,10],additionali:[],address:[3,10],administ:[],adminstr:[],adopt:2,adress:[],advertis:10,advis:[1,4],after:[5,6,8],agent:[1,3],aggrag:[],aggragatedand:[],aggreg:[1,9,10],ahrefsbot:1,all:[],allow:[4,11],along:1,alreadi:2,also:[2,4,10,11],alter:2,alwai:[3,6,10],among:[2,10],ani:9,anonm:[],anonym:[9,10],anoth:3,answer:10,anti:[],anyon:9,anyth:10,apache2:4,api_kei:3,app:4,appear:6,appli:[2,4],applic:[1,4],applitaion:[],appropri:2,apt:[4,6],arbitrari:3,arch:0,archiv:1,arrai:3,asciimoo:[4,6,8],aspect:2,assign:3,attach:5,attack:[],authors:2,auto:8,autocomplet:0,avail:[4,6,7,10],avoid:1,back:4,baiduspid:1,ban:10,base:3,base_url:[3,4],bash:4,becaus:[2,3,6,10],becom:[],befor:[6,10],before:5,behav:[],behaviour:[2,5],below:[1,2,4,6],besid:10,best:10,better:[3,4,10],between:3,bin:[4,6],bingbot:1,bitbucket:0,block:1,born:2,bot:1,both:[2,7,10],botlimit:1,boundingbox:3,branch:2,browser:[2,10],bug:6,bugreport:2,build:[],build_grunt:6,built:[2,3,6],button:[],callback:5,can:[0,1,2,3,4,5,6,8,9,10],cannot:10,capabl:2,captcha:10,captha:[],categori:[0,3,7,11],certif:4,chainabl:11,chang:[4,8],chapter:2,charact:2,chdir:4,check:[],checkout:2,chmod:4,choic:10,choos:[2,3],chown:4,citi:3,clear:10,cli:6,client:[1,8],clone:[4,6],code:[],collect:[],com:[3,4,6,8],combin:4,come:[1,2,10],comfort:[],comma:7,command:[1,4,6,8],commit:6,common:[6,10],compani:10,complet:[],compon:5,compromis:10,comput:10,concern:2,conf:4,config:[0,3,4],connect:9,consequ:[],construct:3,consult:6,contain:6,context:5,contribut:[],control:10,convent:2,cooki:[3,9,10],corner:2,could:3,count:4,countri:3,coupl:4,coverag:6,cpu:4,creat:[2,4,6],cryptic:6,css:5,css_depend:5,csv:1,cthulhu:11,ctx:5,curl:1,current:[2,3,11],custom:[2,11],customiz:0,customlog:4,dai:7,data:[],date:[0,3],datetim:3,ddg:11,debian:4,debug:[],decim:3,def:[3,5],default_local:0,default_on:5,default_them:0,defend:[],defin:5,delet:[],demon:4,depen:1,depend:[3,4,6],deploi:4,descript:[5,7],deserv:2,desir:[3,6],deutsch:0,dev:4,devic:[],differ:[2,3],digit:9,directori:8,disabl:[],disrespect:2,dive:10,dockerfil:4,doe:[],domain:4,domin:2,don:9,down:[],duckduckgo:11,easi:9,easier:[],easili:2,edit:[2,4,8,10],effect:2,either:6,elimin:6,embed:[],en_us:3,enabl:[0,2,4,6],encrypt:9,engin:[],engine:[],english:0,enpoint:7,enter:4,entry:5,error:[6,8],error_log:4,esperanto:0,essenti:4,etc:[1,2,4],even:[],everi:[3,10],everyon:10,everyth:[4,10],exactli:1,exceed:1,except:2,exchang:10,execut:8,exist:2,exit:4,expect:2,expertis:[],expir:[],explain:2,extend:[2,5],extens:2,extern:[1,3,10],extract:[],fail:6,fals:[0,4,5,6],fanci:2,feedback:2,feedfetch:1,feel:5,few:[2,3],file:[],filenam:3,files:3,filter:[0,1],filtron:[],find:1,fine:4,fiorward:[],firewal:1,first:[6,10],fit:5,fix:[2,6],flask:5,folder:[2,3,6],follow:[1,2,3,6],followsymlink:4,forget:[],fork:2,form:[0,10],format:[1,3,6],forward:[1,4,10],found:1,free:[],friend:10,from:[],further:6,furthermor:[3,6,7,10],gain:10,gener:[],geojson:3,german:0,get:[],gid:4,git:[4,6],github:[4,6],give:6,goi:0,golang:[],gone:[],good:[2,6],googl:0,googlebot:1,grant:4,group:10,grunt:6,guid:6,hack:2,hackerspac:11,handl:10,handler:4,happi:2,harder:[],have:[2,3,4,8,10],header:[1,3],help:[2,6],her:10,here:8,hex:4,hidden:[0,10],hit:[],host:[],hotkei:0,hour:4,hous:3,house_numb:3,how:[],howev:3,html:[0,2,3],http:[0,1,3,4,6,8],http_host:1,https:[0,9],hub:4,idea:6,imag:[],image:11,img_src:3,implement:[2,3,5],includ:4,inclus:11,index:4,inform:[2,3,4],informat:1,infrastructur:[],ini:4,init:[],input:0,insanc:[],inside:3,insight:10,instal:[],install:4,installat:[],instanc:[],instance_nam:0,instead:6,integr:9,intent:2,interfer:2,intergr:[],internal:6,internet:9,interpret:4,interpretor:4,interv:1,introduct:6,invis:[],iso:3,itself:2,jame:1,js_depend:5,json:1,just:[0,10],kei:3,kind:10,know:10,lack:2,lang:[0,7,8],languag:[],language_support:3,laptop:10,lat:3,latitud:3,lc_messages:8,leak:[],leech:3,leecher:3,length:2,less:[6,10],let:10,level:2,libapache2:4,libffi:4,libssl:4,libxslt:4,light:4,like:[0,3,4],limit:1,line:2,linkdexbot:1,linux:0,list:[3,5,7,11],listen:[1,4],local:[0,3,4,5,6,8],localhost:4,locat:[1,4],lon:3,longitud:3,low:4,machin:[],magnetlink:3,mai:8,maker:[],malici:[],manag:[4,6],mani:1,map:[],mass:2,master:4,matter:[3,10],max:[1,3],maxim:2,maximum:[2,3],mean:10,media:[0,3],messag:[1,6,8],messagespo:8,method:[0,3],might:[2,10],min:3,mind:[],misbehav:2,misconcept:[],mix:[],mj12bot:1,mobil:[],mod:4,modifi:[8,11],modul:4,monet:10,month:[0,7],more:[2,4,9,10],morti:[],most:10,msnbot:1,much:[],multibl:3,multipl:10,must:[2,3,6],myproject:6,name:[0,1,3,4,5,7],navig:[],necessari:4,need:[2,10],neither:9,net:9,netvib:1,never:[],node:6,nodej:6,nodejs:6,none:3,nor:9,normal:3,note:[2,4],now:5,npm:6,number:[1,3,4,7],number_of_result:3,object:[3,5],obviou:[],ocnfigur:[],off:[2,4],offer:[],often:3,okhin:4,on_result:5,onli:[4,5],onlin:9,open:10,openssl:4,openstreetmap:0,oper:10,option:[3,4,5,6,7,10],order:[2,6],org:3,org_bot:1,organis:9,origin:4,oscar:[],osm:[0,3],other:[2,3,10],otherwis:3,out:2,over:9,overview:[],overwritten:3,own:[9,10],packag:[4,6],page:[1,2,3,7,10,11],pageno:[3,7],pagenumb:3,param:[1,3],paramt:3,parti:10,partli:3,past:0,patch:2,path:[1,4],peopl:10,pep8:[2,6],per:3,perform:3,person:[],phase:6,pip:2,place:[2,3,10],pleas:[2,4,6],plenti:2,port:[1,4],possibl:[4,7],post_search:5,postcod:3,pot:8,practic:[],pre_search:5,prefer:[10,11],prefix:11,preserv:2,preview:3,privat:[],problem:1,proce:4,process:1,profil:[9,10],promot:9,proper:10,protect:[],provid:[2,3],proxi:[4,10],proxy_add_x_forwarded_for:[1,4],proxy_buff:4,proxy_pass:[1,4],proxy_set_head:[1,4],publish:3,publishedd:3,pull:[2,4,8],purpos:3,push:8,put:[],pybabel2:8,pybabel:[4,8],python2:8,python:[1,4],pythonpath:4,quadratur:9,queri:[0,3,7,10,11],question:10,quickstart:[],quit:2,qwer:11,ran:[],rand:4,random:[3,10],rang:[3,7],rate:1,reach:[],real:1,recommend:3,reconsid:2,redefin:3,reduc:2,refer:10,referr:[],regardless:10,remain:[],rememb:2,remote_addr:1,remov:10,replac:5,repo:2,repositori:4,repres:[],request:[],requir:[2,3,6,7],reset:10,restart:4,revers:4,rewrit:[0,4],right:[4,5,9],road:3,roboag:1,root:[4,8],round:2,rss:1,rst:2,rule:1,run:[],safe_search:0,same:[1,3],satisfi:6,scheme:[1,4],scrapi:1,script:[1,4,6,8],script_name:4,search_path:3,search_str:3,searx:[],sec:1,secret:[],section:[],secur:9,sed:4,see:[],seed:3,seeder:3,select:[10,11],selenium:6,self:9,send:[1,10],sender:[],sent:10,separ:[2,7],serv:10,server_nam:4,servic:[1,4,9,10],sethandl:4,setup:[],sevic:[],seznambot:1,share:[],she:10,shine:[],shortcut:[0,3],should:[],similarli:[],simpli:2,singl:[4,10],site:[0,3,4],size:3,skip:6,slurp:1,small:3,smtbot:1,social:0,socket:4,softwar:[],sold:10,solv:1,some:4,someon:10,someth:2,sourc:[],special:3,specif:[3,4],specifi:[3,7],sphinx:2,ssl:[3,4,9],stack:6,stai:[],standard:[2,3],start:[1,2,3,4,9],stash:4,step:[2,4,8],stop:1,store:[3,10],street:3,string:3,submit:2,subrul:1,sudo:[4,6],suggest:5,support:[2,3,7,9,10],sure:4,syntax:[],system:2,tailor:10,taior:[],take:2,tell:3,templat:3,test:[],text:[0,3],than:9,thei:10,them:[],therefor:[],thi:[1,3,4,5,6,8,10],think:2,third:10,those:10,three:[2,5,10],thu:10,thumbnail:3,thumbnail_src:3,time:[1,3,7,10],time_rang:[0,7],time_range_support:3,timeout:3,titl:3,tld:4,too:[1,10],tool:2,tor:[9,10],torrentfil:3,trace:6,tracek:[],track:[9,10],traffic:4,transifex:[],translat:[],travi:6,trust:[9,10],try_fil:4,tupl:5,turn:[2,6],twice:4,two:[2,7],txt:2,type:[0,3,8,10],ubuntu:4,uid:4,ultrasecretkei:4,uncommon:2,under:[2,3],unfortun:2,unit:[2,6],unit_test:6,univers:4,unix:4,unknown:10,unless:[],unlik:10,unprotect:[],unspecifi:3,updat:[],update_dev_packag:6,update_packag:4,uri:4,url:[],urlencod:3,use:1,useless:[],useradd:4,userag:1,useragent:1,using:[],usr:4,usual:4,usualli:10,util:8,uwsgi_modifier1:4,uwsgi_param:4,uwsgi_pass:4,uwsgisocket:4,valid:[3,6],valu:[0,3],variabl:3,variou:[2,5],vendor:2,verifi:3,via:11,view:10,vim:0,virtual:4,virtualenv:[4,6],visibl:[],visit:10,visitor:[],vpn:10,vulner:10,wai:[2,3,10],want:10,warning:4,webapp:4,webcrawl:1,websit:0,weird:2,wget:1,whatev:4,when:[5,6,10],where:1,whether:[6,10],which:[1,2,3,9,10],who:[4,10],whole:[4,5],why:[],wide:2,wihout:[],wiki:0,wikipedia:11,wish:2,without:[3,9,10],won:[],wonderfal:4,word:5,work:[2,3,4,6,10],worker:4,world:[2,10],worth:10,written:[],wsgi:4,www:8,yacybot:1,yahoo:1,yandexbot:1,yandexmobilebot:1,year:7,yet:3,you:[2,4,6,8,9,10,11],your:[],yourself:2,zgrab:1,zlib1g:4},titles:["Administration API","How to protect an instance","How to contribute","Engine overview","Installation","Plugins","Development Quickstart","Search API","Translation","Welcome to searx","Why use a private instance?","Search syntax"],titleterms:{"default":3,"new":8,"public":10,"return":3,about:10,add:8,administr:[0,9],advantag:[],all:8,apach:4,api:[0,7],argument:3,bar:0,basic:4,build:6,check:4,code:[2,3],compil:[6,8],conclus:10,configur:[0,1,3,4],consequ:10,content:[3,4],contribut:2,data:0,debug:6,design:2,develop:[6,9],direct:2,disabl:4,doc:[],docker:4,document:[2,9],doe:10,embed:0,engin:3,engine:3,entri:5,environ:6,exampl:[3,5,11],featur:9,file:[3,8],filtron:1,free:[],from:4,gener:3,get:[0,8],hackabl:2,hook:5,host:4,how:[1,2,4,6,10],imag:3,init:8,instal:4,installat:4,instanc:[1,10],javascript:6,languag:8,log:4,make:3,map:3,metasearch:[],nginx:4,oscar:6,overrid:3,overview:3,paramet:7,pars:3,pass:3,person:[],plugin:5,point:5,post:5,pre:5,prime:2,privaci:[2,10],privat:10,project:8,protect:[1,10],quickstart:6,request:[1,3],respect:[],respons:0,result:[3,5],rout:1,run:6,sampl:[0,1],search:[0,5,7,11],searx:[4,9,10],see:10,server:4,set:3,setup:6,should:[],sourc:[6,8],specifc:8,still:[],stuff:8,style:6,subdirectori:4,syntax:11,test:6,theme:6,through:1,tip:6,torrent:3,transifex:8,translat:[2,8],updat:4,update:8,upload:8,url:4,user:9,uwsgi:4,video:3,web:4,welcom:9,what:10,why:10,yml:3,your:6}})
user/own-instance.htmlnew file+108
@@ -0,0 +1,108 @@
1+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3+
4+
5+<html xmlns="http://www.w3.org/1999/xhtml">
6+ <head>
7+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8+
9+ <title>Why use a private instance? &#8212; searx 0.10.0 documentation</title>
10+
11+ <link rel="stylesheet" href="../_static/style.css" type="text/css" />
12+ <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
13+
14+ <script type="text/javascript">
15+ var DOCUMENTATION_OPTIONS = {
16+ URL_ROOT: '../',
17+ VERSION: '0.10.0',
18+ COLLAPSE_INDEX: false,
19+ FILE_SUFFIX: '.html',
20+ HAS_SOURCE: true
21+ };
22+ </script>
23+ <script type="text/javascript" src="../_static/jquery.js"></script>
24+ <script type="text/javascript" src="../_static/underscore.js"></script>
25+ <script type="text/javascript" src="../_static/doctools.js"></script>
26+ <link rel="index" title="Index" href="../genindex.html" />
27+ <link rel="search" title="Search" href="../search.html" />
28+ <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
29+ <link rel="next" title="Installation" href="../dev/install/installation.html" />
30+ <link rel="prev" title="Search syntax" href="search_syntax.html" />
31+
32+
33+ <link media="only screen and (max-device-width: 480px)" href="../_static/small_flask.css" type= "text/css" rel="stylesheet" />
34+ <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9">
35+
36+ </head>
37+ <body role="document">
38+
39+ <div class="document">
40+ <div class="documentwrapper">
41+ <div class="bodywrapper">
42+ <div class="body" role="main">
43+
44+ <div class="section" id="why-use-a-private-instance">
45+<h1>Why use a private instance?<a class="headerlink" href="#why-use-a-private-instance" title="Permalink to this headline">¶</a></h1>
46+<p>&#8220;Is it worth to run my own instance?&#8221; is a common question among searx users. Before answering this question, see what options a searx user has.</p>
47+<p>Public instances are open to everyone who has access to its URL. Usually, these are operated by unknown parties (from the users&#8217; point of view). Private instances can be used by a select group of people. It is for example a searx of group of friends or a company which can be accessed through VPN. Also it can be single user one which runs on the user&#8217;s laptop.</p>
48+<p>To gain more insight on how these instances work let&#8217;s dive into how searx protects its users.</p>
49+<div class="section" id="how-does-searx-protect-privacy">
50+<h2>How does searx protect privacy?<a class="headerlink" href="#how-does-searx-protect-privacy" title="Permalink to this headline">¶</a></h2>
51+<p>Searx protects the privacy of its users in multiple ways regardless of the type of the instance (private, public). Removal of private data from search requests comes in three forms:</p>
52+<blockquote>
53+<div><ol class="arabic simple">
54+<li>removal of private data from requests going to search services</li>
55+<li>not forwarding anything from a third party services through search services (e.g. advertisement)</li>
56+<li>removal of private data from requests going to the result pages</li>
57+</ol>
58+</div></blockquote>
59+<p>Removing private data means not sending cookies to external search engines and generating a random browser profile for every request. Thus, it does not matter if a public or private instance handles the request, because it is anonymized in both cases. IP addresses will be the IP of the instance. But searx can be configured to use proxy or Tor. <a class="reference external" href="https://github.com/asciimoo/morty">Result proxy</a> is supported, too.</p>
60+<p>Searx does not serve adds or tracking content unlike most search services. So private data is not forwarded to third parties who might monetize it. Besides protecting users from search services, both referring page and search query are hidden from visited result pages.</p>
61+<div class="section" id="what-are-the-consequences-of-using-public-instances">
62+<h3>What are the consequences of using public instances?<a class="headerlink" href="#what-are-the-consequences-of-using-public-instances" title="Permalink to this headline">¶</a></h3>
63+<p>If someone uses a public instance, he/she has to trust the administrator of that instance.
64+This means that the user of the public instance does not know whether his/her requests are logged, aggregated and sent or sold to a third party.</p>
65+<p>Also, public instances without proper protection are more vulnerable to abusing the search service, In this case the external service in exchange returns CAPTCHAs or bans the IP of the instance. Thus, search requests return less results.</p>
66+</div>
67+<div class="section" id="i-see-what-about-private-instances">
68+<h3>I see. What about private instances?<a class="headerlink" href="#i-see-what-about-private-instances" title="Permalink to this headline">¶</a></h3>
69+<p>If users run their own instances, everything is in their control: the source code, logging settings and private data. Unknown instance administrators do not have to be trusted.</p>
70+<p>Furthermore, as the default settings of their instance is editable, there is no need to use cookies to tailor searx to their needs. So preferences will not be reset to defaults when clearing browser cookies. As settings are stored on their computer, it will not be accessible to others as long as their computer is not compromised.</p>
71+</div>
72+</div>
73+<div class="section" id="conclusion">
74+<h2>Conclusion<a class="headerlink" href="#conclusion" title="Permalink to this headline">¶</a></h2>
75+<p>Always use an instance which is operated by people you trust. The privacy features of searx are available to users no matter what kind of instance they use.</p>
76+<p>If someone is on the go or just wants to try searx for the first time public instances are the best choices. Additionally, public instance are making a world a better place, because those who cannot or do not want to run an instance, have access to a privacy respecting search service.</p>
77+</div>
78+</div>
79+
80+
81+ </div>
82+ </div>
83+ </div>
84+ <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
85+ <div class="sphinxsidebarwrapper"><div class="sidebar_container body">
86+<h1>Searx</h1>
87+<ul>
88+ <li><a href="../index.html">Home</a></li>
89+ <li><a href="https://github.com/asciimoo/searx">Source</a></li>
90+ <li><a href="https://github.com/asciimoo/searx/wiki">Wiki</a></li>
91+ <li><a href="https://github.com/asciimoo/searx/wiki/Searx-instances">Public instances</a></li>
92+</ul>
93+<hr />
94+<ul>
95+ <li><a href="https://twitter.com/Searx_engine">Twitter</a></li>
96+ <li><a href="https://flattr.com/submit/auto?user_id=asciimoo&url=https://github.com/asciimoo/searx&title=searx&language=&tags=github&category=software">Flattr</a></li>
97+ <li><a href="https://gratipay.com/searx">Gratipay</a></li>
98+</ul>
99+</div>
100+ </div>
101+ </div>
102+ <div class="clearer"></div>
103+ </div>
104+ <div class="footer">
105+ &copy; Copyright 2015-2016, Adam Tauber.
106+ </div>
107+ </body>
108+</html>
user/search_syntax.html+5−3
@@ -6,7 +6,7 @@
66 <head>
77 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
9− <title>Search syntax &mdash; searx 0.9.0 documentation</title>
9+ <title>Search syntax &#8212; searx 0.10.0 documentation</title>
1010
1111 <link rel="stylesheet" href="../_static/style.css" type="text/css" />
1212 <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -14,7 +14,7 @@
1414 <script type="text/javascript">
1515 var DOCUMENTATION_OPTIONS = {
1616 URL_ROOT: '../',
17− VERSION: '0.9.0',
17+ VERSION: '0.10.0',
1818 COLLAPSE_INDEX: false,
1919 FILE_SUFFIX: '.html',
2020 HAS_SOURCE: true
@@ -23,7 +23,9 @@
2323 <script type="text/javascript" src="../_static/jquery.js"></script>
2424 <script type="text/javascript" src="../_static/underscore.js"></script>
2525 <script type="text/javascript" src="../_static/doctools.js"></script>
26− <link rel="top" title="searx 0.9.0 documentation" href="../index.html" />
26+ <link rel="index" title="Index" href="../genindex.html" />
27+ <link rel="search" title="Search" href="../search.html" />
28+ <link rel="top" title="searx 0.10.0 documentation" href="../index.html" />
2729 <link rel="next" title="Installation" href="../dev/install/installation.html" />
2830 <link rel="prev" title="Welcome to searx" href="../index.html" />
2931