Skip to content

Installing & Running

demostanis edited this page Feb 8, 2021 · 1 revision

There are many ways to install and run gimmeasearx, such as with Docker or through a systemd service.

from AUR

gimmeasearx is in the Arch User Repository! If you use Arch Linux, you can use your favorite AUR helper to install gimmeasearx-git!

yay -S gimmeasearx-git
trizen -S gimmeasearx-git

Or git clone it and use makepkg:

git clone https://aur.archlinux.org/gimmeasearx-git.git
makepkg -sci

You can then run gimmeasearx.

with Docker or Podman

docker build -t gimmeasearx .
docker run --name gimmesearx -d -ti -p 8080:8080 gimmeasearx

The docker instance should be up and running. You can access it via localhost:8080.

as an openrc-service

$ go build gimmeasearx.go
$ sed -i "s|TEMPLATE_DIR|$PWD|" services/openrc/openrc-service
# cp gimmeasearx /usr/local/bin
# cp services/openrc/openrc-service /etc/init.d/gimmeasearx

You can change the port via the PORT environment variable. The instance should be up and running. You can access it via localhost:8080.

with systemd

$ go build gimmeasearx.go
$ sed -i "s|TEMPLATE_DIR|$PWD|" services/systemd/gimmeasearx.service
# cp gimmeasearx /usr/bin
# cp services/systemd/gimmeasearx.service /usr/lib/systemd/system
# systemctl enable --now gimmeasearx

The instance should be up and running. You can access it via localhost:8080.