gitdeem commited on
Commit
15e0755
·
verified ·
1 Parent(s): 238dcb9

Upload 5 files

Browse files
Files changed (5) hide show
  1. Dockerfile +5 -0
  2. README.md +6 -5
  3. searxng/limiter.toml +2 -0
  4. searxng/settings.yml +1391 -0
  5. searxng/uwsgi.ini +50 -0
Dockerfile ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ FROM searxng/searxng:latest
2
+ ENV SEARXNG_BASE_URL=https://${SEARXNG_HOSTNAME:-localhost}/
3
+ RUN mkdir /etc/searxng \
4
+ && chmod 777 /etc/searxng
5
+ COPY ./searxng /etc/searxng
README.md CHANGED
@@ -1,10 +1,11 @@
1
  ---
2
- title: Searxng
3
- emoji: 📚
4
- colorFrom: green
5
- colorTo: green
6
  sdk: docker
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: searxng
3
+ emoji: 🌍
4
+ colorFrom: blue
5
+ colorTo: pink
6
  sdk: docker
7
  pinned: false
8
+ license: mit
9
+ app_port: 8080
10
  ---
11
 
 
searxng/limiter.toml ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ [botdetection.ip_limit]
2
+ link_token = true
searxng/settings.yml ADDED
@@ -0,0 +1,1391 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ use_default_settings: true
2
+ server:
3
+ secret_key: "248761c39005d33050fec8bd6b40a170f133ff471f71a0e262154a5903c7d3e3"
4
+ search:
5
+ # 控制搜索结果的过滤程度。值为 0 表示不进行过滤,1 表示中度过滤,2 表示严格过滤。
6
+ safe_search: 0
7
+ autocomplete: ""
8
+ favicon_resolver: ""
9
+ # 定义了默认的搜索语言。设置为 "auto" 会根据浏览器的语言自动检测
10
+ default_lang: "en"
11
+ languages:
12
+ - all
13
+ # 控制搜索引擎能返回的页面数量,0 表示无限制
14
+ max_page: 0
15
+ ban_time_on_fail: 0
16
+ max_ban_time_on_fail: 0
17
+ formats:
18
+ - json
19
+
20
+ outgoing:
21
+ # 提高默认超时时间,减少请求失败
22
+ request_timeout: 6.0
23
+ # 设置最大超时上限
24
+ max_request_timeout: 15.0
25
+ # 增加连接池容量以处理并发请求
26
+ pool_connections: 150
27
+ # 增加保持连接的数量
28
+ pool_maxsize: 30
29
+ # 启用HTTP2提高性能
30
+ enable_http2: true
31
+
32
+ doi_resolvers:
33
+ oadoi.org: 'https://oadoi.org/'
34
+ doi.org: 'https://doi.org/'
35
+ doai.io: 'https://dissem.in/'
36
+ sci-hub.se: 'https://sci-hub.se/'
37
+ sci-hub.st: 'https://sci-hub.st/'
38
+ sci-hub.ru: 'https://sci-hub.ru/'
39
+
40
+ default_doi_resolver: 'oadoi.org'
41
+
42
+ engines:
43
+ - name: 9gag
44
+ engine: 9gag
45
+ shortcut: 9g
46
+ disabled: true
47
+
48
+ - name: annas archive
49
+ engine: annas_archive
50
+ disabled: true
51
+ shortcut: aa
52
+
53
+ - name: apple app store
54
+ engine: apple_app_store
55
+ shortcut: aps
56
+ disabled: true
57
+
58
+ # Requires Tor
59
+ - name: ahmia
60
+ engine: ahmia
61
+ categories: onions
62
+ enable_http: true
63
+ shortcut: ah
64
+
65
+ - name: anaconda
66
+ engine: xpath
67
+ paging: true
68
+ first_page_num: 0
69
+ search_url: https://anaconda.org/search?q={query}&page={pageno}
70
+ results_xpath: //tbody/tr
71
+ url_xpath: ./td/h5/a[last()]/@href
72
+ title_xpath: ./td/h5
73
+ content_xpath: ./td[h5]/text()
74
+ categories: it
75
+ timeout: 6.0
76
+ shortcut: conda
77
+ disabled: true
78
+
79
+ - name: arch linux wiki
80
+ engine: archlinux
81
+ shortcut: al
82
+
83
+ - name: artic
84
+ engine: artic
85
+ shortcut: arc
86
+ timeout: 4.0
87
+
88
+ - name: arxiv
89
+ engine: arxiv
90
+ shortcut: arx
91
+ timeout: 4.0
92
+
93
+ - name: ask
94
+ engine: ask
95
+ shortcut: ask
96
+ disabled: true
97
+
98
+ - name: bandcamp
99
+ engine: bandcamp
100
+ shortcut: bc
101
+ categories: music
102
+
103
+ - name: wikipedia
104
+ engine: wikipedia
105
+ shortcut: wp
106
+ # add "list" to the array to get results in the results list
107
+ display_type: ["infobox"]
108
+ base_url: 'https://{language}.wikipedia.org/'
109
+ categories: [general]
110
+
111
+ - name: bilibili
112
+ engine: bilibili
113
+ shortcut: bil
114
+ disabled: true
115
+
116
+ - name: bing
117
+ engine: bing
118
+ shortcut: bi
119
+ disabled: true
120
+
121
+ - name: bing images
122
+ engine: bing_images
123
+ shortcut: bii
124
+
125
+ - name: bing news
126
+ engine: bing_news
127
+ shortcut: bin
128
+
129
+ - name: bing videos
130
+ engine: bing_videos
131
+ shortcut: biv
132
+
133
+ - name: bitbucket
134
+ engine: xpath
135
+ paging: true
136
+ search_url: https://bitbucket.org/repo/all/{pageno}?name={query}
137
+ url_xpath: //article[@class="repo-summary"]//a[@class="repo-link"]/@href
138
+ title_xpath: //article[@class="repo-summary"]//a[@class="repo-link"]
139
+ content_xpath: //article[@class="repo-summary"]/p
140
+ categories: [it, repos]
141
+ timeout: 4.0
142
+ disabled: true
143
+ shortcut: bb
144
+ about:
145
+ website: https://bitbucket.org/
146
+ wikidata_id: Q2493781
147
+ official_api_documentation: https://developer.atlassian.com/bitbucket
148
+ use_official_api: false
149
+ require_api_key: false
150
+ results: HTML
151
+
152
+ - name: bpb
153
+ engine: bpb
154
+ shortcut: bpb
155
+ disabled: true
156
+
157
+ - name: btdigg
158
+ engine: btdigg
159
+ shortcut: bt
160
+ disabled: true
161
+
162
+ - name: openverse
163
+ engine: openverse
164
+ categories: images
165
+ shortcut: opv
166
+
167
+ - name: chefkoch
168
+ engine: chefkoch
169
+ shortcut: chef
170
+
171
+ - name: cppreference
172
+ engine: cppreference
173
+ shortcut: cpp
174
+ paging: false
175
+ disabled: true
176
+
177
+ - name: crossref
178
+ engine: crossref
179
+ shortcut: cr
180
+ timeout: 30
181
+ disabled: true
182
+
183
+ - name: crowdview
184
+ engine: json_engine
185
+ shortcut: cv
186
+ categories: general
187
+ paging: false
188
+ search_url: https://crowdview-next-js.onrender.com/api/search-v3?query={query}
189
+ results_query: results
190
+ url_query: link
191
+ title_query: title
192
+ content_query: snippet
193
+ disabled: true
194
+ about:
195
+ website: https://crowdview.ai/
196
+
197
+ - name: yep
198
+ engine: yep
199
+ shortcut: yep
200
+ categories: general
201
+ search_type: web
202
+ disabled: true
203
+
204
+ - name: yep images
205
+ engine: yep
206
+ shortcut: yepi
207
+ categories: images
208
+ search_type: images
209
+ disabled: true
210
+
211
+ - name: yep news
212
+ engine: yep
213
+ shortcut: yepn
214
+ categories: news
215
+ search_type: news
216
+ disabled: true
217
+
218
+ - name: curlie
219
+ engine: xpath
220
+ shortcut: cl
221
+ categories: general
222
+ disabled: true
223
+ paging: true
224
+ lang_all: ''
225
+ search_url: https://curlie.org/search?q={query}&lang={lang}&start={pageno}&stime=92452189
226
+ page_size: 20
227
+ results_xpath: //div[@id="site-list-content"]/div[@class="site-item"]
228
+ url_xpath: ./div[@class="title-and-desc"]/a/@href
229
+ title_xpath: ./div[@class="title-and-desc"]/a/div
230
+ content_xpath: ./div[@class="title-and-desc"]/div[@class="site-descr"]
231
+ about:
232
+ website: https://curlie.org/
233
+ wikidata_id: Q60715723
234
+ use_official_api: false
235
+ require_api_key: false
236
+ results: HTML
237
+
238
+ - name: currency
239
+ engine: currency_convert
240
+ categories: general
241
+ shortcut: cc
242
+
243
+ - name: bahnhof
244
+ engine: json_engine
245
+ search_url: https://www.bahnhof.de/api/stations/search/{query}
246
+ url_prefix: https://www.bahnhof.de/
247
+ url_query: slug
248
+ title_query: name
249
+ content_query: state
250
+ shortcut: bf
251
+ disabled: true
252
+ about:
253
+ website: https://www.bahn.de
254
+ wikidata_id: Q22811603
255
+ use_official_api: false
256
+ require_api_key: false
257
+ results: JSON
258
+ language: de
259
+ tests:
260
+ bahnhof:
261
+ matrix:
262
+ query: berlin
263
+ lang: en
264
+ result_container:
265
+ - not_empty
266
+ - ['one_title_contains', 'Berlin Hauptbahnhof']
267
+ test:
268
+ - unique_results
269
+
270
+ - name: deezer
271
+ engine: deezer
272
+ shortcut: dz
273
+ disabled: true
274
+
275
+ - name: destatis
276
+ engine: destatis
277
+ shortcut: destat
278
+ disabled: true
279
+
280
+ - name: deviantart
281
+ engine: deviantart
282
+ shortcut: da
283
+ timeout: 3.0
284
+
285
+ - name: ddg definitions
286
+ engine: duckduckgo_definitions
287
+ shortcut: ddd
288
+ weight: 2
289
+ disabled: true
290
+
291
+ - name: docker hub
292
+ engine: docker_hub
293
+ shortcut: dh
294
+ categories: [it, packages]
295
+
296
+ - name: erowid
297
+ engine: xpath
298
+ paging: true
299
+ first_page_num: 0
300
+ page_size: 30
301
+ search_url: https://www.erowid.org/search.php?q={query}&s={pageno}
302
+ url_xpath: //dl[@class="results-list"]/dt[@class="result-title"]/a/@href
303
+ title_xpath: //dl[@class="results-list"]/dt[@class="result-title"]/a/text()
304
+ content_xpath: //dl[@class="results-list"]/dd[@class="result-details"]
305
+ categories: []
306
+ shortcut: ew
307
+ disabled: true
308
+ about:
309
+ website: https://www.erowid.org/
310
+ wikidata_id: Q1430691
311
+ official_api_documentation:
312
+ use_official_api: false
313
+ require_api_key: false
314
+ results: HTML
315
+
316
+ - name: wikidata
317
+ engine: wikidata
318
+ shortcut: wd
319
+ timeout: 3.0
320
+ weight: 2
321
+ # add "list" to the array to get results in the results list
322
+ display_type: ["infobox"]
323
+ categories: [general]
324
+
325
+ - name: duckduckgo
326
+ engine: duckduckgo
327
+ shortcut: ddg
328
+
329
+ - name: duckduckgo images
330
+ engine: duckduckgo_extra
331
+ categories: [images, web]
332
+ ddg_category: images
333
+ shortcut: ddi
334
+ disabled: true
335
+
336
+ - name: duckduckgo videos
337
+ engine: duckduckgo_extra
338
+ categories: [videos, web]
339
+ ddg_category: videos
340
+ shortcut: ddv
341
+ disabled: true
342
+
343
+ - name: duckduckgo news
344
+ engine: duckduckgo_extra
345
+ categories: [news, web]
346
+ ddg_category: news
347
+ shortcut: ddn
348
+ disabled: true
349
+
350
+ - name: duckduckgo weather
351
+ engine: duckduckgo_weather
352
+ shortcut: ddw
353
+ disabled: true
354
+
355
+ - name: apple maps
356
+ engine: apple_maps
357
+ shortcut: apm
358
+ disabled: true
359
+ timeout: 5.0
360
+
361
+ - name: emojipedia
362
+ engine: emojipedia
363
+ timeout: 4.0
364
+ shortcut: em
365
+ disabled: true
366
+
367
+ - name: tineye
368
+ engine: tineye
369
+ shortcut: tin
370
+ timeout: 9.0
371
+ disabled: true
372
+
373
+ - name: etymonline
374
+ engine: xpath
375
+ paging: true
376
+ search_url: https://etymonline.com/search?page={pageno}&q={query}
377
+ url_xpath: //a[contains(@class, "word__name--")]/@href
378
+ title_xpath: //a[contains(@class, "word__name--")]
379
+ content_xpath: //section[contains(@class, "word__defination")]
380
+ first_page_num: 1
381
+ shortcut: et
382
+ categories: [dictionaries]
383
+ about:
384
+ website: https://www.etymonline.com/
385
+ wikidata_id: Q1188617
386
+ official_api_documentation:
387
+ use_official_api: false
388
+ require_api_key: false
389
+ results: HTML
390
+
391
+ - name: 1x
392
+ engine: www1x
393
+ shortcut: 1x
394
+ timeout: 3.0
395
+ disabled: true
396
+
397
+ - name: fdroid
398
+ engine: fdroid
399
+ shortcut: fd
400
+ disabled: true
401
+
402
+ - name: flickr
403
+ categories: images
404
+ shortcut: fl
405
+ # You can use the engine using the official stable API, but you need an API
406
+ # key, see: https://www.flickr.com/services/apps/create/
407
+ # engine: flickr
408
+ # api_key: 'apikey' # required!
409
+ # Or you can use the html non-stable engine, activated by default
410
+ engine: flickr_noapi
411
+
412
+ - name: free software directory
413
+ engine: mediawiki
414
+ shortcut: fsd
415
+ categories: [it, software wikis]
416
+ base_url: https://directory.fsf.org/
417
+ search_type: title
418
+ timeout: 5.0
419
+ disabled: true
420
+ about:
421
+ website: https://directory.fsf.org/
422
+ wikidata_id: Q2470288
423
+
424
+ - name: frinkiac
425
+ engine: frinkiac
426
+ shortcut: frk
427
+ disabled: true
428
+
429
+ - name: fyyd
430
+ engine: fyyd
431
+ shortcut: fy
432
+ timeout: 8.0
433
+ disabled: true
434
+
435
+ - name: genius
436
+ engine: genius
437
+ shortcut: gen
438
+
439
+ - name: gitlab
440
+ engine: json_engine
441
+ paging: true
442
+ search_url: https://gitlab.com/api/v4/projects?search={query}&page={pageno}
443
+ url_query: web_url
444
+ title_query: name_with_namespace
445
+ content_query: description
446
+ page_size: 20
447
+ categories: [it, repos]
448
+ shortcut: gl
449
+ timeout: 10.0
450
+ disabled: true
451
+ about:
452
+ website: https://about.gitlab.com/
453
+ wikidata_id: Q16639197
454
+ official_api_documentation: https://docs.gitlab.com/ee/api/
455
+ use_official_api: false
456
+ require_api_key: false
457
+ results: JSON
458
+
459
+ - name: github
460
+ engine: github
461
+ shortcut: gh
462
+
463
+ - name: codeberg
464
+ engine: json_engine
465
+ search_url: https://codeberg.org/api/v1/repos/search?q={query}&limit=10
466
+ url_query: html_url
467
+ title_query: name
468
+ content_query: description
469
+ categories: [it, repos]
470
+ shortcut: cb
471
+ disabled: true
472
+ about:
473
+ website: https://codeberg.org/
474
+ wikidata_id:
475
+ official_api_documentation: https://try.gitea.io/api/swagger
476
+ use_official_api: false
477
+ require_api_key: false
478
+ results: JSON
479
+
480
+ - name: goodreads
481
+ engine: goodreads
482
+ shortcut: good
483
+ timeout: 4.0
484
+ disabled: true
485
+
486
+ - name: google
487
+ engine: google
488
+ shortcut: go
489
+ # additional_tests:
490
+ # android: *test_android
491
+
492
+ - name: google images
493
+ engine: google_images
494
+ shortcut: goi
495
+ # additional_tests:
496
+ # android: *test_android
497
+ # dali:
498
+ # matrix:
499
+ # query: ['Dali Christ']
500
+ # lang: ['en', 'de', 'fr', 'zh-CN']
501
+ # result_container:
502
+ # - ['one_title_contains', 'Salvador']
503
+
504
+ - name: google news
505
+ engine: google_news
506
+ shortcut: gon
507
+ # additional_tests:
508
+ # android: *test_android
509
+
510
+ - name: google videos
511
+ engine: google_videos
512
+ shortcut: gov
513
+ # additional_tests:
514
+ # android: *test_android
515
+
516
+ - name: google scholar
517
+ engine: google_scholar
518
+ shortcut: gos
519
+
520
+ - name: google play apps
521
+ engine: google_play
522
+ categories: [files, apps]
523
+ shortcut: gpa
524
+ play_categ: apps
525
+ disabled: true
526
+
527
+ - name: google play movies
528
+ engine: google_play
529
+ categories: videos
530
+ shortcut: gpm
531
+ play_categ: movies
532
+ disabled: true
533
+
534
+ - name: material icons
535
+ engine: material_icons
536
+ categories: images
537
+ shortcut: mi
538
+ disabled: true
539
+
540
+ - name: gpodder
541
+ engine: json_engine
542
+ shortcut: gpod
543
+ timeout: 4.0
544
+ paging: false
545
+ search_url: https://gpodder.net/search.json?q={query}
546
+ url_query: url
547
+ title_query: title
548
+ content_query: description
549
+ page_size: 19
550
+ categories: music
551
+ disabled: true
552
+ about:
553
+ website: https://gpodder.net
554
+ wikidata_id: Q3093354
555
+ official_api_documentation: https://gpoddernet.readthedocs.io/en/latest/api/
556
+ use_official_api: false
557
+ requires_api_key: false
558
+ results: JSON
559
+
560
+ - name: habrahabr
561
+ engine: xpath
562
+ paging: true
563
+ search_url: https://habr.com/en/search/page{pageno}/?q={query}
564
+ results_xpath: //article[contains(@class, "tm-articles-list__item")]
565
+ url_xpath: .//a[@class="tm-title__link"]/@href
566
+ title_xpath: .//a[@class="tm-title__link"]
567
+ content_xpath: .//div[contains(@class, "article-formatted-body")]
568
+ categories: it
569
+ timeout: 4.0
570
+ disabled: true
571
+ shortcut: habr
572
+ about:
573
+ website: https://habr.com/
574
+ wikidata_id: Q4494434
575
+ official_api_documentation: https://habr.com/en/docs/help/api/
576
+ use_official_api: false
577
+ require_api_key: false
578
+ results: HTML
579
+
580
+ - name: hackernews
581
+ engine: hackernews
582
+ shortcut: hn
583
+ disabled: true
584
+
585
+ - name: hoogle
586
+ engine: xpath
587
+ search_url: https://hoogle.haskell.org/?hoogle={query}
588
+ results_xpath: '//div[@class="result"]'
589
+ title_xpath: './/div[@class="ans"]//a'
590
+ url_xpath: './/div[@class="ans"]//a/@href'
591
+ content_xpath: './/div[@class="from"]'
592
+ page_size: 20
593
+ categories: [it, packages]
594
+ shortcut: ho
595
+ about:
596
+ website: https://hoogle.haskell.org/
597
+ wikidata_id: Q34010
598
+ official_api_documentation: https://hackage.haskell.org/api
599
+ use_official_api: false
600
+ require_api_key: false
601
+ results: JSON
602
+
603
+ - name: imdb
604
+ engine: imdb
605
+ shortcut: imdb
606
+ timeout: 6.0
607
+ disabled: true
608
+
609
+ - name: imgur
610
+ engine: imgur
611
+ shortcut: img
612
+ disabled: true
613
+
614
+ - name: ina
615
+ engine: ina
616
+ shortcut: in
617
+ timeout: 6.0
618
+ disabled: true
619
+
620
+ - name: invidious
621
+ engine: invidious
622
+ # Instanes will be selected randomly, see https://api.invidious.io/ for
623
+ # instances that are stable (good uptime) and close to you.
624
+ base_url:
625
+ - https://invidious.io.lol
626
+ - https://invidious.fdn.fr
627
+ - https://yt.artemislena.eu
628
+ - https://invidious.tiekoetter.com
629
+ - https://invidious.flokinet.to
630
+ - https://vid.puffyan.us
631
+ - https://invidious.privacydev.net
632
+ - https://inv.tux.pizza
633
+ shortcut: iv
634
+ timeout: 3.0
635
+ disabled: true
636
+
637
+ - name: jisho
638
+ engine: jisho
639
+ shortcut: js
640
+ timeout: 3.0
641
+ disabled: true
642
+
643
+ - name: kickass
644
+ engine: kickass
645
+ base_url:
646
+ - https://kickasstorrents.to
647
+ - https://kickasstorrents.cr
648
+ - https://kickasstorrent.cr
649
+ - https://kickass.sx
650
+ - https://kat.am
651
+ shortcut: kc
652
+ timeout: 4.0
653
+
654
+ - name: lemmy communities
655
+ engine: lemmy
656
+ lemmy_type: Communities
657
+ shortcut: leco
658
+
659
+ - name: lemmy users
660
+ engine: lemmy
661
+ network: lemmy communities
662
+ lemmy_type: Users
663
+ shortcut: leus
664
+
665
+ - name: lemmy posts
666
+ engine: lemmy
667
+ network: lemmy communities
668
+ lemmy_type: Posts
669
+ shortcut: lepo
670
+
671
+ - name: lemmy comments
672
+ engine: lemmy
673
+ network: lemmy communities
674
+ lemmy_type: Comments
675
+ shortcut: lecom
676
+
677
+ - name: library genesis
678
+ engine: xpath
679
+ # search_url: https://libgen.is/search.php?req={query}
680
+ search_url: https://libgen.rs/search.php?req={query}
681
+ url_xpath: //a[contains(@href,"book/index.php?md5")]/@href
682
+ title_xpath: //a[contains(@href,"book/")]/text()[1]
683
+ content_xpath: //td/a[1][contains(@href,"=author")]/text()
684
+ categories: files
685
+ timeout: 7.0
686
+ disabled: true
687
+ shortcut: lg
688
+ about:
689
+ website: https://libgen.fun/
690
+ wikidata_id: Q22017206
691
+ official_api_documentation:
692
+ use_official_api: false
693
+ require_api_key: false
694
+ results: HTML
695
+
696
+ - name: z-library
697
+ engine: zlibrary
698
+ shortcut: zlib
699
+ categories: files
700
+ timeout: 7.0
701
+
702
+ - name: library of congress
703
+ engine: loc
704
+ shortcut: loc
705
+ categories: images
706
+
707
+ - name: lingva
708
+ engine: lingva
709
+ shortcut: lv
710
+ # set lingva instance in url, by default it will use the official instance
711
+ # url: https://lingva.thedaviddelta.com
712
+
713
+ - name: lobste.rs
714
+ engine: xpath
715
+ search_url: https://lobste.rs/search?q={query}&what=stories&order=relevance
716
+ results_xpath: //li[contains(@class, "story")]
717
+ url_xpath: .//a[@class="u-url"]/@href
718
+ title_xpath: .//a[@class="u-url"]
719
+ content_xpath: .//a[@class="domain"]
720
+ categories: it
721
+ shortcut: lo
722
+ timeout: 5.0
723
+ disabled: true
724
+ about:
725
+ website: https://lobste.rs/
726
+ wikidata_id: Q60762874
727
+ official_api_documentation:
728
+ use_official_api: false
729
+ require_api_key: false
730
+ results: HTML
731
+
732
+ - name: azlyrics
733
+ shortcut: lyrics
734
+ engine: xpath
735
+ timeout: 4.0
736
+ disabled: true
737
+ categories: [music, lyrics]
738
+ paging: true
739
+ search_url: https://search.azlyrics.com/search.php?q={query}&w=lyrics&p={pageno}
740
+ url_xpath: //td[@class="text-left visitedlyr"]/a/@href
741
+ title_xpath: //span/b/text()
742
+ content_xpath: //td[@class="text-left visitedlyr"]/a/small
743
+ about:
744
+ website: https://azlyrics.com
745
+ wikidata_id: Q66372542
746
+ official_api_documentation:
747
+ use_official_api: false
748
+ require_api_key: false
749
+ results: HTML
750
+
751
+ - name: mastodon users
752
+ engine: mastodon
753
+ mastodon_type: accounts
754
+ base_url: https://mastodon.social
755
+ shortcut: mau
756
+
757
+ - name: mastodon hashtags
758
+ engine: mastodon
759
+ mastodon_type: hashtags
760
+ base_url: https://mastodon.social
761
+ shortcut: mah
762
+
763
+ - name: mdn
764
+ shortcut: mdn
765
+ engine: json_engine
766
+ categories: [it]
767
+ paging: true
768
+ search_url: https://developer.mozilla.org/api/v1/search?q={query}&page={pageno}
769
+ results_query: documents
770
+ url_query: mdn_url
771
+ url_prefix: https://developer.mozilla.org
772
+ title_query: title
773
+ content_query: summary
774
+ about:
775
+ website: https://developer.mozilla.org
776
+ wikidata_id: Q3273508
777
+ official_api_documentation: null
778
+ use_official_api: false
779
+ require_api_key: false
780
+ results: JSON
781
+
782
+ - name: metacpan
783
+ engine: metacpan
784
+ shortcut: cpan
785
+ disabled: true
786
+ number_of_results: 20
787
+
788
+ - name: mixcloud
789
+ engine: mixcloud
790
+ shortcut: mc
791
+
792
+ - name: mozhi
793
+ engine: mozhi
794
+ base_url:
795
+ - https://mozhi.aryak.me
796
+ - https://translate.bus-hit.me
797
+ - https://nyc1.mz.ggtyler.dev
798
+ # mozhi_engine: google - see https://mozhi.aryak.me for supported engines
799
+ timeout: 4.0
800
+ shortcut: mz
801
+ disabled: true
802
+
803
+ - name: mwmbl
804
+ engine: mwmbl
805
+ # api_url: https://api.mwmbl.org
806
+ shortcut: mwm
807
+ disabled: true
808
+
809
+ - name: npm
810
+ engine: npm
811
+ shortcut: npm
812
+ timeout: 5.0
813
+ disabled: true
814
+
815
+ - name: nyaa
816
+ engine: nyaa
817
+ shortcut: nt
818
+ disabled: true
819
+
820
+ - name: mankier
821
+ engine: json_engine
822
+ search_url: https://www.mankier.com/api/v2/mans/?q={query}
823
+ results_query: results
824
+ url_query: url
825
+ title_query: name
826
+ content_query: description
827
+ categories: it
828
+ shortcut: man
829
+ about:
830
+ website: https://www.mankier.com/
831
+ official_api_documentation: https://www.mankier.com/api
832
+ use_official_api: true
833
+ require_api_key: false
834
+ results: JSON
835
+
836
+ - name: odysee
837
+ engine: odysee
838
+ shortcut: od
839
+ disabled: true
840
+
841
+ - name: openairedatasets
842
+ engine: json_engine
843
+ paging: true
844
+ search_url: https://api.openaire.eu/search/datasets?format=json&page={pageno}&size=10&title={query}
845
+ results_query: response/results/result
846
+ url_query: metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
847
+ title_query: metadata/oaf:entity/oaf:result/title/$
848
+ content_query: metadata/oaf:entity/oaf:result/description/$
849
+ content_html_to_text: true
850
+ categories: "science"
851
+ shortcut: oad
852
+ timeout: 5.0
853
+ about:
854
+ website: https://www.openaire.eu/
855
+ wikidata_id: Q25106053
856
+ official_api_documentation: https://api.openaire.eu/
857
+ use_official_api: false
858
+ require_api_key: false
859
+ results: JSON
860
+
861
+ - name: openairepublications
862
+ engine: json_engine
863
+ paging: true
864
+ search_url: https://api.openaire.eu/search/publications?format=json&page={pageno}&size=10&title={query}
865
+ results_query: response/results/result
866
+ url_query: metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
867
+ title_query: metadata/oaf:entity/oaf:result/title/$
868
+ content_query: metadata/oaf:entity/oaf:result/description/$
869
+ content_html_to_text: true
870
+ categories: science
871
+ shortcut: oap
872
+ timeout: 5.0
873
+ about:
874
+ website: https://www.openaire.eu/
875
+ wikidata_id: Q25106053
876
+ official_api_documentation: https://api.openaire.eu/
877
+ use_official_api: false
878
+ require_api_key: false
879
+ results: JSON
880
+
881
+ - name: openmeteo
882
+ engine: open_meteo
883
+ shortcut: om
884
+ disabled: true
885
+
886
+ - name: openstreetmap
887
+ engine: openstreetmap
888
+ shortcut: osm
889
+
890
+ - name: openrepos
891
+ engine: xpath
892
+ paging: true
893
+ search_url: https://openrepos.net/search/node/{query}?page={pageno}
894
+ url_xpath: //li[@class="search-result"]//h3[@class="title"]/a/@href
895
+ title_xpath: //li[@class="search-result"]//h3[@class="title"]/a
896
+ content_xpath: //li[@class="search-result"]//div[@class="search-snippet-info"]//p[@class="search-snippet"]
897
+ categories: files
898
+ timeout: 4.0
899
+ disabled: true
900
+ shortcut: or
901
+ about:
902
+ website: https://openrepos.net/
903
+ wikidata_id:
904
+ official_api_documentation:
905
+ use_official_api: false
906
+ require_api_key: false
907
+ results: HTML
908
+
909
+ - name: packagist
910
+ engine: json_engine
911
+ paging: true
912
+ search_url: https://packagist.org/search.json?q={query}&page={pageno}
913
+ results_query: results
914
+ url_query: url
915
+ title_query: name
916
+ content_query: description
917
+ categories: [it, packages]
918
+ disabled: true
919
+ timeout: 5.0
920
+ shortcut: pack
921
+ about:
922
+ website: https://packagist.org
923
+ wikidata_id: Q108311377
924
+ official_api_documentation: https://packagist.org/apidoc
925
+ use_official_api: true
926
+ require_api_key: false
927
+ results: JSON
928
+
929
+ - name: pdbe
930
+ engine: pdbe
931
+ shortcut: pdb
932
+ # Hide obsolete PDB entries. Default is not to hide obsolete structures
933
+ # hide_obsolete: false
934
+
935
+ - name: photon
936
+ engine: photon
937
+ shortcut: ph
938
+
939
+ - name: pinterest
940
+ engine: pinterest
941
+ shortcut: pin
942
+
943
+ - name: piped
944
+ engine: piped
945
+ shortcut: ppd
946
+ categories: videos
947
+ piped_filter: videos
948
+ timeout: 3.0
949
+
950
+ # URL to use as link and for embeds
951
+ frontend_url: https://srv.piped.video
952
+ # Instance will be selected randomly, for more see https://piped-instances.kavin.rocks/
953
+ backend_url:
954
+ - https://pipedapi.kavin.rocks
955
+ - https://pipedapi-libre.kavin.rocks
956
+ - https://pipedapi.adminforge.de
957
+
958
+ - name: piped.music
959
+ engine: piped
960
+ network: piped
961
+ shortcut: ppdm
962
+ categories: music
963
+ piped_filter: music_songs
964
+ timeout: 3.0
965
+
966
+ - name: piratebay
967
+ engine: piratebay
968
+ shortcut: tpb
969
+ # You may need to change this URL to a proxy if piratebay is blocked in your
970
+ # country
971
+ url: https://thepiratebay.org/
972
+ timeout: 3.0
973
+
974
+ - name: pixiv
975
+ shortcut: pv
976
+ engine: pixiv
977
+ disabled: true
978
+ inactive: true
979
+
980
+ - name: podcastindex
981
+ engine: podcastindex
982
+ shortcut: podcast
983
+
984
+ - name: presearch
985
+ engine: presearch
986
+ search_type: search
987
+ categories: [general, web]
988
+ shortcut: ps
989
+ timeout: 4.0
990
+ disabled: true
991
+
992
+ - name: presearch images
993
+ engine: presearch
994
+ network: presearch
995
+ search_type: images
996
+ categories: [images, web]
997
+ timeout: 4.0
998
+ shortcut: psimg
999
+ disabled: true
1000
+
1001
+ - name: presearch videos
1002
+ engine: presearch
1003
+ network: presearch
1004
+ search_type: videos
1005
+ categories: [general, web]
1006
+ timeout: 4.0
1007
+ shortcut: psvid
1008
+ disabled: true
1009
+
1010
+ - name: presearch news
1011
+ engine: presearch
1012
+ network: presearch
1013
+ search_type: news
1014
+ categories: [news, web]
1015
+ timeout: 4.0
1016
+ shortcut: psnews
1017
+ disabled: true
1018
+
1019
+ - name: pub.dev
1020
+ engine: xpath
1021
+ shortcut: pd
1022
+ search_url: https://pub.dev/packages?q={query}&page={pageno}
1023
+ paging: true
1024
+ results_xpath: //div[contains(@class,"packages-item")]
1025
+ url_xpath: ./div/h3/a/@href
1026
+ title_xpath: ./div/h3/a
1027
+ content_xpath: ./div/div/div[contains(@class,"packages-description")]/span
1028
+ categories: [packages, it]
1029
+ timeout: 3.0
1030
+ disabled: true
1031
+ first_page_num: 1
1032
+ about:
1033
+ website: https://pub.dev/
1034
+ official_api_documentation: https://pub.dev/help/api
1035
+ use_official_api: false
1036
+ require_api_key: false
1037
+ results: HTML
1038
+
1039
+ - name: pubmed
1040
+ engine: pubmed
1041
+ shortcut: pub
1042
+ timeout: 3.0
1043
+
1044
+ - name: pypi
1045
+ shortcut: pypi
1046
+ engine: pypi
1047
+
1048
+ - name: qwant
1049
+ qwant_categ: web
1050
+ engine: qwant
1051
+ shortcut: qw
1052
+ categories: [general, web]
1053
+ additional_tests:
1054
+ rosebud: *test_rosebud
1055
+
1056
+ - name: qwant news
1057
+ qwant_categ: news
1058
+ engine: qwant
1059
+ shortcut: qwn
1060
+ categories: news
1061
+ network: qwant
1062
+
1063
+ - name: qwant images
1064
+ qwant_categ: images
1065
+ engine: qwant
1066
+ shortcut: qwi
1067
+ categories: [images, web]
1068
+ network: qwant
1069
+
1070
+ - name: qwant videos
1071
+ qwant_categ: videos
1072
+ engine: qwant
1073
+ shortcut: qwv
1074
+ categories: [videos, web]
1075
+ network: qwant
1076
+
1077
+ - name: radio browser
1078
+ engine: radio_browser
1079
+ shortcut: rb
1080
+
1081
+ - name: reddit
1082
+ engine: reddit
1083
+ shortcut: re
1084
+ page_size: 25
1085
+
1086
+ - name: rottentomatoes
1087
+ engine: rottentomatoes
1088
+ shortcut: rt
1089
+ disabled: true
1090
+
1091
+ - name: sepiasearch
1092
+ engine: sepiasearch
1093
+ shortcut: sep
1094
+
1095
+ - name: soundcloud
1096
+ engine: soundcloud
1097
+ shortcut: sc
1098
+
1099
+ - name: stackoverflow
1100
+ engine: stackexchange
1101
+ shortcut: st
1102
+ api_site: 'stackoverflow'
1103
+ categories: [it, q&a]
1104
+
1105
+ - name: askubuntu
1106
+ engine: stackexchange
1107
+ shortcut: ubuntu
1108
+ api_site: 'askubuntu'
1109
+ categories: [it, q&a]
1110
+
1111
+ - name: internetarchivescholar
1112
+ engine: internet_archive_scholar
1113
+ shortcut: ias
1114
+ timeout: 15.0
1115
+
1116
+ - name: superuser
1117
+ engine: stackexchange
1118
+ shortcut: su
1119
+ api_site: 'superuser'
1120
+ categories: [it, q&a]
1121
+
1122
+ - name: searchcode code
1123
+ engine: searchcode_code
1124
+ shortcut: scc
1125
+ disabled: true
1126
+
1127
+ - name: semantic scholar
1128
+ engine: semantic_scholar
1129
+ disabled: true
1130
+ shortcut: se
1131
+
1132
+ - name: startpage
1133
+ engine: startpage
1134
+ shortcut: sp
1135
+ timeout: 6.0
1136
+ disabled: true
1137
+ additional_tests:
1138
+ rosebud: *test_rosebud
1139
+
1140
+ - name: tokyotoshokan
1141
+ engine: tokyotoshokan
1142
+ shortcut: tt
1143
+ timeout: 6.0
1144
+ disabled: true
1145
+
1146
+ - name: solidtorrents
1147
+ engine: solidtorrents
1148
+ shortcut: solid
1149
+ timeout: 4.0
1150
+ base_url:
1151
+ - https://solidtorrents.to
1152
+ - https://bitsearch.to
1153
+
1154
+ - name: tagesschau
1155
+ engine: tagesschau
1156
+ # when set to false, display URLs from Tagesschau, and not the actual source
1157
+ # (e.g. NDR, WDR, SWR, HR, ...)
1158
+ use_source_url: true
1159
+ shortcut: ts
1160
+ disabled: true
1161
+
1162
+ - name: tmdb
1163
+ engine: xpath
1164
+ paging: true
1165
+ categories: movies
1166
+ search_url: https://www.themoviedb.org/search?page={pageno}&query={query}
1167
+ results_xpath: //div[contains(@class,"movie") or contains(@class,"tv")]//div[contains(@class,"card")]
1168
+ url_xpath: .//div[contains(@class,"poster")]/a/@href
1169
+ thumbnail_xpath: .//img/@src
1170
+ title_xpath: .//div[contains(@class,"title")]//h2
1171
+ content_xpath: .//div[contains(@class,"overview")]
1172
+ shortcut: tm
1173
+ disabled: true
1174
+
1175
+ # Requires Tor
1176
+ - name: torch
1177
+ engine: xpath
1178
+ paging: true
1179
+ search_url:
1180
+ http://xmh57jrknzkhv6y3ls3ubitzfqnkrwxhopf5aygthi7d6rplyvk3noyd.onion/cgi-bin/omega/omega?P={query}&DEFAULTOP=and
1181
+ results_xpath: //table//tr
1182
+ url_xpath: ./td[2]/a
1183
+ title_xpath: ./td[2]/b
1184
+ content_xpath: ./td[2]/small
1185
+ categories: onions
1186
+ enable_http: true
1187
+ shortcut: tch
1188
+
1189
+ - name: unsplash
1190
+ engine: unsplash
1191
+ shortcut: us
1192
+
1193
+ - name: yandex music
1194
+ engine: yandex_music
1195
+ shortcut: ydm
1196
+ disabled: true
1197
+ # https://yandex.com/support/music/access.html
1198
+ inactive: true
1199
+
1200
+ - name: yahoo
1201
+ engine: yahoo
1202
+ shortcut: yh
1203
+ disabled: true
1204
+
1205
+ - name: yahoo news
1206
+ engine: yahoo_news
1207
+ shortcut: yhn
1208
+
1209
+ - name: youtube
1210
+ shortcut: yt
1211
+ # You can use the engine using the official stable API, but you need an API
1212
+ # key See: https://console.developers.google.com/project
1213
+ #
1214
+ # engine: youtube_api
1215
+ # api_key: 'apikey' # required!
1216
+ #
1217
+ # Or you can use the html non-stable engine, activated by default
1218
+ engine: youtube_noapi
1219
+
1220
+ - name: dailymotion
1221
+ engine: dailymotion
1222
+ shortcut: dm
1223
+
1224
+ - name: vimeo
1225
+ engine: vimeo
1226
+ shortcut: vm
1227
+
1228
+ - name: wiby
1229
+ engine: json_engine
1230
+ paging: true
1231
+ search_url: https://wiby.me/json/?q={query}&p={pageno}
1232
+ url_query: URL
1233
+ title_query: Title
1234
+ content_query: Snippet
1235
+ categories: [general, web]
1236
+ shortcut: wib
1237
+ disabled: true
1238
+ about:
1239
+ website: https://wiby.me/
1240
+
1241
+ - name: alexandria
1242
+ engine: json_engine
1243
+ shortcut: alx
1244
+ categories: general
1245
+ paging: true
1246
+ search_url: https://api.alexandria.org/?a=1&q={query}&p={pageno}
1247
+ results_query: results
1248
+ title_query: title
1249
+ url_query: url
1250
+ content_query: snippet
1251
+ timeout: 1.5
1252
+ disabled: true
1253
+ about:
1254
+ website: https://alexandria.org/
1255
+ official_api_documentation: https://github.com/alexandria-org/alexandria-api/raw/master/README.md
1256
+ use_official_api: true
1257
+ require_api_key: false
1258
+ results: JSON
1259
+
1260
+ - name: wikibooks
1261
+ engine: mediawiki
1262
+ weight: 0.5
1263
+ shortcut: wb
1264
+ categories: [general, wikimedia]
1265
+ base_url: "https://{language}.wikibooks.org/"
1266
+ search_type: text
1267
+ disabled: true
1268
+ about:
1269
+ website: https://www.wikibooks.org/
1270
+ wikidata_id: Q367
1271
+
1272
+ - name: wikinews
1273
+ engine: mediawiki
1274
+ shortcut: wn
1275
+ categories: [news, wikimedia]
1276
+ base_url: "https://{language}.wikinews.org/"
1277
+ search_type: text
1278
+ srsort: create_timestamp_desc
1279
+ about:
1280
+ website: https://www.wikinews.org/
1281
+ wikidata_id: Q964
1282
+
1283
+ - name: wikiquote
1284
+ engine: mediawiki
1285
+ weight: 0.5
1286
+ shortcut: wq
1287
+ categories: [general, wikimedia]
1288
+ base_url: "https://{language}.wikiquote.org/"
1289
+ search_type: text
1290
+ disabled: true
1291
+ additional_tests:
1292
+ rosebud: *test_rosebud
1293
+ about:
1294
+ website: https://www.wikiquote.org/
1295
+ wikidata_id: Q369
1296
+
1297
+ - name: wikisource
1298
+ engine: mediawiki
1299
+ weight: 0.5
1300
+ shortcut: ws
1301
+ categories: [general, wikimedia]
1302
+ base_url: "https://{language}.wikisource.org/"
1303
+ search_type: text
1304
+ disabled: true
1305
+ about:
1306
+ website: https://www.wikisource.org/
1307
+ wikidata_id: Q263
1308
+
1309
+ - name: wikispecies
1310
+ engine: mediawiki
1311
+ shortcut: wsp
1312
+ categories: [general, science, wikimedia]
1313
+ base_url: "https://species.wikimedia.org/"
1314
+ search_type: text
1315
+ disabled: true
1316
+ about:
1317
+ website: https://species.wikimedia.org/
1318
+ wikidata_id: Q13679
1319
+ tests:
1320
+ wikispecies:
1321
+ matrix:
1322
+ query: "Campbell, L.I. et al. 2011: MicroRNAs"
1323
+ lang: en
1324
+ result_container:
1325
+ - not_empty
1326
+ - ['one_title_contains', 'Tardigrada']
1327
+ test:
1328
+ - unique_results
1329
+
1330
+ - name: wiktionary
1331
+ engine: mediawiki
1332
+ shortcut: wt
1333
+ categories: [dictionaries, wikimedia]
1334
+ base_url: "https://{language}.wiktionary.org/"
1335
+ search_type: text
1336
+ about:
1337
+ website: https://www.wiktionary.org/
1338
+ wikidata_id: Q151
1339
+
1340
+ - name: wikiversity
1341
+ engine: mediawiki
1342
+ weight: 0.5
1343
+ shortcut: wv
1344
+ categories: [general, wikimedia]
1345
+ base_url: "https://{language}.wikiversity.org/"
1346
+ search_type: text
1347
+ disabled: true
1348
+ about:
1349
+ website: https://www.wikiversity.org/
1350
+ wikidata_id: Q370
1351
+
1352
+ - name: wikivoyage
1353
+ engine: mediawiki
1354
+ weight: 0.5
1355
+ shortcut: wy
1356
+ categories: [general, wikimedia]
1357
+ base_url: "https://{language}.wikivoyage.org/"
1358
+ search_type: text
1359
+ disabled: true
1360
+ about:
1361
+ website: https://www.wikivoyage.org/
1362
+ wikidata_id: Q373
1363
+
1364
+ - name: wikicommons.images
1365
+ engine: wikicommons
1366
+ shortcut: wc
1367
+ categories: images
1368
+ number_of_results: 10
1369
+
1370
+ - name: wolframalpha
1371
+ shortcut: wa
1372
+ # You can use the engine using the official stable API, but you need an API
1373
+ # key. See: https://products.wolframalpha.com/api/
1374
+ #
1375
+ # engine: wolframalpha_api
1376
+ # api_key: ''
1377
+ #
1378
+ # Or you can use the html non-stable engine, activated by default
1379
+ engine: wolframalpha_noapi
1380
+ timeout: 6.0
1381
+ categories: general
1382
+ disabled: true
1383
+
1384
+ - name: dictzone
1385
+ engine: dictzone
1386
+ shortcut: dc
1387
+
1388
+ - name: mymemory translated
1389
+ engine: translated
1390
+ shortcut: tl
1391
+ timeout: 5.0
searxng/uwsgi.ini ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [uwsgi]
2
+ # Who will run the code
3
+ uid = searxng
4
+ gid = searxng
5
+
6
+ # Number of workers (usually CPU count)
7
+ # default value: %k (= number of CPU core, see Dockerfile)
8
+ workers = %k
9
+
10
+ # Number of threads per worker
11
+ # default value: 4 (see Dockerfile)
12
+ threads = 4
13
+
14
+ # The right granted on the created socket
15
+ chmod-socket = 666
16
+
17
+ # Plugin to use and interpreter config
18
+ single-interpreter = true
19
+ master = true
20
+ plugin = python3
21
+ lazy-apps = true
22
+ enable-threads = 4
23
+
24
+ # Module to import
25
+ module = searx.webapp
26
+
27
+ # Virtualenv and python path
28
+ pythonpath = /usr/local/searxng/
29
+ chdir = /usr/local/searxng/searx/
30
+
31
+ # automatically set processes name to something meaningful
32
+ auto-procname = true
33
+
34
+ # Disable request logging for privacy
35
+ disable-logging = true
36
+ log-5xx = true
37
+
38
+ # Set the max size of a request (request-body excluded)
39
+ buffer-size = 8192
40
+
41
+ # No keep alive
42
+ # See https://github.com/searx/searx-docker/issues/24
43
+ add-header = Connection: close
44
+
45
+ # uwsgi serves the static files
46
+ static-map = /static=/usr/local/searxng/searx/static
47
+ # expires set to one day
48
+ static-expires = /* 86400
49
+ static-gzip-all = True
50
+ offload-threads = 4