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
  • 📖 PDF
  • 🗣️ 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.

Lufin frontend screenshot with text: Drag and drop files here or [Add the files] button / Finish upload / Set a password / [Checkbox] Delete on first download / [Checkbox] Make a zip archive before downloading / [Checkbox] Encrypt with end-to-end encryption (Disable encryption so that a direct link to the uploaded file works (e.g. for embedding images)) / Upload as folder — 2 files / Data retention periods and other conditions of use
Lufin frontend screenshot with text: Uploads history / Only files sent through this browser will be shown here. The list is in localStorage: if you clear the data in localStorage, <...> deleted. Dark lines mean that the files have been been expired and are no longer available. Русский / Українська / Беларуская / English / Български / Čeština / Dansk / Nederlands / Eesti / Suomi / Français / Deutsch / Ελληνικά / Magyar / Italiano / Latviski / Lietuvių / Norsk / Polski / Português / Română / Slovenčina
Lufin screenshotter image editor with text: wow new design thanks apple now I have to remake my website which is not even finished yet / look I can do blur too! with this editor tools