Deploying a Self-Hosted Link Shortener With Shlink
Run Shlink on a VPS to shorten, track, and redirect your own links with a REST API, QR codes, custom slugs, expiry rules, and visit analytics.
NetBay journal
Practical guides for Linux, containers, CI/CD, self-hosting, and running VPS infrastructure from Netbay Engineering.
499 articles · 24 topics
Run Shlink on a VPS to shorten, track, and redirect your own links with a REST API, QR codes, custom slugs, expiry rules, and visit analytics.
Boot Arch on a VPS from a standard image, keep the base minimal, use the AUR only after reading the PKGBUILD, and roll your updates on a schedule.
Give pods storage that survives restarts using PersistentVolumes and PVCs, with the k3s built-in local-path provisioner.
Compare apt, dnf, apk, and pacman for installing, updating, and removing software on major Linux distributions.
Stop judging ops agents by one lucky demo. Score JSONL traces against golden tasks so regressions show up before they restart the wrong systemd unit.
Open up a container image to see its layers, manifest digest, and config — and learn why filesystem layers are content-addressed.
Speed up image rebuilds by ordering instructions for cache hits and using BuildKit cache mounts: dependencies first, code last, and caches that persist.
Reproduce failing GitHub Actions runs with step debug logs, failed-job re-runs, reproducible local builds, and interactive tmate SSH sessions on the runner.
Rate limiting protects both sides of an API. Token buckets, the standard 429 headers, and what well-behaved clients should do with Retry-After.
What USE flags and source-based installs actually buy you on Gentoo, when compiling everything pays off on a VPS, and when a binary distro is the better bet.
Aggregate all your self-hosted services into one Grafana overview with Prometheus scraping, alerts, and a status page you can actually trust.
Field-proven guidance on issuing, rotating, storing, and revoking refresh tokens without introducing session-hijack security holes for your API.