forked from zaclys/searxng
		
	
						commit
						d20f2822d0
					
				
					 24 changed files with 81 additions and 86 deletions
				
			
		
							
								
								
									
										29
									
								
								AUTHORS.rst
									
										
									
									
									
								
							
							
						
						
									
										29
									
								
								AUTHORS.rst
									
										
									
									
									
								
							| 
						 | 
					@ -1,21 +1,18 @@
 | 
				
			||||||
Searx was created by Adam Tauber and is maintained by Adam Tauber, Noémi Ványi, @pofilo, Gaspard d'Hautefeuille and Émilien Devos.
 | 
					searxng is a fork from `searx <https://github.com/searx/searx>`_ and is
 | 
				
			||||||
 | 
					maintained by Alexandre Flament (`@dalf <https://github.com/dalf>`_) and Markus
 | 
				
			||||||
 | 
					Heiser (`@return42 <https://github.com/return42>`_)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Major contributing authors:
 | 
					People who have submitted patches/translations, reported bugs, consulted
 | 
				
			||||||
 | 
					features or generally made searx better:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- Adam Tauber <asciimoo@gmail.com> `@asciimoo <https://github.com/asciimoo>`_
 | 
					- Adam Tauber `@asciimoo <https://github.com/asciimoo>`_
 | 
				
			||||||
- Matej Cotman
 | 
					- Matej Cotman `@matejc <https://github.com/matejc>`_
 | 
				
			||||||
- Thomas Pointhuber
 | 
					- Émilien Devos `@unixfox <https://github.com/unixfox>`_
 | 
				
			||||||
- Alexandre Flament `@dalf <https://github.com/dalf>`_
 | 
					- Thomas Pointhuber `pointhi <https://github.com/pointhi>`_
 | 
				
			||||||
- @Cqoicebordel
 | 
					- Noémi Ványi `@kvch <https://github.com/kvch>`_
 | 
				
			||||||
- Noémi Ványi
 | 
					- `@Cqoicebordel <https://github.com/Cqoicebordel>`_
 | 
				
			||||||
- Marc Abonce Seguin @a01200356
 | 
					- Marc Abonce Seguin `@MarcAbonce <https://github.com/MarcAbonce>`_
 | 
				
			||||||
- @pofilo
 | 
					- `@pofilo <https://github.com/pofilo>`_
 | 
				
			||||||
- Markus Heiser @return42
 | 
					 | 
				
			||||||
- Émilien Devos @unixfox
 | 
					 | 
				
			||||||
- Alexandre Flament
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
People who have submitted patches/translations, reported bugs, consulted features or
 | 
					 | 
				
			||||||
generally made searx better:
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
- Laszlo Hammerl
 | 
					- Laszlo Hammerl
 | 
				
			||||||
- Stefan Marsiske
 | 
					- Stefan Marsiske
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -180,7 +180,7 @@ New settings.yml
 | 
				
			||||||
- ``ui.advanced_search`` - add preference for displaying advanced settings ( #2327 )
 | 
					- ``ui.advanced_search`` - add preference for displaying advanced settings ( #2327 )
 | 
				
			||||||
- ``server.method: "POST"`` - Make default query submission method configurable ( #2130 )
 | 
					- ``server.method: "POST"`` - Make default query submission method configurable ( #2130 )
 | 
				
			||||||
- ``server.default_http_headers`` - add default http headers ( #2295 )
 | 
					- ``server.default_http_headers`` - add default http headers ( #2295 )
 | 
				
			||||||
- ``engines.*.proxies`` - Using proxy only for specific engines ( #1827 #2319 ), see https://searx.github.io/searx/dev/engine_overview.html#settings-yml
 | 
					- ``engines.*.proxies`` - Using proxy only for specific engines ( #1827 #2319 ), see https://searxng.github.io/searxng/dev/engine_overview.html#settings-yml
 | 
				
			||||||
- ``enabled_plugins`` - Enabled plugins ( a05c660e3036ad8d02072fc6731af54c2ed6151c )
 | 
					- ``enabled_plugins`` - Enabled plugins ( a05c660e3036ad8d02072fc6731af54c2ed6151c )
 | 
				
			||||||
- ``preferences.lock`` - Let admins lock user preferences ( #2270 )
 | 
					- ``preferences.lock`` - Let admins lock user preferences ( #2270 )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -296,8 +296,8 @@ Special thanks to `NLNet <https://nlnet.nl>`__ for sponsoring multiple features
 | 
				
			||||||
   - Wikivoyage
 | 
					   - Wikivoyage
 | 
				
			||||||
   - Rubygems
 | 
					   - Rubygems
 | 
				
			||||||
 - Engine fixes (google, google images, startpage, gigablast, yacy)
 | 
					 - Engine fixes (google, google images, startpage, gigablast, yacy)
 | 
				
			||||||
 - Private engines introduced - more details: https://searx.github.io/searx/blog/private-engines.html
 | 
					 - Private engines introduced - more details: https://searxng.github.io/searxng/blog/private-engines.html
 | 
				
			||||||
 - Greatly improved documentation - check it at https://searx.github.io/searx
 | 
					 - Greatly improved documentation - check it at https://searxng.github.io/searxng
 | 
				
			||||||
 - Added autofocus to all search inputs
 | 
					 - Added autofocus to all search inputs
 | 
				
			||||||
 - CSP friendly oscar theme
 | 
					 - CSP friendly oscar theme
 | 
				
			||||||
 - Added option to hide engine errors with `display_error_messages` engine option (true/false values, default is true)
 | 
					 - Added option to hide engine errors with `display_error_messages` engine option (true/false values, default is true)
 | 
				
			||||||
| 
						 | 
					@ -595,7 +595,7 @@ News
 | 
				
			||||||
News
 | 
					News
 | 
				
			||||||
~~~~
 | 
					~~~~
 | 
				
			||||||
 | 
					
 | 
				
			||||||
New documentation page is available: https://searx.github.io/searx
 | 
					New documentation page is available: https://searxng.github.io/searxng
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
0.8.0 2015.09.08
 | 
					0.8.0 2015.09.08
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2,8 +2,8 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Resources in the documentation
 | 
					## Resources in the documentation
 | 
				
			||||||
 | 
					
 | 
				
			||||||
* [Development quickstart](https://searx.github.io/searx/dev/contribution_guide.html)
 | 
					* [Development quickstart](https://searxng.github.io/searxng/dev/contribution_guide.html)
 | 
				
			||||||
* [Contribution guide](https://searx.github.io/searx/dev/contribution_guide.html)
 | 
					* [Contribution guide](https://searxng.github.io/searxng/dev/contribution_guide.html)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Submitting PRs
 | 
					## Submitting PRs
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4,11 +4,11 @@ digraph G {
 | 
				
			||||||
  edge [fontname="Sans"];
 | 
					  edge [fontname="Sans"];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  browser [label="Browser", shape=Mdiamond];
 | 
					  browser [label="Browser", shape=Mdiamond];
 | 
				
			||||||
  rp      [label="Reverse Proxy", href="https://searx.github.io/searx/utils/filtron.sh.html#public-reverse-proxy"];
 | 
					  rp      [label="Reverse Proxy", href="https://searxng.github.io/searxng/utils/filtron.sh.html#public-reverse-proxy"];
 | 
				
			||||||
  filtron [label="Filtron",       href="https://searx.github.io/searx/utils/filtron.sh.html"];
 | 
					  filtron [label="Filtron",       href="https://searxng.github.io/searxng/utils/filtron.sh.html"];
 | 
				
			||||||
  morty   [label="Morty",         href="https://searx.github.io/searx/utils/morty.sh.html"];
 | 
					  morty   [label="Morty",         href="https://searxng.github.io/searxng/utils/morty.sh.html"];
 | 
				
			||||||
  static  [label="Static files",  href="url to configure static files"];
 | 
					  static  [label="Static files",  href="url to configure static files"];
 | 
				
			||||||
  uwsgi   [label="uwsgi",         href="https://searx.github.io/searx/utils/searx.sh.html"]
 | 
					  uwsgi   [label="uwsgi",         href="https://searxng.github.io/searxng/utils/searx.sh.html"]
 | 
				
			||||||
  searx1  [label="Searx #1"];
 | 
					  searx1  [label="Searx #1"];
 | 
				
			||||||
  searx2  [label="Searx #2"];
 | 
					  searx2  [label="Searx #2"];
 | 
				
			||||||
  searx3  [label="Searx #3"];
 | 
					  searx3  [label="Searx #3"];
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -16,7 +16,7 @@ Architecture
 | 
				
			||||||
Herein you will find some hints and suggestions about typical architectures of
 | 
					Herein you will find some hints and suggestions about typical architectures of
 | 
				
			||||||
searx infrastructures.
 | 
					searx infrastructures.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
We start with a contribution from :pull:`@dalf <1776#issuecomment-567917320>`.
 | 
					We start with a contribution from :pull-searx:`@dalf <1776#issuecomment-567917320>`.
 | 
				
			||||||
It shows a *reference* setup for public searx instances which can build up and
 | 
					It shows a *reference* setup for public searx instances which can build up and
 | 
				
			||||||
maintained by the scripts from our :ref:`toolboxing`.
 | 
					maintained by the scripts from our :ref:`toolboxing`.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -80,7 +80,7 @@ Configuration
 | 
				
			||||||
To create a initial ``/etc/searx/settings.yml`` you can start with a copy of the
 | 
					To create a initial ``/etc/searx/settings.yml`` you can start with a copy of the
 | 
				
			||||||
file :origin:`utils/templates/etc/searx/use_default_settings.yml`.  This setup
 | 
					file :origin:`utils/templates/etc/searx/use_default_settings.yml`.  This setup
 | 
				
			||||||
:ref:`use default settings <settings use_default_settings>` from
 | 
					:ref:`use default settings <settings use_default_settings>` from
 | 
				
			||||||
:origin:`searx/settings.yml` and is recommended since :pull:`2291` is merged.
 | 
					:origin:`searx/settings.yml` and is recommended since :pull-searx:`2291` is merged.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
For a *minimal setup*, configure like shown below – replace ``searx@$(uname
 | 
					For a *minimal setup*, configure like shown below – replace ``searx@$(uname
 | 
				
			||||||
-n)`` with a name of your choice, set ``ultrasecretkey`` -- *and/or* edit
 | 
					-n)`` with a name of your choice, set ``ultrasecretkey`` -- *and/or* edit
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -42,7 +42,7 @@ the case if you clone into a folder below ``/root``.
 | 
				
			||||||
.. code:: bash
 | 
					.. code:: bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   $ cd ~/Downloads
 | 
					   $ cd ~/Downloads
 | 
				
			||||||
   $ git clone https://github.com/searx/searx searx
 | 
					   $ git clone https://github.com/searxng/searxng.git searx
 | 
				
			||||||
   $ cd searx
 | 
					   $ cd searx
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.. sidebar:: further read
 | 
					.. sidebar:: further read
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -43,15 +43,16 @@ Global Settings
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   general:
 | 
					   general:
 | 
				
			||||||
       debug : False # Debug mode, only for development
 | 
					       debug : False # Debug mode, only for development
 | 
				
			||||||
       instance_name : "searx" # displayed name
 | 
					       instance_name : "searxng" # displayed name
 | 
				
			||||||
       git_url: https://github.com/searx/searx
 | 
					 | 
				
			||||||
       git_branch: master
 | 
					 | 
				
			||||||
       issue_url: https://github.com/searx/searx/issues
 | 
					 | 
				
			||||||
       docs_url: https://searx.github.io/searx
 | 
					 | 
				
			||||||
       public_instances: https://searx.space
 | 
					 | 
				
			||||||
       contact_url: False # mailto:contact@example.com
 | 
					       contact_url: False # mailto:contact@example.com
 | 
				
			||||||
       wiki_url: https://github.com/searx/searx/wiki
 | 
					
 | 
				
			||||||
       twitter_url: https://twitter.com/Searx_engine
 | 
					   brand:
 | 
				
			||||||
 | 
					       git_url: https://github.com/searxng/searxng
 | 
				
			||||||
 | 
					       git_branch: master
 | 
				
			||||||
 | 
					       issue_url: https://github.com/searxng/searxng/issues
 | 
				
			||||||
 | 
					       docs_url: https://searxng/searxng.github.io/searxng
 | 
				
			||||||
 | 
					       public_instances: https://searx.space
 | 
				
			||||||
 | 
					       wiki_url: https://github.com/searxng/searxng/wiki
 | 
				
			||||||
 | 
					
 | 
				
			||||||
``debug`` :
 | 
					``debug`` :
 | 
				
			||||||
  Allow a more detailed log if you run searx directly. Display *detailed* error
 | 
					  Allow a more detailed log if you run searx directly. Display *detailed* error
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -10,7 +10,7 @@ connecting to any networks from the same graphical user interface.
 | 
				
			||||||
Command line engines
 | 
					Command line engines
 | 
				
			||||||
====================
 | 
					====================
 | 
				
			||||||
 | 
					
 | 
				
			||||||
In :pull:`2128` a new type of engine has been introduced called ``command``.
 | 
					In :pull-searx:`2128` a new type of engine has been introduced called ``command``.
 | 
				
			||||||
This engine lets administrators add engines which run arbitrary shell commands
 | 
					This engine lets administrators add engines which run arbitrary shell commands
 | 
				
			||||||
and show its output on the web UI of searx.
 | 
					and show its output on the web UI of searx.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -56,7 +56,7 @@ As offline searches can return arbitrary results depending on the engine, the
 | 
				
			||||||
current result templates were insufficient to present such results.  Thus, a new
 | 
					current result templates were insufficient to present such results.  Thus, a new
 | 
				
			||||||
template is introduced which is caplable of presenting arbitrary key value pairs
 | 
					template is introduced which is caplable of presenting arbitrary key value pairs
 | 
				
			||||||
as a table. You can check out the pull request for more details see
 | 
					as a table. You can check out the pull request for more details see
 | 
				
			||||||
:pull:`1700`.
 | 
					:pull-searx:`1700`.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Next steps
 | 
					Next steps
 | 
				
			||||||
==========
 | 
					==========
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -81,7 +81,7 @@ fork:
 | 
				
			||||||
     .. code:: sh
 | 
					     .. code:: sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $ cd ~/Downloads
 | 
					        $ cd ~/Downloads
 | 
				
			||||||
        $ git clone https://github.com/searx/searx.git
 | 
					        $ git clone https://github.com/searxng/searxng.git searx
 | 
				
			||||||
        $ cd searx
 | 
					        $ cd searx
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The :ref:`lxc-searx.env` consists of several images, see ``export
 | 
					The :ref:`lxc-searx.env` consists of several images, see ``export
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -12,7 +12,7 @@ would rather share engines only with their trusted friends or colleagues.
 | 
				
			||||||
Private engines
 | 
					Private engines
 | 
				
			||||||
===============
 | 
					===============
 | 
				
			||||||
 | 
					
 | 
				
			||||||
To solve this issue private engines were introduced in :pull:`1823`.
 | 
					To solve this issue private engines were introduced in :pull-searx:`1823`.
 | 
				
			||||||
A new option was added to engines named `tokens`. It expects a list
 | 
					A new option was added to engines named `tokens`. It expects a list
 | 
				
			||||||
of strings. If the user making a request presents one of the tokens
 | 
					of strings. If the user making a request presents one of the tokens
 | 
				
			||||||
of an engine, they can access information about the engine
 | 
					of an engine, they can access information about the engine
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -54,7 +54,7 @@ If you found bugs
 | 
				
			||||||
Please open an issue on `GitHub`_.  Make sure that you mention your Python
 | 
					Please open an issue on `GitHub`_.  Make sure that you mention your Python
 | 
				
			||||||
version in your issue, so we can investigate it properly.
 | 
					version in your issue, so we can investigate it properly.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.. _GitHub: https://github.com/searx/searx/issues
 | 
					.. _GitHub: https://github.com/searxng/searxng/issues
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Acknowledgment
 | 
					Acknowledgment
 | 
				
			||||||
==============
 | 
					==============
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -81,7 +81,7 @@ ${fedora_build}
 | 
				
			||||||
    .. code-block:: sh
 | 
					    .. code-block:: sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
       $ sudo -H -u ${SERVICE_USER} -i
 | 
					       $ sudo -H -u ${SERVICE_USER} -i
 | 
				
			||||||
       (${SERVICE_USER})$ git clone \"https://github.com/searx/searx.git\" \"$SEARX_SRC\"
 | 
					       (${SERVICE_USER})$ git clone \"$GIT_URL\" \"$SEARX_SRC\"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.. END clone searx
 | 
					.. END clone searx
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -38,8 +38,9 @@ jinja_contexts = {
 | 
				
			||||||
extlinks = {}
 | 
					extlinks = {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# upstream links
 | 
					# upstream links
 | 
				
			||||||
extlinks['wiki'] = ('https://github.com/searx/searx/wiki/%s', ' ')
 | 
					extlinks['wiki'] = ('https://github.com/searxng/searxng/wiki/%s', ' ')
 | 
				
			||||||
extlinks['pull'] = ('https://github.com/searx/searx/pull/%s', 'PR ')
 | 
					extlinks['pull'] = ('https://github.com/searxng/searxng/pull/%s', 'PR ')
 | 
				
			||||||
 | 
					extlinks['pull-searx'] = ('https://github.com/searx/searx/pull/%s', 'PR ')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# links to custom brand
 | 
					# links to custom brand
 | 
				
			||||||
extlinks['origin'] = (brand.GIT_URL + '/blob/' + brand.GIT_BRANCH + '/%s', 'git://')
 | 
					extlinks['origin'] = (brand.GIT_URL + '/blob/' + brand.GIT_BRANCH + '/%s', 'git://')
 | 
				
			||||||
| 
						 | 
					@ -84,7 +85,7 @@ intersphinx_mapping = {
 | 
				
			||||||
    "sphinx" : ("https://www.sphinx-doc.org/en/master/", None),
 | 
					    "sphinx" : ("https://www.sphinx-doc.org/en/master/", None),
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
issues_github_path = "searx/searx"
 | 
					issues_github_path = "searxng/searxng"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# HTML -----------------------------------------------------------------
 | 
					# HTML -----------------------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -11,7 +11,7 @@ you simply by using :ref:`make <makefile>`.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.. code:: sh
 | 
					.. code:: sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    git clone https://github.com/searx/searx.git
 | 
					    git clone https://github.com/searxng/searxng.git searx
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Here is how a minimal workflow looks like:
 | 
					Here is how a minimal workflow looks like:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -288,7 +288,7 @@ content becomes smart.
 | 
				
			||||||
   project's wiki article     :wiki:`Offline-engines`            ``:wiki:`Offline-engines```
 | 
					   project's wiki article     :wiki:`Offline-engines`            ``:wiki:`Offline-engines```
 | 
				
			||||||
   to docs public URL         :docs:`dev/reST.html`              ``:docs:`dev/reST.html```
 | 
					   to docs public URL         :docs:`dev/reST.html`              ``:docs:`dev/reST.html```
 | 
				
			||||||
   files & folders origin     :origin:`docs/dev/reST.rst`        ``:origin:`docs/dev/reST.rst```
 | 
					   files & folders origin     :origin:`docs/dev/reST.rst`        ``:origin:`docs/dev/reST.rst```
 | 
				
			||||||
   pull request               :pull:`1756`                       ``:pull:`1756```
 | 
					   pull request               :pull:`4`                          ``:pull:`4```
 | 
				
			||||||
   patch                      :patch:`af2cae6`                   ``:patch:`af2cae6```
 | 
					   patch                      :patch:`af2cae6`                   ``:patch:`af2cae6```
 | 
				
			||||||
   PyPi package               :pypi:`searx`                      ``:pypi:`searx```
 | 
					   PyPi package               :pypi:`searx`                      ``:pypi:`searx```
 | 
				
			||||||
   manual page man            :man:`bash`                        ``:man:`bash```
 | 
					   manual page man            :man:`bash`                        ``:man:`bash```
 | 
				
			||||||
| 
						 | 
					@ -320,7 +320,7 @@ To list all anchors of the inventory (e.g. ``python``) use:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   $ python -m sphinx.ext.intersphinx https://docs.python.org/3/objects.inv
 | 
					   $ python -m sphinx.ext.intersphinx https://docs.python.org/3/objects.inv
 | 
				
			||||||
   ...
 | 
					   ...
 | 
				
			||||||
   $ python -m sphinx.ext.intersphinx https://searx.github.io/searx/objects.inv
 | 
					   $ python -m sphinx.ext.intersphinx https://searxng.github.io/searxng/objects.inv
 | 
				
			||||||
   ...
 | 
					   ...
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Literal blocks
 | 
					Literal blocks
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -23,8 +23,6 @@ anyone, you can set up your own, see :ref:`installation`.
 | 
				
			||||||
   - Easy integration with any search engine
 | 
					   - Easy integration with any search engine
 | 
				
			||||||
   - Cookies are not used by default
 | 
					   - Cookies are not used by default
 | 
				
			||||||
   - Secure, encrypted connections (HTTPS/SSL)
 | 
					   - Secure, encrypted connections (HTTPS/SSL)
 | 
				
			||||||
   - Hosted by organizations, such as *La Quadrature du Net*, which promote
 | 
					 | 
				
			||||||
     digital rights
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
.. toctree::
 | 
					.. toctree::
 | 
				
			||||||
   :maxdepth: 2
 | 
					   :maxdepth: 2
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -8,9 +8,9 @@ from searx.engines import categories as searx_categories
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# about
 | 
					# about
 | 
				
			||||||
about = {
 | 
					about = {
 | 
				
			||||||
    "website": 'https://github.com/searx/searx',
 | 
					    "website": 'https://github.com/searxng/searxng',
 | 
				
			||||||
    "wikidata_id": 'Q17639196',
 | 
					    "wikidata_id": 'Q17639196',
 | 
				
			||||||
    "official_api_documentation": 'https://searx.github.io/searx/dev/search_api.html',
 | 
					    "official_api_documentation": 'https://searxng.github.io/searxng/dev/search_api.html',
 | 
				
			||||||
    "use_official_api": True,
 | 
					    "use_official_api": True,
 | 
				
			||||||
    "require_api_key": False,
 | 
					    "require_api_key": False,
 | 
				
			||||||
    "results": 'JSON',
 | 
					    "results": 'JSON',
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
general:
 | 
					general:
 | 
				
			||||||
    debug : False # Debug mode, only for development
 | 
					    debug : False # Debug mode, only for development
 | 
				
			||||||
    instance_name : "searx" # displayed name
 | 
					    instance_name : "searxng" # displayed name
 | 
				
			||||||
    contact_url: False # mailto:contact@example.com
 | 
					    contact_url: False # mailto:contact@example.com
 | 
				
			||||||
 | 
					
 | 
				
			||||||
brand:
 | 
					brand:
 | 
				
			||||||
| 
						 | 
					@ -89,7 +89,7 @@ outgoing: # communication with search engines
 | 
				
			||||||
#        - fe80::/126
 | 
					#        - fe80::/126
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# External plugin configuration
 | 
					# External plugin configuration
 | 
				
			||||||
# See http://searx.github.io/searx/dev/plugins.html for more details
 | 
					# See https://searxng.github.io/searxng/dev/plugins.html for more details
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# plugins:
 | 
					# plugins:
 | 
				
			||||||
#   - plugin1
 | 
					#   - plugin1
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,50 +1,49 @@
 | 
				
			||||||
<div{% if rtl %} dir="ltr"{% endif %}>
 | 
					<div{% if rtl %} dir="ltr"{% endif %}>
 | 
				
			||||||
  <h1>About <a href="{{ url_for('index') }}">searx</a></h1>
 | 
					  <h1>About <a href="{{ url_for('index') }}">searxng</a></h1>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <p>
 | 
					  <p>
 | 
				
			||||||
    Searx is a <a href="https://en.wikipedia.org/wiki/Metasearch_engine">metasearch engine</a>,
 | 
					    SearXNG is a fork from the well-known <a href="https://github.com/searx/searx">searx</a>
 | 
				
			||||||
 | 
					    <a href="https://en.wikipedia.org/wiki/Metasearch_engine"> metasearch engine</a>,
 | 
				
			||||||
    aggregating the results of other <a href="{{ url_for('preferences') }}">search engines</a>
 | 
					    aggregating the results of other <a href="{{ url_for('preferences') }}">search engines</a>
 | 
				
			||||||
    while not storing information about its users.
 | 
					    while not storing information about its users.
 | 
				
			||||||
  </p>
 | 
					  </p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <p>More about searx...</p>
 | 
					  <p>More about SearXNG ...</p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <ul>
 | 
					  <ul>
 | 
				
			||||||
    <li><a href="https://github.com/searx/searx">github</a></li>
 | 
					    <li><a href="{{ brand.GIT_URL }}">github</a></li>
 | 
				
			||||||
    <li><a href="https://twitter.com/Searx_engine">twitter</a></li>
 | 
					 | 
				
			||||||
    <li>IRC: #searx @ freenode (<a href="https://kiwiirc.com/client/irc.freenode.com/searx">webclient</a>)</li>
 | 
					 | 
				
			||||||
    <li><a href="https://www.transifex.com/projects/p/searx/">transifex</a></li>
 | 
					    <li><a href="https://www.transifex.com/projects/p/searx/">transifex</a></li>
 | 
				
			||||||
  </ul>
 | 
					  </ul>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <hr />
 | 
					  <hr />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <h2>Why use searx?</h2>
 | 
					  <h2>Why use it?</h2>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <ul>
 | 
					  <ul>
 | 
				
			||||||
    <li>
 | 
					    <li>
 | 
				
			||||||
      Searx may not offer you as personalised results as Google, but it doesn't
 | 
					      SearXNG may not offer you as personalised results as Google, but it doesn't
 | 
				
			||||||
      generate a profile about you.
 | 
					      generate a profile about you.
 | 
				
			||||||
    </li>
 | 
					    </li>
 | 
				
			||||||
    <li>
 | 
					    <li>
 | 
				
			||||||
      Searx doesn't care about what you search for, never shares anything with a
 | 
					      SearXNG doesn't care about what you search for, never shares anything with a
 | 
				
			||||||
      third party, and it can't be used to compromise you.
 | 
					      third party, and it can't be used to compromise you.
 | 
				
			||||||
    </li>
 | 
					    </li>
 | 
				
			||||||
    <li>
 | 
					    <li>
 | 
				
			||||||
      Searx is free software, the code is 100% open and you can help to make it
 | 
					      SearXNG is free software, the code is 100% open and you can help to make
 | 
				
			||||||
      better.  See more on <a href="https://github.com/searx/searx">github</a>.
 | 
					      it better.  See more on <a href="{{ brand.GIT_URL }}">github</a>.
 | 
				
			||||||
    </li>
 | 
					    </li>
 | 
				
			||||||
  </ul>
 | 
					  </ul>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <p>
 | 
					  <p>
 | 
				
			||||||
    If you do care about privacy, want to be a conscious user, or otherwise
 | 
					    If you do care about privacy, want to be a conscious user, or otherwise
 | 
				
			||||||
    believe in digital freedom, make searx your default search engine or run it
 | 
					    believe in digital freedom, make SearXNG your default search engine or run
 | 
				
			||||||
    on your own server
 | 
					    it on your own server
 | 
				
			||||||
  </p>
 | 
					  </p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <h2>Technical details - How does it work?</h2>
 | 
					  <h2>Technical details - How does it work?</h2>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <p>
 | 
					  <p>
 | 
				
			||||||
    Searx is a <a href="https://en.wikipedia.org/wiki/Metasearch_engine">metasearch engine</a>,
 | 
					    SearXNG is a <a href="https://en.wikipedia.org/wiki/Metasearch_engine">metasearch engine</a>,
 | 
				
			||||||
    inspired by the <a href="https://beniz.github.io/seeks/">seeks project</a>.
 | 
					    inspired by the <a href="https://beniz.github.io/seeks/">seeks project</a>.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    It provides basic privacy by mixing your queries with searches on other
 | 
					    It provides basic privacy by mixing your queries with searches on other
 | 
				
			||||||
| 
						 | 
					@ -54,14 +53,14 @@
 | 
				
			||||||
    browser users there is an exception: searx uses the search bar to perform GET
 | 
					    browser users there is an exception: searx uses the search bar to perform GET
 | 
				
			||||||
    requests.
 | 
					    requests.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    Searx can be added to your browser's search bar; moreover, it can be set as
 | 
					    SearXNG can be added to your browser's search bar; moreover, it can be set as
 | 
				
			||||||
    the default search engine.
 | 
					    the default search engine.
 | 
				
			||||||
  </p>
 | 
					  </p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <h2 id='add to browser'>How to set as the default search engine?</h2>
 | 
					  <h2 id='add to browser'>How to set as the default search engine?</h2>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <p>
 | 
					  <p>
 | 
				
			||||||
    Searx supports <a href="https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md">OpenSearch</a>.
 | 
					    SearXNG supports <a href="https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md">OpenSearch</a>.
 | 
				
			||||||
    For more information on changing your default search engine, see your browser's documentation:
 | 
					    For more information on changing your default search engine, see your browser's documentation:
 | 
				
			||||||
  </p>
 | 
					  </p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -80,15 +79,14 @@
 | 
				
			||||||
  <h2>How can I make it my own?</h2>
 | 
					  <h2>How can I make it my own?</h2>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <p>
 | 
					  <p>
 | 
				
			||||||
    Searx appreciates your concern regarding logs, so take the
 | 
					    SearXNG appreciates your concern regarding logs, so take the code from
 | 
				
			||||||
    code from the <a href="https://github.com/searx/searx">original searx project</a> and
 | 
					    the <a href="{{ brand.GIT_URL }}">SearXNG project</a> and run it yourself!
 | 
				
			||||||
    run it yourself!
 | 
					 | 
				
			||||||
  </p>
 | 
					  </p>
 | 
				
			||||||
  <p>
 | 
					  <p>
 | 
				
			||||||
    Add your searx instance to this <a href="{{ brand.PUBLIC_INSTANCES }}"> list
 | 
					    Add your instance to this <a href="{{ brand.PUBLIC_INSTANCES }}"> list of
 | 
				
			||||||
    of public searx instances</a> to help other people reclaim their privacy and
 | 
					    public instances</a> to help other people reclaim their privacy and make the
 | 
				
			||||||
    make the Internet freer! The more decentralized the Internet is, the more
 | 
					    Internet freer!  The more decentralized the Internet is, the more freedom we
 | 
				
			||||||
    freedom we have!
 | 
					    have!
 | 
				
			||||||
  </p>
 | 
					  </p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <h2>Where are the docs & code of this instance?</h2>
 | 
					  <h2>Where are the docs & code of this instance?</h2>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -20,7 +20,7 @@ def test_404(browser):
 | 
				
			||||||
def test_about(browser):
 | 
					def test_about(browser):
 | 
				
			||||||
    browser.visit(url)
 | 
					    browser.visit(url)
 | 
				
			||||||
    browser.click_link_by_text('about')
 | 
					    browser.click_link_by_text('about')
 | 
				
			||||||
    assert browser.is_text_present('Why use searx?')
 | 
					    assert browser.is_text_present('Why use it?')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def test_preferences(browser):
 | 
					def test_preferences(browser):
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -96,7 +96,7 @@ class ViewsTestCase(SearxTestCase):
 | 
				
			||||||
    def test_search_empty_html(self):
 | 
					    def test_search_empty_html(self):
 | 
				
			||||||
        result = self.app.post('/search', data={'q': ''})
 | 
					        result = self.app.post('/search', data={'q': ''})
 | 
				
			||||||
        self.assertEqual(result.status_code, 200)
 | 
					        self.assertEqual(result.status_code, 200)
 | 
				
			||||||
        self.assertIn(b'<span class="instance pull-left"><a href="/">searx</a></span>', result.data)
 | 
					        self.assertIn(b'<span class="instance pull-left"><a href="/">searxng</a></span>', result.data)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def test_search_empty_json(self):
 | 
					    def test_search_empty_json(self):
 | 
				
			||||||
        result = self.app.post('/search', data={'q': '', 'format': 'json'})
 | 
					        result = self.app.post('/search', data={'q': '', 'format': 'json'})
 | 
				
			||||||
| 
						 | 
					@ -186,7 +186,7 @@ class ViewsTestCase(SearxTestCase):
 | 
				
			||||||
    def test_about(self):
 | 
					    def test_about(self):
 | 
				
			||||||
        result = self.app.get('/about')
 | 
					        result = self.app.get('/about')
 | 
				
			||||||
        self.assertEqual(result.status_code, 200)
 | 
					        self.assertEqual(result.status_code, 200)
 | 
				
			||||||
        self.assertIn(b'<h1>About <a href="/">searx</a></h1>', result.data)
 | 
					        self.assertIn(b'<h1>About <a href="/">searxng</a></h1>', result.data)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def test_preferences(self):
 | 
					    def test_preferences(self):
 | 
				
			||||||
        result = self.app.get('/preferences')
 | 
					        result = self.app.get('/preferences')
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1630,7 +1630,7 @@ git_clone() {
 | 
				
			||||||
    #  into <path>.  If repository is allready cloned, pull from <branch> and
 | 
					    #  into <path>.  If repository is allready cloned, pull from <branch> and
 | 
				
			||||||
    #  update working tree (if needed, the caller has to stash local changes).
 | 
					    #  update working tree (if needed, the caller has to stash local changes).
 | 
				
			||||||
    #
 | 
					    #
 | 
				
			||||||
    #    git clone https://github.com/searx/searx searx-src origin/master searxlogin
 | 
					    #    git clone https://github.com/searxng/searxng searx-src origin/master searxlogin
 | 
				
			||||||
    #
 | 
					    #
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    local url="$1"
 | 
					    local url="$1"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue