Skip to content

Linux

Supported: kernel 4.4+, glibc-based distros. Tested on Ubuntu 22.04+, Debian 12, Fedora 39+, Alpine 3.19+. Architectures: amd64, arm64.

  1. Open a shell.

  2. Run the installer:

    Terminal window
    curl -sSL https://proxy.sotatek.works/releases/download/latest/install.sh | bash

    The script downloads the matching binary, verifies the SHA256 checksum, places it under /usr/local/bin/sotatek-proxy (or ~/.local/bin/sotatek-proxy if /usr/local/bin is not writable), seeds a default config under ~/.config/sotatek-proxy/, and registers a systemd --user unit that auto-starts on session.

  3. Verify the daemon is up:

    Terminal window
    sotatek-proxy status
    curl http://127.0.0.1:3817/_proxy/healthz
WhatPath
Binary/usr/local/bin/sotatek-proxy (or ~/.local/bin/sotatek-proxy)
Config~/.config/sotatek-proxy/config.yaml ($XDG_CONFIG_HOME respected)
Logs~/.local/state/sotatek-proxy/sotatek-proxy.log
Unit~/.config/systemd/user/sotatek-proxy.service
Terminal window
sotatek-proxy status # running / stopped
sotatek-proxy start # start now
sotatek-proxy stop # stop now
sotatek-proxy logs # tail last 100 lines
sotatek-proxy uninstall # remove systemd unit

You can also use systemd directly:

Terminal window
systemctl --user status sotatek-proxy
journalctl --user -u sotatek-proxy -f

If sotatek-proxy status returns command not found, the binary was installed to ~/.local/bin (because /usr/local/bin was not writable) and that directory is not on your PATH.

Add it to the right shell rc, then reload:

Terminal window
case "$(basename "${SHELL:-bash}")" in
zsh) RC="$HOME/.zshrc" ;;
*) RC="$HOME/.bashrc" ;;
esac
LINE='export PATH="$HOME/.local/bin:$PATH"'
grep -qxF "$LINE" "$RC" 2>/dev/null || echo "$LINE" >> "$RC"
source "$RC"

Or fix just the current shell (no new session needed):

Terminal window
export PATH="$HOME/.local/bin:$PATH"
sotatek-proxy status
Terminal window
sotatek-proxy uninstall
rm /usr/local/bin/sotatek-proxy # or ~/.local/bin/sotatek-proxy
rm -rf ~/.config/sotatek-proxy
rm -rf ~/.local/state/sotatek-proxy