Skip to content

sargunv/svurl

Repository files navigation

Svurl

Backend endpoint for a CLI-style bookmark service, similar to http://www.bunny1.org/.

Create or edit commands in ./config.kdl using the KDL config language.

Installation

On Debian-based systems

# Add the repo's GPG key
curl -L https://packagecloud.io/sargunv/public/gpgkey | sudo apt-key add -

# Add the repo to your apt sources
echo 'deb https://packagecloud.io/sargunv/public/any/ any main' | sudo tee -a /etc/apt/sources.list

# Update your sources and install
sudo apt update && sudo apt install svurl-resolver

Alternatively, download the .deb package for your system from Github Releases and install it with dpkg.

To override settings like the port, run sudo systemctl edit svurl-resolver, set applicable environment variables, and run sudo systemctl restart svurl-resolver. For example:

[Service]
Environment="ROCKET_PORT=10002"