Share text and files anonymously with a passcode, like picking up a package
简体中文 | Deployment Guide | FAQ
FileCodeBox is a lightweight file sharing tool developed with FastAPI + Vue3. It allows users to share text and files easily, where recipients only need a passcode to retrieve the files, just like picking up a package from a delivery locker.
![]() | ![]() |
![]() | ![]() |
![]() | ![]() |
![]() | ![]() |
![]() | ![]() |
![]() | ![]() |
![]() | ![]() |
| Quick file sharing without registration | Share code snippets and text content | Privacy-protected file transfer |
| File storage with expiration time | Quick file transfer between devices | Build your own file sharing service |
| Based on FastAPI + SQLite3 + Vue3 + ElementUI | Support copy-paste and drag-drop | Support text and various file types |
| Random codes with customizable limits | Support for Simplified Chinese, Traditional Chinese, and English |
| No registration required | File and system management | One-click deployment |
| Local, S3, OneDrive support | Mobile-friendly design | Command-line download |
docker run -d --restart=always -p 12345:12345 -v /opt/FileCodeBox/:/app/data --name filecodebox lanol/filecodebox:beta
version: "3"
services:
file-code-box:
image: lanol/filecodebox:latest
volumes:
- fcb-data:/app/data:rw
restart: unless-stopped
ports:
- "12345:12345"
volumes:
fcb-data:
external: false
git clone https://github.com/vastsa/FileCodeBox.git
cd FileCodeBox
pip install -r requirements.txt
python main.py
/adminFileCodeBox/ ├── apps/ # Application code │ ├── admin/ # Admin backend │ └── base/ # Base functions ├── core/ # Core functions ├── data/ # Data directory └── fcb-fronted/ # Frontend code
python main.py
cd fcb-fronted
npm install
npm run dev
git checkout -b feature/xxxgit commit -m 'Add xxx'git push origin feature/xxxA: Change uploadSize in admin panel
A: Select storage engine and configure parameters in admin panel
A: Backup the data directory
For more questions, visit Wiki
This project is open-source for learning purposes only. It should not be used for any illegal purposes. The author is not responsible for any consequences. Please retain the project address and copyright information when using it.