searxng/docs/dev/engines/online
Filip Mikina 6b57705e50
[feat] engines: add GitHub Code Search engine (#5074)
This patch adds GitHub Code Search [1] engine to allow querying the codebases.

Template code.html is changed to allow passthrough of strip and highlighting
options.

Engine Searchcode is adjusted to pass filename and not rely on hardcoded
extensions.

GitHub search code API does not return the exact code line indices, this
implementation assigns the code arbitrary numbers starting from 1
(effectively relabeling the code).

The API allows for unauth calls, and the default engine settings default to
that, although the calls are heavily rate limited.

The 'text' lexer is the default pygments lexer when parsing fails.

[1] https://docs.github.com/en/rest/search/search?apiVersion=2022-11-28#search-code

Co-authored-by: Markus Heiser <markus.heiser@darmarIT.de>
2025-08-20 07:35:31 +02:00
..
adobe_stock.rst [feat] engine: add adobe stock video and audio engines 2024-11-24 11:56:12 +01:00
alpinelinux.rst [feat] engine: implementation of alpine linux packages 2024-07-14 17:57:58 +02:00
annas_archive.rst [doc] rearranges Settings & Engines docs for better readability 2023-07-01 22:45:19 +02:00
archlinux.rst [doc] rearranges Settings & Engines docs for better readability 2023-07-01 22:45:19 +02:00
bing.rst [doc] rearranges Settings & Engines docs for better readability 2023-07-01 22:45:19 +02:00
bpb.rst [feat] engine: implementation of bpb 2023-11-27 16:46:41 +01:00
brave.rst [mod] implement brave (WEB) engine to replace XPath configuration 2023-08-08 16:21:45 +02:00
bt4g.rst [doc] engine bt4g: add documentation to docs/dev/engines/online/ 2023-08-06 09:30:48 +02:00
chinaso.rst [feat] engine ChinaSo: support source filter for ChinaSo-News 2025-05-02 14:22:51 +02:00
core.rst [fix] engine: core.ac.uk implement API v3 / v2 is no longer supported 2025-03-19 17:51:00 +01:00
dailymotion.rst [doc] rearranges Settings & Engines docs for better readability 2023-07-01 22:45:19 +02:00
discourse.rst [enh] Add engine for discourse forums 2024-06-07 10:16:09 +02:00
duckduckgo.rst [feat] duckduckgo: support for videos and news 2023-10-09 06:53:43 +02:00
geizhals.rst [feat] engine: implementation of geizhals.de 2024-07-27 11:46:25 +02:00
gitea.rst [feat] engine: implementation of gitea 2024-05-15 07:23:57 +02:00
github_code.rst [feat] engines: add GitHub Code Search engine (#5074) 2025-08-20 07:35:31 +02:00
gitlab.rst [feat] gitlab: implement dedicated module 2024-09-15 08:04:21 +02:00
google.rst [doc] rearranges Settings & Engines docs for better readability 2023-07-01 22:45:19 +02:00
huggingface.rst [feat] engines: add Hugging Face engine 2025-04-17 16:43:32 +02:00
lemmy.rst [feat] engine: support for lemmy communities, posts, comments and users 2023-08-10 12:58:40 +02:00
loc.rst [mod] library of congress: fix engine 2023-09-11 19:42:31 +02:00
marginalia.rst [feat] engines: add Marginalia (#5087) 2025-08-09 08:38:11 +02:00
mastodon.rst [feat] engine: implementation of mastodon 2023-10-06 10:58:23 +02:00
moviepilot.rst [feat] engine: implemenation of moviepilot (de) 2023-09-17 14:30:56 +02:00
mrs.rst [fix] matrixrooms add proper MRS integration 2023-10-09 13:25:13 +02:00
mullvad_leta.rst [fix] engine: re-implement mullvad leta integration 2025-04-23 14:06:32 +02:00
mwmbl.rst [doc] add documentation of Mwmbl engine & autocompleter 2023-08-27 17:25:26 +02:00
odysee.rst [feat] engine: implementation of odysee 2023-09-02 09:14:12 +02:00
peertube.rst [doc] rearranges Settings & Engines docs for better readability 2023-07-01 22:45:19 +02:00
piped.rst [doc] engine piped: add documentation to docs/dev/engines/online/ 2023-08-03 16:23:36 +02:00
presearch.rst [mod] presearch: add language & region support 2024-01-15 19:23:26 +01:00
qwant.rst [feat] implementation of qwant lite for web search 2023-09-17 16:53:25 +02:00
radio_browser.rst [mod] engine - simplify region & lang handling, make filters configurable 2023-10-05 10:55:08 +02:00
recoll.rst [doc] rearranges Settings & Engines docs for better readability 2023-07-01 22:45:19 +02:00
reuters.rst [feat] engines: add reuters news engine 2025-03-30 13:56:09 +02:00
seekr.rst [mod] improve seekr engines and add documentation 2023-08-15 16:17:42 +02:00
soundcloud.rst [refactor] soundcloud engine 2025-03-01 17:51:14 +01:00
startpage.rst [doc] rearranges Settings & Engines docs for better readability 2023-07-01 22:45:19 +02:00
tagesschau.rst [doc] add tagesschau API to the debveloper documentation 2023-08-11 12:31:03 +02:00
torznab.rst [doc] rearranges Settings & Engines docs for better readability 2023-07-01 22:45:19 +02:00
tubearchivist.rst [feat] engines: add Tube Archivist engine (#4889) 2025-06-22 09:40:42 +02:00
void.rst [feat] engine: implementation of void linux packages 2024-02-29 13:12:40 +01:00
wallhaven.rst [feat] engine: implementation of wallhaven 2023-09-21 14:25:43 +02:00
wikipedia.rst [doc] rearranges Settings & Engines docs for better readability 2023-07-01 22:45:19 +02:00
yacy.rst [doc] engine: Yacy 2023-08-03 19:58:51 +02:00
yahoo.rst [doc] rearranges Settings & Engines docs for better readability 2023-07-01 22:45:19 +02:00
zlibrary.rst [feat] engine: re-enables z-library (zlibrary-global.se) 2023-07-07 21:36:51 +02:00