Go

plik

Plik is a temporary file upload system (Wetransfer like) in Go.

R

root-gg

Dernière activité 18 sept. 2026
root-gg/plik

1,8 k

étoiles

197

forks

43

issues ouvertes

dockere2eefile-sharingfile-uploadgolangmcpself-hosted

Ce README est souvent en anglais.

Mentioned in Awesome Go Build Go Report Docker Pulls GoDoc License

Want to access the documentation? https://root-gg.github.io/plik

Want to see a live demo ? https://plik.root.gg

Want to chat with us ? Telegram group : https://t.me/plik_rootgg

Want to hear about new releases only ? Telegram channel : https://t.me/plik_root_gg

Plik

Plik is a scalable & friendly temporary file upload system — like WeTransfer, self-hosted.

plik-demo.mp4

Features

  • 🖥️ Modern Vue 3 web interface with i18n (12 languages) and light, dark, custom themes
  • 🧑‍💻 Powerful Command line client
  • ☁️ Multiple storage backends (local, S3, OpenStack Swift, Google Cloud Storage)
  • 🗄️ Multiple metadata backends (SQLite, PostgreSQL, MySQL)
  • 🔑 Multiple authentication providers (Local, Google, GitHub, OVH, OIDC)
  • ⏱️ Configurable TTL with auto-cleanup
  • 💣 OneShot downloads (file deleted after first download)
  • ⚡ Stream mode (uploader → downloader, nothing stored)
  • 🔐 Password-protected uploads (BasicAuth)
  • 🔒 End-to-end encryption with Age (CLI ↔ Web interoperable)
  • 🖼️ File preview with syntax highlighting, Markdown rendering, Mermaid diagrams and media player
  • 📦 Archive directly from CLI/Web
  • 📊 Prometheus metrics
  • 🤖 MCP server for AI assistant integration

Third-party clients

Quick Start

# Docker
docker run -p 8080:8080 rootgg/plik

# From release
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-linux-amd64/server && ./plikd

# Debian / Ubuntu
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 && sudo apt install plik-server
sudo systemctl start plikd

# From source
git clone https://github.com/root-gg/plik.git
cd plik && make
cd server && ./plikd

# Kubernetes (Helm)
helm repo add plik https://root-gg.github.io/plik
helm install plik plik/plik

Open web interface at http://127.0.0.1:8080

Command Line Client

$ plik myfile.txt
Upload successfully created at Sat, 21 Feb 2026 09:02:54 CET :
    http://127.0.0.1:8080/#/?id=vDPmPEUqc5oCt31T

myfile.txt :  2.56 KiB / 2.56 KiB [=========================================] 100.00% 719.15 KiB/s 0s

Commands :
curl -s "http://127.0.0.1:8080/file/vDPmPEUqc5oCt31T/UZzSdZ7zPgfRiTem/myfile.txt" > 'myfile.txt'

# or with just curl
$ curl --form 'file=@/path/to/myfile.txt' http://127.0.0.1:8080
https://plik.root.gg/file/eeBKaTQhg5xv0zTL/WWVhZc0PFtvoZgCu/myfile.txt

See: CLI Client Documentation for installation

How to Contribute

Contributions are welcome! See the contributing guide for development setup and build instructions.

License

MIT

Projets similaires

Easy and fast file sharing from the command-line.

Godockergolanghacktoberfest
Ddutchcoders
15,9 k étoiles1,6 k

Easily and securely send things from one computer to another

Godata-transferfile-sharinggolang
Sschollz
40,5 k étoiles1,6 k

A minimalist, easy-to-host service for sharing images and other files

Go
Mmtlynch
3 k étoiles223