Plik is a temporary file upload system (Wetransfer like) in Go.
X
Go
Plik has come a long way and is now a top-notch temporary file upload system which mimics the functionality of Wetransfer but packs a punch with a slew of extra features and options to cater to developers and tech enthusiasts alike. Written in Go, this open-source project has a slick and user-friendly interface that makes file-sharing a breeze. The most striking aspect of Plik is its flexibility. It offers multiple data backends including File, OpenStack Swift, S3, and Google Cloud Storage. Add to that the various metadata backends like Sqlite3, PostgreSQL, and MySQL, and you’ve got a solutions fit for both local and distributed deployments. Your files are destructed after the first download in OneShot mode, or streamed directly from the uploader to the downloader without landing on the server in Stream mode. For those whose focus is security, there’s server-side encryption with the S3 data backend and password-protected uploads for peace of mind. The installation process is straightforward. With options to download and run from a release, compile from sources, or deploy using multiarch Docker images, getting Plik up and running on your machine or server is just a few commands away. Once you've got it set up, the configuration can be fine-tuned in the plikd.cfg file. Plik has a robust command-line client that's cross-platform and super easy to use. Whether passphrases, custom expiration dates (TTL), or concisely formatted comments in Markdown are required, you’ll find just the right flag to use. Plus, for those who like to tinker a bit, the web UI can be customized with bespoke CSS, JavaScript, and even change the background image or favicon. In the world of user authentication, Plik shines once again, offering local, Google, and OVH APIs for various authentication needs. An admin dashboard allows easy manipulation of accounts and uploaded files, and administrators can set source IP restrictions ensuring that only trusted IPs can create new accounts. Alright, let’s talk security. Hosting untrusted HTML content can be tricky, but Plik leaps ahead by overriding the Content-Type to "text-plain" to prevent rendering and setting several security HTTP headers to keep untrusted scripts at bay. Another pro tip is to serve uploaded files from a separate subdomain to prevent phishing attacks and protect your session cookies. Finally, if your environment is a little exotic or you're an old hand with a custom setup, Plik’s documentation has you covered with detailed cross-compilation directions and an extensive FAQ section that answers common issues and provides configuration tips to ensure everything runs like butter on hot corn. Plik is not just a file-sharing solution; it’s a tailored experience for those who demand flexibility, security, and ease-of-use, bundled into one powerful project. It’s great for digital packrats, developers swapping assets, and anyone wanting to share files securely on their own turf, rather than relying on third-party file-sharing services. Try it out, and chances are, you’ll wonder how you got by without it!
Check out site