Files
filecodebox/readme_en.md
T
2022-12-14 00:16:12 +08:00

3.2 KiB

File Express Cabinet

share text and files with anonymous passwords, and take files like express delivery


English | 简体中文

Main features

  • lightweight and simple: Fastapi + Sqlite3 + Vue2 + ElementUI
  • easy upload: copy and paste, drag and drop
  • multiple types: Text, File
  • explosion Prevention: error count limit
  • prevent abuse: IP address limits the number of uploads
  • password sharing: random password, file access, custom times, and validity period
  • anonymous sharing: no registration, no login
  • management Panel: View all files and delete them
  • one-click deployment: docker one-click deployment

Preview

Send

寄文件 寄文本
寄文本

Receive

取件 取件码错误
取文件

Manage

管理

Deployment method

One-click Docker deployment

docker run -d --restart=always -p 12345:12345 -v /opt/FileCodeBox/:/app/data --name filecodebox lanol/filecodebox:latest

Other methods

请参考->部署文档

Configuration file

if you need to modify the configuration, you can put the file in /opt/FileCodeBox/ directory and name it .env , and then restart the container.


```dotenv
# 端口
PORT=12345
# Sqlite数据库文件
DATABASE_URL=sqlite+aiosqlite:///database.db
# 静态文件夹
DATA_ROOT=./static
# 静态文件夹URL
STATIC_URL=/static
# 错误次数
ERROR_COUNT=5
# 错误限制分钟数
ERROR_MINUTE=10
# 上传次数
UPLOAD_COUNT=60
# 上传限制分钟数
UPLOAD_MINUTE=1
# 管理地址
ADMIN_ADDRESS=admin
# 管理密码
ADMIN_PASSWORD=admin
# 文件大小限制,默认10MB
FILE_SIZE_LIMIT=10
# 网站标题
TITLE=文件快递柜
# 网站描述
DESCRIPTION=FileCodeBox,文件快递柜,口令传送箱,匿名口令分享文本,文件,图片,视频,音频,压缩包等文件
# 网站关键词
KEYWORDS=FileCodeBox,文件快递柜,口令传送箱,匿名口令分享文本,文件,图片,视频,音频,压缩包等文件
# 存储引擎
STORAGE_ENGINE=filesystem