Installation
From Release
Download the latest release and run:
wget https://github.com/root-gg/plik/releases/download/1.4.2/plik-server-1.4.2-linux-amd64.tar.gz
tar xzvf plik-server-1.4.2-linux-amd64.tar.gz
cd plik-server-1.4.2/server
./plikdPlik is now running at http://127.0.0.1:8080.
Edit plikd.cfg to adjust the configuration (ports, TLS, TTL, backends, etc.).
TIP
Standalone client binaries for all platforms are also available on the release page. See the CLI documentation for installation instructions.
From Source
Requires Go and Node.js:
git clone https://github.com/root-gg/plik.git
cd plik && make
cd server && ./plikdDocker
Plik provides multiarch Docker images for linux amd64/i386/arm/arm64:
docker run -p 8080:8080 rootgg/plikAvailable tags:
rootgg/plik:latest— latest releaserootgg/plik:{version}— specific releaserootgg/plik:dev— latest master commit
See the Docker Deployment Guide for custom configuration, persistent storage, and Docker Compose examples.
Debian / Ubuntu
Plik provides .deb packages for amd64, arm64, armhf, and i386 via an APT repository hosted on GitHub Pages.
# Add the repository
curl -fsSL https://root-gg.github.io/plik/apt/gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/plik.gpg
echo "deb [signed-by=/etc/apt/keyrings/plik.gpg] https://root-gg.github.io/plik/apt stable main" | sudo tee /etc/apt/sources.list.d/plik.list
sudo apt update
# Install server
sudo apt install plik-server
sudo systemctl start plikd
# Or install just the CLI client
sudo apt install plik-clientThe server package installs:
/usr/bin/plikd— server binary/etc/plik/plikd.cfg— configuration (preserved on upgrade)- Systemd service (
plikd.service) - Webapp, client binaries, and changelog under
/usr/share/plik/ - Data directory at
/var/lib/plik/
TIP
The plik-server package creates a plik system user and automatically adjusts the default configuration paths for the Debian filesystem layout.
