Browse Source

Update 'src/freedombone-app-searx'

free 6 years ago
parent
commit
d586db4fae
1 changed files with 19 additions and 6 deletions
  1. 19
    6
      src/freedombone-app-searx

+ 19
- 6
src/freedombone-app-searx View File

32
 SHOW_ON_ABOUT=1
32
 SHOW_ON_ABOUT=1
33
 SHOW_ICANN_ADDRESS_ON_ABOUT=0
33
 SHOW_ICANN_ADDRESS_ON_ABOUT=0
34
 
34
 
35
-SEARX_REPO="https://github.com/asciimoo/searx"
35
+SEARX_REPO="https://git.abolivier.bzh/free/searx"
36
 SEARX_COMMIT='80460be8f69cea5f15c9d5ddbb63e4e48fde2dd0'
36
 SEARX_COMMIT='80460be8f69cea5f15c9d5ddbb63e4e48fde2dd0'
37
 SEARX_PATH=/etc
37
 SEARX_PATH=/etc
38
 SEARX_PORT=8888
38
 SEARX_PORT=8888
256
       echo 'search:';
256
       echo 'search:';
257
       echo '    safe_search : 0 # Filter results. 0: None, 1: Moderate, 2: Strict';
257
       echo '    safe_search : 0 # Filter results. 0: None, 1: Moderate, 2: Strict';
258
       echo '    autocomplete : "" # Existing autocomplete backends: "dbpedia", "duckduckgo", "startpage", "wikipedia" - leave blank to turn it off by default';
258
       echo '    autocomplete : "" # Existing autocomplete backends: "dbpedia", "duckduckgo", "startpage", "wikipedia" - leave blank to turn it off by default';
259
-      echo '    language : "all"';
259
+      echo '    language : "en-US"';
260
       echo '';
260
       echo '';
261
       echo 'server:';
261
       echo 'server:';
262
       echo "    port : ${SEARX_PORT}";
262
       echo "    port : ${SEARX_PORT}";
263
       echo '    bind_address : "127.0.0.1" # address to listen on';
263
       echo '    bind_address : "127.0.0.1" # address to listen on';
264
       echo "    secret_key : \"${SEARX_SECRET_KEY}\"";
264
       echo "    secret_key : \"${SEARX_SECRET_KEY}\"";
265
       echo "    base_url : http://${SEARX_ONION_HOSTNAME}/";
265
       echo "    base_url : http://${SEARX_ONION_HOSTNAME}/";
266
-      echo '    image_proxy : True # Proxying image results through searx';
266
+      echo '    image_proxy : False # Proxying image results through searx';
267
       echo '    http_protocol_version : "1.1"  # 1.0 and 1.1 are supported';
267
       echo '    http_protocol_version : "1.1"  # 1.0 and 1.1 are supported';
268
       echo '';
268
       echo '';
269
       echo 'ui:';
269
       echo 'ui:';
270
       echo '    static_path : "" # Custom static path - leave it blank if you didnt change';
270
       echo '    static_path : "" # Custom static path - leave it blank if you didnt change';
271
       echo '    templates_path : "" # Custom templates path - leave it blank if you didnt change';
271
       echo '    templates_path : "" # Custom templates path - leave it blank if you didnt change';
272
       echo '    themes_path : "" # Custom ui themes path';
272
       echo '    themes_path : "" # Custom ui themes path';
273
-      echo '    default_theme : courgette # ui theme';
273
+      echo '    default_theme : oscar # ui theme';
274
       echo '    default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the "locales" config section';
274
       echo '    default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the "locales" config section';
275
       echo '';
275
       echo '';
276
       echo 'outgoing: # communication with search engines';
276
       echo 'outgoing: # communication with search engines';
286
       echo '    engine : archlinux';
286
       echo '    engine : archlinux';
287
       echo '    categories : general';
287
       echo '    categories : general';
288
       echo '    shortcut : al';
288
       echo '    shortcut : al';
289
+      echo '    disabled : True';
290
+      echo '';
291
+      echo '  - name : google';
292
+      echo '    engine : google';
293
+      echo '    shortcut : go';
294
+      echo '    disabled : True';
289
       echo '';
295
       echo '';
290
       echo '  - name : archive is';
296
       echo '  - name : archive is';
291
       echo '    engine : xpath';
297
       echo '    engine : xpath';
339
       echo '    content_query : fullCitation';
345
       echo '    content_query : fullCitation';
340
       echo '    categories : science';
346
       echo '    categories : science';
341
       echo '    shortcut : cr';
347
       echo '    shortcut : cr';
348
+      echo '    disabled : True';
342
       echo '';
349
       echo '';
343
       echo '  - name : currency';
350
       echo '  - name : currency';
344
       echo '    engine : currency_convert';
351
       echo '    engine : currency_convert';
358
       echo '    engine : duckduckgo_definitions';
365
       echo '    engine : duckduckgo_definitions';
359
       echo '    shortcut : ddd';
366
       echo '    shortcut : ddd';
360
       echo '    weight : 2';
367
       echo '    weight : 2';
361
-      echo '    disabled : True';
368
+      echo '    disabled : False';
362
       echo '';
369
       echo '';
363
       echo '  - name : digbt';
370
       echo '  - name : digbt';
364
       echo '    engine : digbt';
371
       echo '    engine : digbt';
404
       echo '  - name : 500px';
411
       echo '  - name : 500px';
405
       echo '    engine : www500px';
412
       echo '    engine : www500px';
406
       echo '    shortcut : px';
413
       echo '    shortcut : px';
414
+      echo '    disabled : True';
415
+
407
       echo '';
416
       echo '';
408
       echo '  - name : 1x';
417
       echo '  - name : 1x';
409
       echo '    engine : www1x';
418
       echo '    engine : www1x';
561
       echo '    shortcut : tpb';
570
       echo '    shortcut : tpb';
562
       echo '    url: https://pirateproxy.red/';
571
       echo '    url: https://pirateproxy.red/';
563
       echo '    timeout : 3.0';
572
       echo '    timeout : 3.0';
573
+      echo '    disabled : True';
564
       echo '';
574
       echo '';
565
       echo '  - name : qwant';
575
       echo '  - name : qwant';
566
       echo '    engine : qwant';
576
       echo '    engine : qwant';
638
       echo '# The language is an option. You can put any language written in english';
648
       echo '# The language is an option. You can put any language written in english';
639
       echo '# Examples : English, French, German, Hungarian, Chinese...';
649
       echo '# Examples : English, French, German, Hungarian, Chinese...';
640
       echo '#    language : English';
650
       echo '#    language : English';
651
+      echo '    disabled : True';
641
       echo '';
652
       echo '';
642
       echo '  - name : startpage';
653
       echo '  - name : startpage';
643
       echo '    engine : startpage';
654
       echo '    engine : startpage';
644
       echo '    shortcut : sp';
655
       echo '    shortcut : sp';
645
       echo '    timeout : 6.0';
656
       echo '    timeout : 6.0';
646
-      echo '    disabled : True';
657
+      echo '    disabled : False';
647
       echo '';
658
       echo '';
648
       echo '  - name : ixquick';
659
       echo '  - name : ixquick';
649
       echo '    engine : startpage';
660
       echo '    engine : startpage';
651
       echo "    search_url : 'https://www.ixquick.eu/do/search'";
662
       echo "    search_url : 'https://www.ixquick.eu/do/search'";
652
       echo '    shortcut : iq';
663
       echo '    shortcut : iq';
653
       echo '    timeout : 6.0';
664
       echo '    timeout : 6.0';
665
+      echo '    disabled : True';
654
       echo '';
666
       echo '';
655
       echo '  - name : swisscows';
667
       echo '  - name : swisscows';
656
       echo '    engine : swisscows';
668
       echo '    engine : swisscows';
674
       echo '    title_xpath   : //*[@class="def-header"]';
686
       echo '    title_xpath   : //*[@class="def-header"]';
675
       echo '    content_xpath : //*[@class="meaning"]';
687
       echo '    content_xpath : //*[@class="meaning"]';
676
       echo '    shortcut : ud';
688
       echo '    shortcut : ud';
689
+      echo '    disabled : True';
677
       echo '';
690
       echo '';
678
       echo '  - name : yandex';
691
       echo '  - name : yandex';
679
       echo '    engine : yandex';
692
       echo '    engine : yandex';