Lufin
Lufin — a modern self-hosted file-sharing service and an alternative to lufi built with React, Vite & Rollup, Material UI, SCSS modules, TailwindCSS, MongoDB, PostgreSQL, Drizzle ORM & Kit, Elysia, Bun.
Features
- ✨ Modern neat design
- 📁 S3 storage support (with Cloudflare R2 compatability)
- 🌄 Rich client-side preview for
- 🖼️ Images
- 🎵 Audio
- 🎥 Video
- 🗂️ Zip archives
- 📊 XLSX spreadsheets
- 📝 Text files
- 🗣️ Translated to 26 languages: English, Русский, Українська, Беларуская, Български, Čeština, Dansk, Nederlands, Eesti, Suomi, Français, Deutsch, Ελληνικά, Magyar, Italiano, Latviešu, Lietuvių, Norsk, Polski, Português, Română, Slovenčina, Slovenščina, Español, Svenska, Türkçe.
- 🛡️ Client-side metadata stripping such as EXIF from images
- 🔥 Configurable data retention settings based on files size
- 🔐 Optional end-to-end encryption using AES-GCM allowing user to opt-out to embed files via hotlinks
- 🔑 Password protection
- 👀 Delete at first downlaod
- 🗃️ Client-side archive generation before uploading
- 📸 Client-side image compression
- ✏️ Automatic file renaming with option to keep original filenames
- 📀 Multiple databases support (MongoDB, PostgreSQL, SQLite)
- ⚡️ Fully static frontend (no SSR, no Next.js needed running for the website)
- 📦 Docker Compose deployment with automatic HTTPS out of the box
- 💻 Links to uploaded files are stored in LocalStorage
- 💾 Importable/exportable LocalStorage with a button to clean up expired pages
The project was initially launched as part of the bigger platform for business, tracking trends in russian division of darknet (Tor Onion Network) made in 2023. The filesharing was one of the platform features allowing anyone to share files securely and privately for free. My job was to create a service similar to lufi but using client's design and integrating with the platform's systems. In late 2024 I had to stop working for that freelance client due to constant harassment, abuse and threats. Upon leaving, they had owed me about 400€ but refused to pay the rest. One year later I rewrote the filesharing backend, improved accessibility, added new features, more database choices and published it as lufin. The project became my most popular open source project with more than 150 stars on GitHub as of September 2025.
Lufin screenshotter
Firefox-based browser extension for taking full-screen, partial, full-screen cropped screenshots, with a built-in image editor and an option to instantly upload to your choosen lufin instance. Free, no ads, no trackers, no metrics, 100% opensource.