# lufin

> Lufin is an open-source, self-hosted file sharing service with client-side encryption, password protection, and support for multiple databases and S3 storage.

- **Category:** File Sharing
- **Licence:** MIT
- **Latest version:** v1.0.0
- **Open source:** oss
- **Languages:** Typescript, SCSS
- **Platforms:** Docker Compose, Build from Source
- **Tags:** PostgreSQL, MongoDB, SQLite, Caddy, End To End Encryption, File Sharing, Multilingual, File Upload, Vite, Bun, Docker, React, Docker Compose, S3, Minio, Self Hosted, Drizzle Orm, S3 Storage, Password protection, E2ee, Filesharing, Elysia, Elysiajs, Lufi

## Description

Lufin is a modern self-hosted file sharing service built with React, Elysia, and Bun. It provides client-side end-to-end encryption using AES-GCM, password protection for shared files, and configurable data retention based on file size. The service offers rich previews for images, audio, video, archives, spreadsheets, text files, and PDFs directly in the browser. It supports multiple database backends including PostgreSQL, MongoDB, and SQLite, along with storage options such as local filesystem, S3-compatible services like Cloudflare R2, and local MinIO. Deployment uses Docker Compose with automatic HTTPS via Caddy, or manual installation from source. The frontend is fully static with no server-side rendering required. The interface is available in 26 languages. There is no user authentication system — files are shared via links stored in browser LocalStorage.

## Links

- [Homepage](https://github.com/VityaSchel/lufin)
- [Demo](https://lufin.hloth.dev)
- [Source repository (GitHub mirror)](https://github.com/VityaSchel/lufin)
- [Documentation](https://raw.githubusercontent.com/VityaSchel/lufin/main/docs/INSTALL.md)

---
Source: https://selfhost.directory/project/lufin