Giter Site home page Giter Site logo

searxng's Introduction

SearXNG

builds custom SearXNG container with a changed simple theme and settings.yml; This project builds on top of https://github.com/searxng/searxng (SearXNG vs SearX: https://github.com/searxng/searxng/issues/46)

Project Links

Production Server / Instance : https://paulgo.io

DockerHub : https://hub.docker.com/r/paulgoio/searxng

GitHub : https://github.com/paulgoio/searxng

GitLab : https://paulgo.dev/paulgoio/searxng

Basic Example

  • docker run -it --rm -p 8080:8080 paulgoio/searxng:production

  • After that just visit http://127.0.0.1:8080 in your browser and stop the server with ctrl-c

Production Setup

Check out the docker-compose.yml file in this repo for reference

Development

  • Clone this repo: git clone https://github.com/paulgoio/searxng.git

  • After making your changes in src/less make sure to update src/css by running update.sh (python, npm and make needed)

  • You can build the docker container locally by running (check out base branch for the alpine base with the needed python packages): docker build --pull -f ./Dockerfile -t searxng-dev:latest .

  • Debug the local container with: docker run -it --rm -p 8080:8080 searxng-dev:latest

Environment Variables (all optional: if not set -> using default settings)

  • IMAGE_PROXY : enable the image proxyfication through SearXNG; the builtin image proxy is used (set this to true)

  • REDIS_URL : set the URL of redis server to store data for limiter plugin (for example redis://redis:6379/0 or unix:///usr/local/searxng-redis/run/redis.sock?db=0)

  • LIMITER : limit bot traffic; this option also requires redis to be set up

  • BASE_URL : set the base url (for example example.org would have https://example.org/ as base)

  • NAME : set the name of the instance, which is for example displayed in the title of the site (for example PaulGO)

  • PRIVACYPOLICY : set URL of privacy policy of the instance (for example https://example.org/privacy-policy)

  • CONTACT : set instance maintainer contact (for example mailto:[email protected])

  • ISSUE_URL : set issue url for custom SearXNG repo (for example https://github.com/paulgoio/searxng/issues !Without trailing /)

  • GIT_URL : set git url for custom SearXNG repo (for example https://github.com/paulgoio/searxng)

  • GIT_BRANCH : set git branch for custom SearXNG repo (for example main)

  • PROXY : set proxy servers that are applied as round robin for all engines; seperate multiple proxies with a comma (for example http://example.org:8080,http://proxy.example.net)

  • UWSGI_WORKERS : set the amount of uwsgi workers (each worker can handle http requests to the server); defaults to the amount of cors the server has (for example: 4)

  • UWSGI_THREADS : set the amount of uwsgi threads per worker; so each worker has the amount of threads defined here; defaults to 4 (for example: 4)

searxng's People

Contributors

mrpaulblack avatar dalf avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.