forked from zaclys/searxng
Merge pull request #666 from return42/mod-doc
[docs] move searxng_extra/ stuff to the developer section.
This commit is contained in:
commit
b630c5d7bc
|
@ -16,3 +16,4 @@ Developer documentation
|
||||||
lxcdev
|
lxcdev
|
||||||
makefile
|
makefile
|
||||||
reST
|
reST
|
||||||
|
searxng_extra/index
|
||||||
|
|
|
@ -5,7 +5,7 @@ Tooling box ``searxng_extra`` for developers and users
|
||||||
======================================================
|
======================================================
|
||||||
|
|
||||||
In the folder :origin:`searxng_extra/` we maintain some tools useful for
|
In the folder :origin:`searxng_extra/` we maintain some tools useful for
|
||||||
developers and users.
|
developers.
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
|
@ -33,7 +33,6 @@ If you don't trust anyone, you can set up your own, see :ref:`installation`.
|
||||||
user/index
|
user/index
|
||||||
admin/index
|
admin/index
|
||||||
dev/index
|
dev/index
|
||||||
searxng_extra/index
|
|
||||||
utils/index
|
utils/index
|
||||||
src/index
|
src/index
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,14 @@ Example to use this script:
|
||||||
|
|
||||||
$ python3 searxng_extra/standalone_searx.py rain
|
$ python3 searxng_extra/standalone_searx.py rain
|
||||||
|
|
||||||
|
.. danger::
|
||||||
|
|
||||||
|
Be warned, using the ``standalone_searx.py`` won't give you privacy!
|
||||||
|
|
||||||
|
On the contrary, this script behaves like a SearXNG server: your IP is
|
||||||
|
exposed and tracked by all active engines (google, bing, qwant, ... ), with
|
||||||
|
every query!
|
||||||
|
|
||||||
Example to run it from python:
|
Example to run it from python:
|
||||||
|
|
||||||
>>> import importlib
|
>>> import importlib
|
||||||
|
@ -62,6 +70,7 @@ Example to run it from python:
|
||||||
},
|
},
|
||||||
"suggestions": [...]
|
"suggestions": [...]
|
||||||
}
|
}
|
||||||
|
|
||||||
""" # pylint: disable=line-too-long
|
""" # pylint: disable=line-too-long
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
|
Loading…
Reference in New Issue