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
- Caches
- SearXNG Exceptions
- Favicons (source)
- Online
/info - Locales
- SearXNG’s locale data
- SearXNG’s locale codes
- SearXNG’s locale implementations
LOCALE_NAMESRTL_LOCALESADDITIONAL_TRANSLATIONSLOCALE_BEST_MATCHget_translations()get_translation_locales()locales_initialize()region_tag()language_tag()get_locale()get_official_locales()get_engine_locale()match_locale()build_engine_locales()
- Search
- Search processors
- Settings Loader
- SQLite DB
- Utility functions for the engines
XPathSpecTypeSEARCH_LANGUAGE_CODESsearxng_useragent()gen_useragent()HTMLTextExtractorhtml_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()to_string()ecma_unescape()remove_pua_from_str()get_engine_from_settings()get_xpath()eval_xpath()eval_xpath_list()eval_xpath_getindex()get_embeded_stream_url()detect_language()js_variable_to_python()parse_duration_string()
- Valkey DB
- Valkey Library
- Weather