GithubHelp home page GithubHelp logo

qidouhai / cfdl-drive Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hvjg2578/cfdl-drive

0.0 0.0 0.0 4.89 MB

Chuanrui文件目录列表程序,可做下载站,个人网盘等

License: GNU Affero General Public License v3.0

JavaScript 1.51% PHP 98.49%

cfdl-drive's Introduction

Chuanrui File Directory List System 即Chuanrui 文件目录列表系统 简称 CFDL

Chuanrui 文件目录列表系统 简称 CFDL,是一款类似于h5ai的开源文件目录列表系统

DEMO

http://demo.cfdl.1314.cool/

注意事项:

联系作者

作者邮箱:[email protected]

作者博客:https://blog.1314.cool

项目Git仓库

GitHub仓库:https://github.com/hvjg2578/CFDL-Drive

Gitee仓库:https://gitee.com/chenchuanrui/CFDL-Drive

这是一个非常简洁的说明

特性

1.支持给文件夹设置密码

方法:在你要设置密码的文件夹内放置一个密码文件,文件名默认为:ChuanruiDirPassword.txt,此文件名称可以在config.php中更改(强烈建议你更改此文件名称!)

然后编辑密码文件,在里面输入文件夹密码

  1. 支持在线预览xlsx,pptx,docx,等多种Office办公文件。

  2. 支持在线预览视频、音频和图片文件(具体支持哪些视频和音频,取决于你的浏览器)

  3. 支持在线预览XML,txt文件

  4. pdf等文件预览,将在后续更新中加入

安装教程

  1. 下载并解压源码到你的站点根目录

  2. 配置config.php文件内的内容

3.如果要开启伪静态,请填写如下伪静态规则(请2021年8月25日下载之前的朋友更新伪静态规则,之前的规则有点问题):

Nginx:

if (!-f $request_filename)
{
     rewrite '^(.*)$' /index.php?f=$1;
}

if (-f $request_filename)
{

}

然后更改config.php的rewrite选项为true

注意

下载大文件请更改php超时时间,否则超时会断流。

开源许可证

本项目采用GNU General Public License (GPL) V3许可证开源

如果不同意此许可证,请勿使用本程序

本项目在编写过程中参考的项目:

  1. 未知下载站:项目地址:https://gitee.com/mr-wu-code/download-station/

  2. Parsedown:项目地址:https://gitee.com/JonahXie/parsedown

  3. 其他项目,例如404页面,我是从百度上看的,没有找到原作者,如果作者看见了,可以给我发邮件,我会把你的项目添上

cfdl-drive's People

Contributors

hvjg2578 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.