Files

90 lines
2.5 KiB
Markdown
Raw Permalink Normal View History

2025-02-12 11:29:22 +08:00
---
layout: home
hero:
name: "FileCodeBox"
2026-07-12 00:08:34 +08:00
text: "像取快递一样取文件"
tagline: 轻量、现代的自托管文件与文本分享服务
2025-02-12 11:29:22 +08:00
image:
src: /logo_small.png
alt: FileCodeBox
actions:
- theme: brand
text: 快速开始
link: /guide/getting-started
2025-02-12 15:12:22 +08:00
- theme: alt
text: 在线体验
link: https://share.lanol.cn
2025-02-12 11:29:22 +08:00
- theme: alt
2026-07-12 00:08:34 +08:00
text: 部署指南
link: /guide/getting-started#docker-部署推荐
2025-02-12 11:29:22 +08:00
features:
2026-07-12 00:08:34 +08:00
- icon: 01
title: 即传即取
details: 文件与文本统一分享,支持批量、分片和断点续传
- icon: 02
title: 灵活失效
details: 按时间或取件次数失效,也可以永久保留
- icon: 03
title: 数据自主
details: 支持本地、S3、OneDrive、WebDAV 与 OpenDAL
2025-02-12 11:29:22 +08:00
---
2026-07-12 00:08:34 +08:00
## 30 秒启动
```bash
docker run -d --restart unless-stopped \
-p 12345:12345 \
-v ./data:/app/data \
2026-09-01 23:56:08 +08:00
-e APP_ENV=production \
-e LOG_LEVEL=warning \
--log-opt max-size=10m \
--log-opt max-file=3 \
2026-07-12 00:08:34 +08:00
--name filecodebox \
2026-11-16 07:45:26 +00:00
lanol/filecodebox:2.9.0 # x-release-please-version
2026-07-12 00:08:34 +08:00
```
打开 `http://localhost:12345`,按引导完成首次初始化。
<div class="doc-paths">
<a class="doc-path" href="/guide/getting-started">
<span>开始使用</span>
<strong>部署、初始化与升级</strong>
<small>从一台空服务器开始运行 FileCodeBox →</small>
</a>
<a class="doc-path" href="/guide/storage">
<span>管理服务</span>
<strong>存储、配置与安全</strong>
<small>为生产环境选择合适的存储和保护策略 →</small>
</a>
<a class="doc-path" href="/api/">
<span>集成开发</span>
<strong>API 与上传流程</strong>
<small>接入分享、分片上传和管理能力 →</small>
</a>
</div>
2026-07-24 16:34:22 +08:00
## 界面预览
<p align="center">
<img src="/screenshots/retrieve.webp" alt="提取文件" width="860" />
</p>
<p align="center">
<img src="/screenshots/send.webp" alt="文件发送" width="48%" />
&nbsp;
<img src="/screenshots/dashboard.webp" alt="管理仪表盘" width="48%" />
</p>
<table>
<tr>
<td width="33%"><img src="/screenshots/login.webp" alt="管理登录" /></td>
<td width="33%"><img src="/screenshots/files.webp" alt="文件管理" /></td>
<td width="33%"><img src="/screenshots/settings.webp" alt="系统设置" /></td>
</tr>
</table>
2026-07-12 00:08:34 +08:00
::: warning 使用须知
请仅将 FileCodeBox 用于合法的文件与文本分享。服务运营者应自行负责部署安全、数据合规和内容管理。
:::