Source-Code¶
This is a partial documentation of our source code. We are not aiming to document every item from the source code, but we will add documentation when requested.
- Custom message extractor (i18n)
- Bot Detection
- SearXNG Exceptions
- Favicons (source)
- Online
/info
- Locales
- SearXNG’s locale data
- SearXNG’s locale codes
- SearXNG’s locale implementations
LOCALE_NAMES
RTL_LOCALES
ADDITIONAL_TRANSLATIONS
LOCALE_BEST_MATCH
get_translations()
get_translation_locales()
locales_initialize()
region_tag()
language_tag()
get_locale()
get_official_locales()
get_engine_locale()
match_locale()
build_engine_locales()
- Redis DB
- Redis Library
- Search
- Search processors
- Settings Loader
- SQLite DB
- Utility functions for the engines
SEARCH_LANGUAGE_CODES
searx_useragent()
gen_useragent()
html_to_text()
markdown_to_text()
extract_text()
normalize_url()
extract_url()
dict_subset()
humanize_bytes()
humanize_number()
convert_str_to_int()
extr()
int_or_zero()
is_valid_lang()
to_string()
ecma_unescape()
get_engine_from_settings()
get_xpath()
eval_xpath()
eval_xpath_list()
eval_xpath_getindex()
get_embeded_stream_url()
detect_language()
js_variable_to_python()