searxngRebrandZaclys/utils
Markus Heiser bf52353a5c [enh] minify searxng-wordmark.svg (HTMLMinifier)
Command::

  ./node_modules/.bin/html-minifier \
      --remove-comments \
      --collapse-whitespace \
      src/svg/searxng-wordmark.svg \
      -o ../../../templates/__common__/searxng-wordmark.min.svg

- html-minifier: https://github.com/kangax/html-minifier
  - onilne: https://kangax.github.io/html-minifier
  - grunt: https://www.npmjs.com/package/grunt-contrib-htmlmin
  - grunt-contrib-htmlmin: https://github.com/gruntjs/grunt-contrib-htmlmin
  - npm: https://www.npmjs.com/package/html-minifier

To test, rebuild your node environment::

  make node.env

Alternatives:

- pretty-data: https://github.com/vkiryukhin/pretty-data
  - grunt: https://www.npmjs.com/package/grunt-xmlmin
  - grunt-xmlming: https://github.com/dtrunk90/grunt-xmlmin
  - npm: https://www.npmjs.com/package/grunt-xmlmin

- minify-xml: https://github.com/kristian/minify-xml
  - no grunt package available
  - npm: https://www.npmjs.com/package/minify-xml

src/svg/searxng-wordmark.svg':
'../../../templates/__common__/searxng-wordmark.min.svg'

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-13 09:05:20 +01:00
..
templates [brand] SearXNG - nginx & apache searxng.conf, uwsgi searxng.conf 2021-10-30 16:11:01 +02:00
brand.env [brand] SearXNG - bash env SEARXNG_URL 2021-10-30 16:11:01 +02:00
build_env.py [brand] SearXNG - bash env SEARXNG_URL 2021-10-30 16:11:01 +02:00
filtron.sh [fix] morty & filtron: don't use golang installed by package manager 2021-10-30 19:18:32 +02:00
lib_install.sh [brand] SearXNG - bash env SEARXNG_URL 2021-10-30 16:11:01 +02:00
lib_static.sh [enh] minify searxng-wordmark.svg (HTMLMinifier) 2021-11-13 09:05:20 +01:00
lib.sh [mod] utils/lib.sh: add pyenv.activate 2021-09-17 14:15:35 +02:00
lxc-searx.env [mod] LXC switch to Fedora 33 / Fedora 31 reached its EOL 2021-03-05 13:17:47 +01:00
lxc.sh [mod] reduce enviroment variables in shell scripts to what is needed 2021-07-24 16:28:15 +02:00
makefile.include [mod] replace makefile boilerplate by 'manage' script 2021-04-23 11:26:22 +02:00
makefile.lxc [mod] LXC_ENV_FOLDER moved from ./lxc to ./lxc-env 2020-12-26 11:43:18 +01:00
morty.sh [fix] morty & filtron: don't use golang installed by package manager 2021-10-30 19:18:32 +02:00
searx.sh [mod] searx, filtron & morty scripts: add 'reinstall all' command 2021-10-30 16:11:01 +02:00
searxng_check.py [mod] utils/searxng_check.py - check a SearXNG installation 2021-10-29 15:51:30 +00:00