+
+Share text and files anonymously with a passcode, like picking up a package
+ +[](https://github.com/vastsa/FileCodeBox/stargazers) +[](https://github.com/vastsa/FileCodeBox/network) +[](https://github.com/vastsa/FileCodeBox/issues) +[](https://github.com/vastsa/FileCodeBox/blob/master/LICENSE) +[](https://qm.qq.com/q/PemPzhdEIM) +[](https://www.python.org) +[](https://fastapi.tiangolo.com) +[](https://v3.vuejs.org) + +
+📁 Temporary File Sharing+Quick file sharing without registration + |
+
+📝 Quick Text Sharing+Share code snippets and text content + |
+
+🕶️ Anonymous Transfer+Privacy-protected file transfer + |
+
+💾 Temporary Storage+File storage with expiration time + |
+
+🔄 Cross-platform Transfer+Quick file transfer between devices + |
+
+🌐 Private Share Service+Build your own file sharing service + |
+
+🚀 Lightweight+Based on FastAPI + SQLite3 + Vue3 + ElementUI + |
+
+📤 Easy Upload+Support copy-paste and drag-drop + |
+
+📦 Multiple Types+Support text and various file types + |
+
+🔒 Security+ +- IP upload limits +- Error attempt limits +- File expiration + |
+
+🎫 Passcode Sharing+Random codes with customizable limits + |
+
+🌍 Multi-language+Support for Simplified Chinese, Traditional Chinese, and English + |
+
+🎭 Anonymous+No registration required + |
+
+🛠 Admin Panel+File and system management + |
+
+🐳 Docker+One-click deployment + |
+
+💾 Storage Options+Local, S3, OneDrive support + |
+
+📱 Responsive+Mobile-friendly design + |
+
+💻 CLI Support+Command-line download + |
+
+
+匿名口令分享文本和文件,像拿快递一样取文件
+ +[](https://github.com/vastsa/FileCodeBox/stargazers) +[](https://github.com/vastsa/FileCodeBox/network) +[](https://github.com/vastsa/FileCodeBox/issues) +[](https://github.com/vastsa/FileCodeBox/blob/master/LICENSE) +[](https://qm.qq.com/q/PemPzhdEIM) +[](https://www.python.org) +[](https://fastapi.tiangolo.com) +[](https://v3.vuejs.org) +
+📁 临时文件分享+快速分享单个文件,无需注册登录 + |
+
+📝 文本快速分享+分享代码片段、文本内容等 + |
+
+🕶️ 匿名文件传输+保护隐私的文件传输方式 + |
+
+💾 临时文件存储+支持设置过期时间的文件存储 + |
+
+🔄 跨平台传输+在不同设备间快速传输文件 + |
+
+🌐 小型分享服务+搭建私有的文件分享服务 + |
+
+🚀 轻量简洁+基于 FastAPI + SQLite3 + Vue3 + ElementUI,部署简单,性能出色 + |
+
+📤 便捷上传+支持复制粘贴、拖拽上传,操作简单直观 + |
+
+📦 多种类型+支持文本和各类文件的分享 + |
+
+🔒 安全机制+ +- IP 限制上传次数 +- 错误次数限制 +- 文件过期机制 + |
+
+🎫 提取码分享+随机提取码,可自定义次数及有效期 + |
+
+🌍 多语言支持+支持中文简体、繁体及英文 + |
+
+🎭 匿名分享+无需注册登录,保护隐私 + |
+
+🛠 管理面板+文件管理和系统配置 + |
+
+🐳 容器部署+支持 Docker 一键部署 + |
+
+💾 存储扩展+支持本地存储、S3 协议、OneDrive 等 + |
+
+📱 响应式设计+支持移动端访问 + |
+
+💻 终端支持+支持命令行下载 + |
+
-- [x] 轻量简洁,Fastapi+sqlite3
-- [x] 拖拽,复制粘贴上传
-- [x] 文件口令传输,生成二维码
-- [x] 分享文件:多种上传方式供你选择
-- [x] 分享文本:直接复制粘贴直接上传
-- [x] 防爆破:错误五次拉黑十分钟
-- [x] 完全匿名:不记录任何信息,无需注册,无需登录
-- [x] Sqlite3数据库:无需安装数据库
-- [x] 可以加get参数code,这样打开就会读取取件码如:http://host?code=12345
-- [x] 管理面板:简单列表页删除违规文件
-- [x] 口令使用次数,口令有效期,二维码分享
+像拿快递一样取文件,无需注册,输入口令即可获取
-## 更新记录
-### 2022年12月13日
+[](https://github.com/vastsa/FileCodeBox/stargazers)
+[](https://github.com/vastsa/FileCodeBox/network)
+[](https://github.com/vastsa/FileCodeBox/issues)
+[](https://github.com/vastsa/FileCodeBox/blob/master/LICENSE)
+[](https://hub.docker.com/r/lanol/filecodebox)
-- [x] 完善手机版上传文本
-- [x] 优化Index.html首页
+[](https://www.python.org)
+[](https://fastapi.tiangolo.com)
+[](https://vuejs.org)
-### 2022年12月12日
+[English](./readme_en.md) | [在线演示](https://share.lanol.cn) | [部署教程](https://github.com/vastsa/FileCodeBox/wiki/部署教程) | [常见问题](https://github.com/vastsa/FileCodeBox/wiki/常见问题) | [QQ群: 739673698](https://qm.qq.com/q/PemPzhdEIM)
-- [x] 重写用户登录和 IP 检查并重定义状态码
-- [x] 新增存储引擎统一文件读写
-- [x] 设置PORT
+```bash
+# 🚀 一键部署
+docker run -d -p 12345:12345 -v /opt/FileCodeBox:/app/data --name filecodebox lanol/filecodebox:latest
+# 国内镜像(如果上面拉取缓慢): docker.cnb.cool/aixk/filecodebox
+```
+
+| + +### 🚀 轻量高效 +- FastAPI + SQLite3 后端 +- Vue3 + Element Plus 前端 +- Docker 一键部署 +- 资源占用极低 + + | ++ +### 🔒 安全可靠 +- IP 上传频率限制 +- 提取码错误次数限制 +- 文件自动过期清理 +- 支持管理员认证 + + | ++ +### 📤 便捷上传 +- 拖拽上传 +- 复制粘贴上传 +- 命令行 curl 上传 +- 批量文件上传 + + | +
| + +### 🎫 灵活分享 +- 随机/自定义提取码 +- 可设置有效期(时间/次数) +- 支持永久有效 +- 文本和文件统一管理 + + | ++ +### 💾 多存储支持 +- 本地文件系统 +- S3 兼容存储 +- [OneDrive](./docs/guide/storage-onedrive.md) +- [OpenDAL](./docs/guide/storage-opendal.md) + + | ++ +### 🌍 国际化 +- 简体中文 +- 繁体中文 +- English +- 响应式设计 / 深色模式 + + | +
![]() |
+![]() |
+
![]() |
+![]() |
+
![]() |
+![]() |
+
![]() |
+![]() |
+
![]() |
+![]() |
+
+
+Share files like picking up a package — no registration required, just enter the passcode
+
+[](https://github.com/vastsa/FileCodeBox/stargazers)
+[](https://github.com/vastsa/FileCodeBox/network)
+[](https://github.com/vastsa/FileCodeBox/issues)
+[](https://github.com/vastsa/FileCodeBox/blob/master/LICENSE)
+[](https://hub.docker.com/r/lanol/filecodebox)
+
+[](https://www.python.org)
+[](https://fastapi.tiangolo.com)
+[](https://vuejs.org)
+
+[简体中文](./README.md) | [Live Demo](https://share.lanol.cn) | [Documentation](https://github.com/vastsa/FileCodeBox/wiki/Deployment-Guide) | [FAQ](https://github.com/vastsa/FileCodeBox/wiki/FAQ)
+
+```bash
+# 🚀 Quick Deploy
+docker run -d -p 12345:12345 -v /opt/FileCodeBox:/app/data --name filecodebox lanol/filecodebox:latest
+# China Mirror (if slow): docker.cnb.cool/aixk/filecodebox
+```
+
+| + +### 🚀 Lightweight & Fast +- FastAPI + SQLite3 backend +- Vue3 + Element Plus frontend +- One-click Docker deployment +- Minimal resource usage + + | ++ +### 🔒 Secure & Reliable +- IP upload rate limiting +- Passcode attempt limiting +- Auto file expiration cleanup +- Admin authentication support + + | ++ +### 📤 Easy Upload +- Drag & drop upload +- Copy & paste upload +- Command line curl upload +- Batch file upload + + | +
| + +### 🎫 Flexible Sharing +- Random / custom passcodes +- Set expiration (time/count) +- Permanent validity support +- Unified text & file management + + | ++ +### 💾 Multiple Storage +- Local file system +- S3-compatible storage +- [OneDrive](./docs/guide/storage-onedrive.md) +- [OpenDAL](./docs/guide/storage-opendal.md) + + | ++ +### 🌍 Internationalization +- Simplified Chinese +- Traditional Chinese +- English +- Responsive design / Dark mode + + | +
![]() |
+![]() |
+
![]() |
+![]() |
+
![]() |
+![]() |
+
![]() |
+![]() |
+
![]() |
+![]() |
+