github.com/cloudreve/Cloudreve/v3@v3.0.0-20240224133659-3edb00a6484c/README_zh-CN.md (about)

     1  [English Version](https://github.com/cloudreve/Cloudreve/blob/master/README.md)
     2  
     3  <h1 align="center">
     4    <br>
     5    <a href="https://cloudreve.org/" alt="logo" ><img src="https://raw.githubusercontent.com/cloudreve/frontend/master/public/static/img/logo192.png" width="150"/></a>
     6    <br>
     7    Cloudreve
     8    <br>
     9  </h1>
    10  
    11  <h4 align="center">支持多家云存储驱动的公有云文件系统.</h4>
    12  
    13  <p align="center">
    14    <a href="https://github.com/cloudreve/Cloudreve/actions/workflows/test.yml">
    15      <img src="https://img.shields.io/github/actions/workflow/status/cloudreve/Cloudreve/test.yml?branch=master&style=flat-square"
    16           alt="GitHub Test Workflow">
    17    </a>
    18    <a href="https://codecov.io/gh/cloudreve/Cloudreve"><img src="https://img.shields.io/codecov/c/github/cloudreve/Cloudreve?style=flat-square"></a>
    19    <a href="https://goreportcard.com/report/github.com/cloudreve/Cloudreve">
    20        <img src="https://goreportcard.com/badge/github.com/cloudreve/Cloudreve?style=flat-square">
    21    </a>
    22    <a href="https://github.com/cloudreve/Cloudreve/releases">
    23      <img src="https://img.shields.io/github/v/release/cloudreve/Cloudreve?include_prereleases&style=flat-square" />
    24    </a>
    25    <a href="https://hub.docker.com/r/cloudreve/cloudreve">
    26       <img src="https://img.shields.io/docker/image-size/cloudreve/cloudreve?style=flat-square"/>
    27    </a>
    28  </p>
    29  <p align="center">
    30    <a href="https://cloudreve.org">主页</a> •
    31    <a href="https://demo.cloudreve.org">演示站</a> •
    32    <a href="https://forum.cloudreve.org/">讨论社区</a> •
    33    <a href="https://docs.cloudreve.org/">文档</a> •
    34    <a href="https://github.com/cloudreve/Cloudreve/releases">下载</a> •
    35    <a href="https://t.me/cloudreve_official">Telegram 群组</a> •
    36    <a href="#scroll-许可证">许可证</a>
    37  </p>
    38  
    39  
    40  ![Screenshot](https://raw.githubusercontent.com/cloudreve/docs/master/images/homepage.png)
    41  
    42  ## :sparkles: 特性
    43  
    44  * :cloud: 支持本机、从机、七牛、阿里云 OSS、腾讯云 COS、又拍云、OneDrive (包括世纪互联版) 、S3兼容协议 作为存储端
    45  * :outbox_tray: 上传/下载 支持客户端直传,支持下载限速
    46  * 💾 可对接 Aria2 离线下载,可使用多个从机节点分担下载任务
    47  * 📚 在线 压缩/解压缩、多文件打包下载
    48  * 💻 覆盖全部存储策略的 WebDAV 协议支持
    49  * :zap: 拖拽上传、目录上传、流式上传处理
    50  * :card_file_box: 文件拖拽管理
    51  * :family_woman_girl_boy:   多用户、用户组、多存储策略
    52  * :link: 创建文件、目录的分享链接,可设定自动过期
    53  * :eye_speech_bubble: 视频、图像、音频、 ePub 在线预览,文本、Office 文档在线编辑
    54  * :art: 自定义配色、黑暗模式、PWA 应用、全站单页应用、国际化支持
    55  * :rocket: All-In-One 打包,开箱即用
    56  * 🌈 ... ...
    57  
    58  ## :hammer_and_wrench: 部署
    59  
    60  下载适用于您目标机器操作系统、CPU架构的主程序,直接运行即可。
    61  
    62  ```shell
    63  # 解压程序包
    64  tar -zxvf cloudreve_VERSION_OS_ARCH.tar.gz
    65  
    66  # 赋予执行权限
    67  chmod +x ./cloudreve
    68  
    69  # 启动 Cloudreve
    70  ./cloudreve
    71  ```
    72  
    73  以上为最简单的部署示例,您可以参考 [文档 - 起步](https://docs.cloudreve.org/) 进行更为完善的部署。
    74  
    75  ## :gear: 构建
    76  
    77  自行构建前需要拥有 `Go >= 1.18`、`node.js`、`yarn`、`zip`, [goreleaser](https://goreleaser.com/intro/) 等必要依赖。
    78  
    79  #### 安装 goreleaser
    80  
    81  ```shell
    82  go install github.com/goreleaser/goreleaser@latest
    83  ```
    84  
    85  #### 克隆代码
    86  
    87  ```shell
    88  git clone --recurse-submodules https://github.com/cloudreve/Cloudreve.git
    89  ```
    90  
    91  #### 编译项目
    92  
    93  ```shell
    94  goreleaser build --clean --single-target --snapshot
    95  ```
    96  
    97  ## :alembic: 技术栈
    98  
    99  * [Go](https://golang.org/) + [Gin](https://github.com/gin-gonic/gin)
   100  * [React](https://github.com/facebook/react) + [Redux](https://github.com/reduxjs/redux) + [Material-UI](https://github.com/mui-org/material-ui)
   101  
   102  ## :scroll: 许可证
   103  
   104  GPL V3