Klipt is a small, self-hosted alternative to Medal.tv. People sign up, upload game clips from the desktop app, follow their friends' clips in a feed, and paste share links into Discord, where they show up as playable embeds. Everything runs as one Docker Compose stack (Postgres plus the Klipt server) that you host yourself.
-
In Dokploy, create a new Compose service and pick GitHub as the source: repository
cRaZy92/klipt, branchmain, compose filedocker-compose.yml. -
Open the Environment tab and set:
Variable Meaning BASE_URLThe public address, e.g. https://clips.example.com. Must be the public https URL, because share links and secure cookies are built from it.ADMIN_USERNAMEName of the first (admin) account. ADMIN_PASSWORDPassword of the admin account (at least 8 characters). POSTGRES_PASSWORDAny long random password for the database. Set it once: changing it after the first deploy has no effect, because the pgdatavolume is already initialised with the old password.MAX_UPLOAD_MBOptional. Largest clip allowed, default 2048.MIN_FREE_MBOptional. Free space kept on the data disk, default 2048. Below it the server refuses new uploads (the app tries them again later) and holds compression back; below a quarter of it, uploads already running pause too. The admin page shows the free space.0turns this off.KLIPT_PORTOptional. Host port the server is published on, default 3260. Point your tunnel or proxy (e.g. Pangolin) at<host IP>:<KLIPT_PORT>.TRANSCODEOptional. on(default) re-encodes uploaded clips to H.264 in the background so they take much less space and still play everywhere (older iPhones too);offstores uploads as they are. Progress is on the admin page.TRANSCODE_CRFOptional. Compression quality, default 23. Lower is better quality and bigger files (20≈ near the original,26≈ noticeably smaller).TRANSCODE_PRESETOptional. x264 speed, default medium.fastuses less CPU for slightly bigger files;slowsaves ~2% more for ~40% more CPU time.TRANSCODE_THREADSOptional. CPU threads compression may use, default 2, so it leaves the rest of the server alone (it also runs at low priority). On an i5-10600KF expect roughly 1.5 minutes of work per minute of 1080p60 clip with 2 threads.TRUST_PROXY_HOPSOptional. How many reverse proxies sit in front of Klipt, default 1. Use1behind Dokploy/Traefik,0if Klipt is exposed directly with no proxy,2if Cloudflare is in front of Traefik. -
Without Dokploy's Traefik (e.g. a Pangolin tunnel): skip the Domains tab and point the tunnel at
<Dokploy host IP>:<KLIPT_PORT>with HTTPS terminated by the tunnel; keepTRUST_PROXY_HOPS=1(Pangolin's proxy is one hop). With Dokploy's Traefik: open the Domains tab, add your domain, and set service nameserver, port3000, and enable HTTPS (Let's Encrypt). Point the domain's DNS at your Dokploy server first. -
Press Deploy. The first build takes a few minutes.
Open your BASE_URL, sign in with ADMIN_USERNAME / ADMIN_PASSWORD. The admin account is only created the first time, when there are no users yet. Changing these variables later does not change the password.
Anyone can sign up at /signup. Clips are listed to friends (or to everyone when set to Public); every clip's share link works for whoever has it.
To bring a friend in, open Friends and make a referral link. It works once, for 14 days: whoever signs up through it (or opens it while logged in) becomes your friend. Disabling a user (admin page → Users) stops their links from working.
Two Docker volumes hold everything:
pgdata: the database (accounts, clip info).klipt-data: the clip files and thumbnails.
Backup hint: back up both volumes together, for example with Dokploy's volume backups or docker run --rm -v <project>_klipt-data:/d -v $PWD:/b alpine tar czf /b/klipt-data.tgz -C /d . (and a pg_dump for the database).