FileCodeBox-Lite
FileCodeBox-Lite
Share texts and files anonymously with passwords, just like picking up a package
Join our QQ group: 739673698
Main Features
- Lightweight: Built with FastAPI + Sqlite3 + Vue2 + ElementUI
- Easy Upload: Support copy-paste and drag-and-drop selection
- Various Types: Supports text and file sharing
- Brute-force Protection: Error limit on passwords
- Abuse Prevention: IP limits on upload attempts
- Password Sharing: Random password for accessing files, customizable access counts, and expiration
- Internationalization: Supports both Chinese and English
- Anonymous Sharing: No need for registration or login
- Management Panel: View and delete files
- One-Click Deployment: Support for Docker deployment
- Free Extension: Supports S3 protocol and local file stream; can add new storage engines in storage file as needed
- Simple and Clear: Great for beginners
- Terminal Download: Terminal command
wget https://share.lanol.cn/share/select?code=83432
Deployment Methods
1Panel One-Click Deployment
Go to Application Store -> Utilities -> FileCodeBox
Update: Container -> Select -> More -> Edit -> Force Pull Image -> Confirm
One-Click Deployment in BaoTa Application Store
Docker One-Click Deployment
Version 2.0, work in progress
Default Info
Backend Address: /#/admin
Admin Password: FileCodeBox2023
Supports AMD & ARM
One-Click Install
docker run -d --restart=always -p 12345:12345 -v /opt/FileCodeBox/:/app/data --name filecodebox lanol/filecodebox:beta
One-Click Update
docker pull lanol/filecodebox:beta && docker stop filecodebox && docker rm filecodebox && docker run -d --restart=always -p 12345:12345 -v /opt/FileCodeBox/:/app/data --name filecodebox lanol/filecodebox:beta
Version 1.6 AMD
docker run -d --restart=always -p 12345:12345 -v /opt/FileCodeBox/:/app/data --name filecodebox lanol/filecodebox:latest
Version 1.6 ARM
docker run -d --restart=always -p 12345:12345 -v /opt/FileCodeBox/:/app/data --name filecodebox lanol/filecodebox:arm
Update Methods
// Update the container
docker pull lanol/filecodebox:beta
// Stop and remove the container
docker stop filecodebox && docker rm filecodebox
// Re-run the container
docker run -d --restart=always -p 12345:12345 -v /opt/FileCodeBox/:/app/data --name filecodebox lanol/filecodebox:latest
Notes on Version 1.6
This version has significant changes. If issues occur, try clearing the /opt/FileCodeBox directory. Feel free to provide feedback. Note: For first-time installations, check Docker logs for the initial password and backend address, as shown below:
docker logs filecodebox
Backend Local File List: Move server files to the /opt/FileCodeBox/data/locals directory for display.
Preview
Example Site
Screenshots
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Configuration File (for versions 1.7 and below)
To modify the configuration, save the following content as a .env file in the /opt/FileCodeBox/ directory, then restart the container. If not using Docker, create a data folder in the project directory and place the .env file inside.
# Port
PORT=12345
# Sqlite database file
DATABASE_URL=sqlite+aiosqlite:///database.db
# Static folder
DATA_ROOT=./static
# Static folder URL
STATIC_URL=/static
# Enable uploads
ENABLE_UPLOAD=True
# Error limit
ERROR_COUNT=5
# Error limit in minutes
ERROR_MINUTE=10
# Upload limit
UPLOAD_COUNT=60
# Upload limit in minutes
UPLOAD_MINUTE=1
# Interval for deleting expired files (in minutes)
DELETE_EXPIRE_FILES_INTERVAL=10
# Admin address
ADMIN_ADDRESS=admin
# Admin password
ADMIN_PASSWORD=admin
# File size limit, default 10MB
FILE_SIZE_LIMIT=10
# Website title
TITLE=FileCodeBox
# Website description
DESCRIPTION=FileCodeBox, file delivery cabinet, password transfer box, anonymous password sharing of text, files, images, videos, audio, compressed files, and other types of files
# Website keywords
KEYWORDS=FileCodeBox, file delivery cabinet, password transfer box, anonymous password sharing of text, files, images, videos, audio, compressed files, and other types of files
# Storage engine
STORAGE_ENGINE=filesystem
# If using Alibaba Cloud OSS service, create these additional parameters:
# Alibaba Cloud Account AccessKey
KeyId=Alibaba Cloud Account AccessKey
# Alibaba Cloud Account AccessKeySecret
KeySecret=Alibaba Cloud Account AccessKeySecret
# Alibaba Cloud OSS Bucket region node
OSS_ENDPOINT=Alibaba Cloud OSS Bucket region node
# Alibaba Cloud OSS Bucket name
BUCKET_NAME=Alibaba Cloud OSS Bucket name
Status
Star History
Frequently Asked Questions (FAQ)
- 413 Request Entity Too Large:
Nginx limit resolution: Open your host'snginx.confconfiguration file, locate it, Addclient_max_body_size 10m;within thehttp{}block, Then restart Nginx.
Disclaimer
This project is open-source and intended for learning purposes only. Do not use it for any illegal activities; any consequences are your own responsibility and unrelated to the author. Please retain the project address when using, thank you.







