All Projects → maysrp → Webdir

maysrp / Webdir

Licence: apache-2.0
网站目录

Projects that are alternatives of or similar to Webdir

gitree
Print a directory tree that shows Git status and ignores files dictated by .gitignore.
Stars: ✭ 32 (-89.87%)
Mutual labels:  directory
cdc
☣️ Shell plugin for zsh/bash that allows you to cd to subdirectories of user-defined directories from anywhere, without editing CDPATH.
Stars: ✭ 17 (-94.62%)
Mutual labels:  directory
Mozillians
Mozilla community directory -- A centralized directory of all Mozilla contributors!
Stars: ✭ 288 (-8.86%)
Mutual labels:  directory
readdir
Recursively read a directory, blazing fast. Use with picomatch or micromatch to match globs.
Stars: ✭ 37 (-88.29%)
Mutual labels:  directory
delete-empty
Recursively delete all empty folders in a directory and child directories.
Stars: ✭ 38 (-87.97%)
Mutual labels:  directory
torrent2magnet
种子转磁力链工具
Stars: ✭ 74 (-76.58%)
Mutual labels:  magnet
Voila
Voila is a domain-specific language launched through CLI tool for operating with files and directories in massive amounts in a fast & reliable way.
Stars: ✭ 78 (-75.32%)
Mutual labels:  directory
Fuzzdicts
Web Pentesting Fuzz 字典,一个就够了。
Stars: ✭ 4,013 (+1169.94%)
Mutual labels:  directory
directorylister
魔改DirectoryLister支持Markdown,各种优化修改
Stars: ✭ 38 (-87.97%)
Mutual labels:  directory
Copy
Go copy directory recursively
Stars: ✭ 264 (-16.46%)
Mutual labels:  directory
URL-Magnet-Cloud-Uploader-Heroku
Aria 2 Rclone Remote URL /magnet Clouds upload via HEROKU
Stars: ✭ 99 (-68.67%)
Mutual labels:  magnet
directory-structure
📦 Print a directory tree structure in your Python code.
Stars: ✭ 40 (-87.34%)
Mutual labels:  directory
Zsky
DHT磁力链接magnet BT搜索引擎,纯Python开发
Stars: ✭ 256 (-18.99%)
Mutual labels:  magnet
steemprojects.com
Steem Projects is a directory of apps, sites and tools build by Steem community
Stars: ✭ 27 (-91.46%)
Mutual labels:  directory
Markserv
🏁 serve markdown as html (GitHub style), index directories, live-reload as you edit
Stars: ✭ 304 (-3.8%)
Mutual labels:  directory
files
Useful methods to manage files and directories
Stars: ✭ 27 (-91.46%)
Mutual labels:  directory
covid-estados
Este proyecto recopila, sistematiza y facilita el acceso a información oficial relevante, líneas de atención y medidas de restricción o protección implementadas por los gobiernos estatales.
Stars: ✭ 19 (-93.99%)
Mutual labels:  directory
Cryptolist
Curated collection of blockchain & cryptocurrency resources.
Stars: ✭ 3,501 (+1007.91%)
Mutual labels:  directory
Support
JS.coach is a manually curated list of packages related to React, Webpack, Babel and PostCSS
Stars: ✭ 305 (-3.48%)
Mutual labels:  directory
Bt Btt
磁力網站U3C3介紹以及域名更新
Stars: ✭ 261 (-17.41%)
Mutual labels:  magnet

webdir

index.php

index.php放在你的网站根目录并且设置好你的所在目录权限即可[用于目录浏览]

1.图标图片预览支持IE浏览器

2.手机端自动缩放

开启密码请将前面的"//"删去,默认密码为123

//define("PASS","123");//

只展示该目录以下的所有文件,通过添加禁止显示文件夹以及后缀文件来控制显示

例如:

$this->notex=array("php","js","tgz");//不允许显示的后缀名文件
$this->notdir=array("a","phpmyadmin");//不允许显示的文件夹

支持在线播放mp4视频和MP3音频以及PDF在线预览,对于手机的自适应不是特别完美。

eg:http://webdir.cc/

LNMP LAMP 一键包测试通过, windows下惨不忍睹

WabAN

Webdir下外挂一个AriaNg来控制下载(注意:Aria2请务必安装不然会显示“未连接”)。

界面

AriaNg下载界面

安装WebAN

安装Aria2

下载WebAN.zip并解压到你的想放的web目录,在index.php文件顶部可以编辑密码,默认密码为admin,访问你的对应的网站即可。

wadir-ajax.php

与下面的wadir.php安装步骤以及功能完全相同,但是aria2下载操作全部换成AJAX进行,界面稍微好于wadir.php.定时刷新30S一次,可以手动刷新。

Aria2控制界面

wadir.php

详细安装方法:https://github.com/maysrp/webdir/tree/master/doc

对于index.php的扩充

基于php-aria2,需要安装aria2的支持。 简单的管理: bt1.png ec7938932a3f4f0e.png 关于导入Magnet成功却从未有速度,且不显示文件名的,可能存在的问题,缺少dht.dat,参考下文中的dht.dat的处理方法 ###配置 密码:

define("PASS", "admin");

配置显示文件以及文件夹

$this->notex=array("php","js","tgz");//不允许显示的后缀名文件
$this->notdir=array("a","phpmyadmin");//不允许显示的文件夹

##more.php ###简单的多用户实现 创建不同的目录每个目录都放入more.php,配置如下(目录必须可写 0777):

define("PASS", "admin");
define("TYPE","d");//定义结算方式,d为每日,m为每月
define("NUM", 1);//每个结束方式内可以下载的数量

每个账户一个目录,登入后能添加magnet,对其进行基本管理。

moreinfo.php

121212112212.png

多用户控制,可以控制每个用户离线空间的总大小,周期结算类型,每个周期内可用的任务个数,每次任务的大小等......

创建不同的目录每个目录都放入moreinfo.php,配置如下(目录必须可写 0777):

define("PASS", "admin");
define("TYPE","d");//定义结算方式,d为每日,m为每月
define("NUM", 1);//每个结束方式内可以下载的数量
define("DISK", 20);//单位GB,定义总空间大小
define("MAX", 10);//单位GB,定义每个任务的大小[超出自动删除任务]

每个账户一个目录,登入后能添加magnet,对其进行基本管理。 ##dplayer.php 使用dplayer播放器的index.php; ##wadir-dplay.php 使用dplayer播放器的wadir.php; ##wardir/

移动到:https://github.com/maysrp/wardir

jugg.php

该文件只用于检测你是否完成了aria2的配置,上传到你的网站根目录访问即可,如有正常的文件下载信息表示完成了aria2配置,删除该文件即可。 ##dht.dat 有些新安装aria2,可能会因为缺少dht.dat导致无法magnet下载,拷贝该文件到你的/root/.aria2/下即可

ffmpge.php

基本界面和之前类似: ffmpeg 黄色的就是转换符号,未用到任何数据库,没有转换完成通知,调用时间根据你的设置的PHP脚本运行时间为止。 在线转码,请 php.ini中修改:

删去禁用的exec

以及修改脚本运行时间1000s:

max_execution_time = 1000;

修改配置后记得重新启动php端:

服务端安装ffmpeg ubuntu/debian 安装ffmpeg

sudo apt-get install ffmpeg

VPS转码效率底下 vultr 默认是webm格式的视频修改

return "<span class=\"ffmpeg  text-primary\" value=\"?video=".$file."\"><span class=\"glyphicon glyphicon-refresh\"></span></span>|<a href=\"".$file."\" ><span class=\"glyphicon glyphicon-download-alt\"></span></a>";

改变为:

return "<span class=\"ffmpeg text-primary\" value=\"?video=".$file."&type=mp4\"><span class=\"glyphicon glyphicon-refresh\"></span></span>|<a href=\"".$file."\" ><span class=\"glyphicon glyphicon-download-alt\"></span></a>";

gbk.zip

如果中文乱码请解压使用该脚本

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].