diff --git a/apps/searxng/README.md b/apps/searxng/README.md new file mode 100644 index 00000000..5cc63a14 --- /dev/null +++ b/apps/searxng/README.md @@ -0,0 +1,82 @@ +------------------------------------------------------------------------ + +SearXNGlogo + +------------------------------------------------------------------------ + +Privacy-respecting, hackable [meta search engine](https://en.wikipedia.org/wiki/Metasearch_engine) + +[Searx.space](https://searx.space) lists ready-to-use running instances. + +A [user](https://docs.searxng.org/user),[admin](https://docs.searxng.org/admin) and[developer](https://docs.searxng.org/dev) handbook is available on the[homepage](https://docs.searxng.org/). + +[![SearXNG +install](https://img.shields.io/badge/-install-blue)](https://docs.searxng.org/admin/installation.html) [![SearXNG +homepage](https://img.shields.io/badge/-homepage-blue)](https://docs.searxng.org/) [![SearXNGwiki](https://img.shields.io/badge/-wiki-blue)](https://github.com/searxng/searxng/wiki) [![AGPLLicense](https://img.shields.io/badge/license-AGPL-blue.svg)](https://github.com/searxng/searxng/blob/master/LICENSE) [![Issues](https://img.shields.io/github/issues/searxng/searxng?color=yellow&label=issues)](https://github.com/searxng/searxng/issues) [![commits](https://img.shields.io/github/commit-activity/y/searxng/searxng?color=yellow&label=commits)](https://github.com/searxng/searxng/commits/master) [![weblate](https://translate.codeberg.org/widgets/searxng/-/searxng/svg-badge.svg)](https://translate.codeberg.org/projects/searxng/) SearXNGlogo + + +------------------------------------------------------------------------ + +# Contact + +Ask questions or just chat about SearXNG on + +IRC + + [#searxng on libera.chat](https://web.libera.chat/?channel=#searxng) which is bridged to Matrix. + +Matrix + + [#searxng:matrix.org](https://matrix.to/#/#searxng:matrix.org) + +# Differences to searx + +SearXNG is a fork of [searx](https://github.com/searx/searx), with notable changes: + +## User experience + +- Reworked (and still simple) theme: + - Usable on desktop, tablet and mobile. + - Light and dark versions (available in the preferences). + - Right-to-left language support. + - [Screenshots](https://dev.searxng.org/screenshots.html) +- The translations are up to date, you can contribute on [Weblate](https://translate.codeberg.org/projects/searxng/searxng/) +- The preferences page has been updated: + - Browse which engines are reliable or not. + - Engines are grouped inside each tab. + - Each engine has a description. +- Thanks to the anonymous metrics, it is easier to report malfunctioning engines, so they get fixed quicker + - [Turn off metrics on the server](https://docs.searxng.org/admin/engines/settings.html#general)if you don\'t want them recorded. +- Administrators can [block and/or replace the URLs in the search results](https://github.com/searxng/searxng/blob/5c1c0817c3996c5670a545d05831d234d21e6217/searx/settings.yml#L191-L199) + +## Setup + +- No need for [Morty](https://github.com/asciimoo/morty) to proxy images, even on a public instance. +- No need for [Filtron](https://github.com/searxng/filtron) to block bots, as there is now a built-in [limiter](https://docs.searxng.org/src/searx.plugins.limiter.html). +- A well maintained [Dockerimage](https://github.com/searxng/searxng-docker), now also built for ARM64 and ARM/v7 architectures. (Alternatively there are up to date installation scripts.) + +## Contributing + +- Readable debug log. +- Contributing is easier, thanks to the [Development Quickstart](https://docs.searxng.org/dev/quickstart.html) guide. +- A lot of code cleanup and bugfixes. +- Up to date list dependencies. + +# Translations + +Help translate SearXNG at [Weblate](https://translate.codeberg.org/projects/searxng/searxng/) + +![](https://translate.codeberg.org/widgets/searxng/-/multi-auto.svg) + +# Codespaces + +You can contribute from your browser using [GitHub Codespaces](https://docs.github.com/en/codespaces/overview): + +- Fork the repository +- Click on the `<> Code` green button +- Click on the `Codespaces` tab instead of `Local` +- Click on `Create codespace on master` +- VSCode is going to start in the browser +- Wait for `git pull && make install` to appears and then to disapear +- You have [120 hours per month](https://github.com/settings/billing)(see also your [list of existing Codespaces](https://github.com/codespaces)) +- You can start SearXNG using `make run` in the terminal or by pressing `Ctrl+Shift+B`. diff --git a/apps/searxng/data.yml.bak b/apps/searxng/data.yml.bak new file mode 100644 index 00000000..29ff159f --- /dev/null +++ b/apps/searxng/data.yml.bak @@ -0,0 +1,20 @@ +name: SearXNG +tags: + - 建站 +title: 一个免费的互联网元聚合搜索引擎 +type: 建站 +description: 一个免费的互联网元聚合搜索引擎 +additionalProperties: + key: SearXNG + name: SearXNG + tags: + - WebSite + shortDescZh: 一个免费的互联网元聚合搜索引擎 + shortDescEn: A free internet meta-aggregator search engine + type: website + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://github.com/searxng/searxng + github: https://github.com/searxng/searxng + document: https://docs.searxng.org/ diff --git a/apps/searxng/latest/.env.sample b/apps/searxng/latest/.env.sample new file mode 100644 index 00000000..ead5e2fd --- /dev/null +++ b/apps/searxng/latest/.env.sample @@ -0,0 +1,4 @@ +CONTAINER_NAME="searxng" +PANEL_APP_PORT_HTTP="40032" +DATA_PATH="./data" +SEARXNG_EXTERNAL_URL="http://localhost:40032" diff --git a/apps/searxng/latest/data.yml b/apps/searxng/latest/data.yml new file mode 100644 index 00000000..1ad58568 --- /dev/null +++ b/apps/searxng/latest/data.yml @@ -0,0 +1,24 @@ +additionalProperties: + formFields: + - default: 40032 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: ./data + edit: true + envKey: DATA_PATH + labelEn: Data folder path + labelZh: 数据文件夹路径 + required: true + type: text + - default: http://localhost:40032 + edit: true + envKey: SEARXNG_EXTERNAL_URL + labelEn: External URL + labelZh: 外部访问地址 + required: true + type: text \ No newline at end of file diff --git a/apps/searxng/latest/docker-compose.yml b/apps/searxng/latest/docker-compose.yml new file mode 100644 index 00000000..be11f5e5 --- /dev/null +++ b/apps/searxng/latest/docker-compose.yml @@ -0,0 +1,20 @@ +version: '3' +services: + searxng: + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:8080" + volumes: + - "${DATA_PATH}:/etc/searxng" + environment: + - BASE_URL=${SEARXNG_EXTERNAL_URL} + image: searxng/searxng:latest + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/searxng/logo.png b/apps/searxng/logo.png new file mode 100644 index 00000000..3eeefdc8 Binary files /dev/null and b/apps/searxng/logo.png differ