GithubHelp home page GithubHelp logo

rodgersnow / go-drive Goto Github PK

View Code? Open in Web Editor NEW

This project forked from devld/go-drive

0.0 0.0 0.0 9.22 MB

A simple cloud drive mapping web app supports local, FTP/SFTP, S3, OneDrive, WebDAV, Google Drive.

Home Page: https://go-drive.top/

License: MIT License

JavaScript 3.61% Go 50.15% TypeScript 20.37% Makefile 0.13% HTML 0.21% Vue 24.07% Dockerfile 0.21% SCSS 1.26%

go-drive's Introduction

go-drive

English version

Demo: https://demo.go-drive.top

Doc: https://go-drive.top

功能

  • 文件管理,拖拽/粘贴上传,拖拽管理文件
  • 文件打包下载
  • 基于用户/组的权限控制
  • 图片浏览(PhotoSwipe)
  • 音乐播放(APlayer)
  • 文本编辑(CodeMirror)
  • 代码编辑(Monaco Editor)
  • 展示缩略图
  • 路径挂载
  • Drive 管理界面
  • 文件搜索
  • 通过 WebDAV 访问
  • 定时任务(gocron)

目前支持的 Drives

  • 本地文件
  • FTP
  • SFTP
  • WebDAV 协议
  • S3 兼容的云存储
  • OneDrive
  • Google Drive
  • Dropbox(JavaScript)
  • 七牛云(JavaScript)

如何使用

Docker

mkdir go-drive-data
docker run -d --name go-drive -p 8089:8089 -v `pwd`/go-drive-data:/app/data devld/go-drive

其中 go-drive-data 是数据目录,为了保证数据在应用升级后保留,最好将其映射至容器外。

直接运行

Release 页面下载对应平台的压缩包,解压后运行

  • Linux
./go-drive
  • Windows

直接运行 go-drive.exe 即可

默认用户为 admin,密码 123456

Features

  • files management, drag-and-drop/paste upload, drag-and-drop file management
  • Zip package download
  • User/group-based permission control
  • Image gallery(PhotoSwipe)
  • Music player(APlayer)
  • Text Editor(CodeMirror)
  • Code Editor(Monaco Editor)
  • Thumbnails
  • Path mounting
  • Drive management
  • Files searching
  • Access via WebDAV
  • Scheduled Jobs(gocron)

Currently supported drives

  • Local
  • FTP
  • SFTP
  • WebDAV
  • S3
  • OneDrive
  • Google Drive
  • Dropbox(JavaScript)
  • Qiniu(JavaScript)

How to use

Docker

mkdir go-drive-data
docker run -d --name go-drive -p 8089:8089 -v `pwd`/go-drive-data:/app/data devld/go-drive

go-drive-data is the data directory. To ensure that the data is retained after the application is upgraded, it is best to map it outside the container.

Release

Download binary file from the Release page, decompress and run

  • Linux
./go-drive
  • Windows

Just run go-drive.exe

Default user is admin, its password is 123456

go-drive's People

Contributors

dependabot[bot] avatar devld avatar vgbhfive avatar yoech avatar

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.