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
- Clone the repository
git clone https://github.com/vastsa/FileCodeBox.git
- Install dependencies
cd FileCodeBox
pip install -r requirements.txt
- Start the service
python main.py
- Open the website, click "Share File"
- Select or drag files
- Set expiration time and count
- Get the passcode
- Open the website, enter passcode
- Click retrieve
- Download file or view text
- Visit
/admin
- Enter admin password
- Manage files and settings
FileCodeBox/
├── apps/ # Application code
│ ├── admin/ # Admin backend
│ └── base/ # Base functions
├── core/ # Core functions
├── data/ # Data directory
└── fcb-fronted/ # Frontend code
- Python 3.8+
- Node.js 14+
- Vue 3
- FastAPI
- Backend development
python main.py
- Frontend development
cd fcb-fronted
npm install
npm run dev
- Fork the project
- Create your feature branch
git checkout -b feature/xxx
- Commit your changes
git commit -m 'Add xxx'
- Push to the branch
git push origin feature/xxx
- Open a Pull Request
A: 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.