Yet another otaku

某ロリコン的自白


  • 首頁
  • 歸檔
  • 分類
  • 標籤
  • 連結
  • 關於
  •    

© 2025 SgDylan

Theme Typography by Makito

Proudly published with Hexo

导出 nginx 自动目录的链接到 aria2

發佈於 2017-08-07 評論 编程  nginx autoindex Javascript 

不多说废话,就是一个 Javascript 插件,实现的功能如标题所说。
在 tampermonkey 上运行正常,暂时没有发现 BUG。
用不惯 rsync 的可以试试用这个用从 seedbox 拖文件。

依赖组件:

  • nginx 配置有 basicauth
  • nginx 使用 phuslu 编写的 autoindex 进行自动列目录

安装方法:

  1. 下载脚本本体 NginxAutoindexExpoter;
  2. 修改脚本第 7 行为自己的 seedbox 地址;
  3. 修改脚本第 14 行为自己 aria2 使用的 rpc 地址;
  4. 修改脚本第 15 行为自己使用的 basicauth 加密字符串;
  5. 保存脚本,拖到 Chrome 完成安装。

本脚本包含 @binux 编写的 ThunderLixianExporter 的部分代码,在此表示感谢。
Javascript 初心者,还请julao们不要吐槽代码质量。

License:
NginxAutoindexExpoter is licensed under GNU Lesser General Public License.
You may get a copy of the GNU Lesser General Public License from http://www.gnu.org/licenses/lgpl.txt

分享到 

 上一篇: 在 PotPlayer 中使用 VapourSynth 加载 SVP4 下一篇: 使用手机远程控制 PC 网易云音乐 

© 2025 SgDylan

Theme Typography by Makito

Proudly published with Hexo