Giter Site home page Giter Site logo

saltbo / zpan Goto Github PK

View Code? Open in Web Editor NEW
1.8K 40.0 236.0 37.26 MB

A self-hosted cloud disk base on the cloud storage./ 一个基于云存储的网盘系统,用于自建私人网盘或企业网盘。

Home Page: https://zpan.space

License: GNU General Public License v3.0

Go 99.32% Makefile 0.16% Shell 0.44% Dockerfile 0.03% Procfile 0.01% Open Policy Agent 0.03%
cloud-storage cloud-disk oss qiniuyun cloud disk s3 upyun

zpan's Introduction

ZPan - Your Last disk on the cloud.

Overview

  • Not limited by server bandwidth
  • Support all cloud storage compatible with S3 protocol
  • Support file and folder management
  • Support file and folder sharing (accessible without logging in)
  • Support document preview and audio and video playback
  • Support multi-user storage space control
  • Support multiple languages

Deploy

Documentation

Special thanks

JetBrains

Thanks for non-commercial open source development authorization by JetBrains

Contributing

See CONTRIBUTING for details on submitting patches and the contribution workflow.

Thank you to all the people who already contributed to ZPan!

Stargazers over time

License

ZPan is under the GPL 3.0 license. See the LICENSE file for details.

zpan's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zpan's Issues

腾讯云COS,如何配置Provider?不成功

配置文件放在/data/zpan/conf 用docker 启动好像不行

配置文件如下:
image

Docker启动方式如下:
docker run -p 8081:8222 -v /data/zpan/data:/zpan -v /data/zpan/conf:/etc/zpan -it saltbo/zpan:latest
启动报错

Using config file: /etc/zpan/zpan.yml
WARN[0000] grbac abandoned the periodic loader because loadInterval is less than 0
WARN[0000] grbac abandoned the periodic loader because loadInterval is less than 0

image
貌似提示有问题,大佬指导一下,
另外,看不到后台管理帐号密码怎么办?

support multi storage

The administrator can configure multiple storage spaces, and users can switch freely

能以原始文件名存储么?

上传到bucket里的文件名变得毫无意义,这个应用又不是定位为企业,个人私有云,希望能以原始文件名存储

OneDrive

请问什么时候可以支持OneDrive呀,不知道有没有规划支持呢?

80端口无法后台管理用户和配额

image.png

zpan/service/user.go 65行写死了,改成从zpan.yml读吧

cli.ChangeBasePath("http://localhost:8222/api/moreu")

何必非得反代一道呢..我直接上80了

我自己编译了一个已经正常用了,但还是提出来。


另外再提几个没人提到的需求:

关于分享:
1.分享链接带密码的时候,点击复制按钮只能复制链接不能复制密码。
2.作为对象储存网盘,流量是支出大头,希望能推出限制下载次数的选项。
3.分享页增加取消分享功能,只让看不让操作是耍流氓嗷。

关于账号:
1.目前无法修改管理员账号密码,希望可以在后台管理中修改账号、修改密码。
2.希望可以限定一般用户的每月额定流量,包括自己下载和分享链接下载。
3.配额推荐写成MB或GB。
4.建议添加各账号已用流量的显示。

关于系统:
1.添加web端调整zpan.yml配置功能,并添加重载配置、重启面板按钮
2.添加邀请码生成和使用记录功能(估计已经在做了)
3.提示语建议添加中文。
4.定时任务查一遍对象储存里的文件,删除在对象储存中已失效的文件。

support Recycle Bin

Currently, the folder deletion adopts a soft deletion strategy. We can implement a recycle bin. The soft deleted files are displayed in the recycle bin. Users can choose to delete them completely or restore them.

The default validity period of the recycle bin is one week, and it will be automatically deleted after one week. Therefore, we need to implement a timed task to scan the database every morning to clean up expired files

管理员默认账号和无法上传

比较小白,按教程搭建后,配置MySQL数据库正常运行,但是在网盘页面无法上传文件,进度是零,关闭后也没有文件出现
后台显示[GIN] 2020/11/03 - 18:36:58 | 200 | 6.427825ms | 18.163.206.111 | POST "/api/files"
可以新建文件夹
管理员默认账号密码输出位置没有找到
望解答

使用minio存储,无法上传 - url错误

vscode debug master code

zpan.yml:

database:
  driver: sqlite3
  dsn: zpan.db

provider:
  name: s3
  bucket: saltbo-zpan
  endpoint: http://192.168.2.223:9000
  accessKey: minioadmin
  accessSecret: minioadmin

iShot2020-11-16 23 52 34

iShot2020-11-16 23 53 46

部署后文件夹中文件不显示

部署后可以存储(数据库中有)和创建文件夹,但是"全部文件"中不显示是什么原因?还有windows可以本地调试吗?怎么调试?

Does Zpan support ceph s3 storage?

Hi, I have a local ceph object storage.
I edited config file as below but it seems it does not work.
I replaced endpoint info with ip:port and have already created the bucket.

provider:
name: s3
bucket: test01
endpoint: http://ip:port
accessKey: NA84AFWMLZWGAOQW5WKX
accessSecret: qxiiY86XaLPU7jocqOsi26m8EjmShQdwxj4budVw

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.