px-org / panindex Goto Github PK
View Code? Open in Web Editor NEWNetwork disk directory index / 网盘目录索引
Home Page: https://docs.noki.icu
License: GNU Affero General Public License v3.0
Network disk directory index / 网盘目录索引
Home Page: https://docs.noki.icu
License: GNU Affero General Public License v3.0
建议对文本类文件提供预览支持
比如markdown、js、c等。
首先程序很棒,我很喜欢!
PanIndex目前不支持teambition国际版的吗
看了 #17 ,我测试还是有问题。
遇到的问题:
PanIndex文件排序规则为修改时间排序,天翼云盘设置排序为根据文件名排序。
PanIndex无法同步天翼云盘文件排序设置。
使用 OneDrive还是蛮多人的 使用也挺频繁 希望可以能支持这个
Heroku:后台配置好后,获取配置json,并复制到heroku新的环境变量PAN_INDEX_CONFIG中,端口号会根据环境变量$PORT覆盖,无需关注
这个是什么意思,搞不懂,能指点一下吗,或者能出个视频教程吗,宝塔搭建
怎么获取onedrive的refreshtoken
能否支持对接对象存储呢?
如 #15 所言,能否考虑前后端分离,或者前端配置文件独立化,方便自定义前端需求,而不是改代码后再进行自编译等复杂操作。
如果作者有精力和时间
{ "port": 8080, "user": "183xxxx7765", "password": "xxxx", "root_id": "-11", "pwd_dir_id": [ { "id": "51496311321353335", "pwd": "1234" } ], "hide_file_id": "", "heroku_app_url":"https://pan-index.herokuapp.com" }
user password都填写正确,app-url也无误,但还是打不开
2020-11-23T08:54:42.665652+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch 2020-11-23T08:54:42.684998+00:00 heroku[web.1]: Stopping process with SIGKILL 2020-11-23T08:54:42.771712+00:00 heroku[web.1]: Process exited with status 137 2020-11-23T08:54:42.806970+00:00 heroku[web.1]: State changed from starting to crashed
因为不想直接把根目录下所有文件暴露在公网上,只想暴露一个子文件夹该怎么找root_id,另外加上搜索功能还有单文件或文件夹分享链接就更好了,感谢作者
目前阿里云盘已经正式公测,用的人越来越多也 与 teambition盘 进行合并, API也相对简单。 可参考 https://github.com/Xhofe/alist 进行添加。
另外,每次启动的时候文件路径也已经缓存到 Sqlite数据中,是否可以根据数据库中的文件开发出文件搜索功能。
把ui放到同级目录之后没有变化
比如d_0里的所有都设置密码 d_0:123456
这样不行啊 是只有网盘的ID可以设置吗
好棒!感觉可以有个简单的referer防盗链,是否允许空referer以及referer白名单这样的,在向天翼云请求前就可以拦下来,不然怕后面用的人多了,被盗链是其一,还有可能被天翼ban?
Originally posted by @YohoYang in #7 (comment)
能否给个说明。告知下安装方法。研究半天没搞定。。。
愿意红包酬谢。
突然占用内存十几个 G。
日志报错如下(127.0.0.1 是因为从 Nginx 反代的)
2021/06/06 02:06:49 http: panic serving 127.0.0.1:14273: runtime error: invalid memory address or nil pointer dereference
goroutine 63000 [running]:
net/http.(*conn).serve.func1(0xc000a96640)
/usr/local/go/src/net/http/server.go:1824 +0x153
panic(0xc2a900, 0x13c9330)
/usr/local/go/src/runtime/panic.go:971 +0x499
PanIndex/Util.GetDownlaodUrl(0xc0005d2120, 0x24, 0xc001788070, 0x68, 0x10, 0xbfa5a0)
/github/workspace/Util/Cloud189.go:137 +0x27d
PanIndex/service.GetDownlaodUrl(0xc0005d2120, 0x24, 0xc0005b4258, 0x15, 0xc0005b3c40, 0x8, 0xc0005b3c60, 0xb, 0xc0005b3c90, 0xe, ...)
/github/workspace/service/service.go:181 +0x285
main.index(0xc000cf20f0)
/github/workspace/main.go:224 +0x958
main.main.func1(0xc000cf20f0)
/github/workspace/main.go:134 +0x8ec
github.com/gin-gonic/gin.(*Context).Next(...)
/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:161
github.com/gin-gonic/gin.LoggerWithConfig.func1(0xc000cf20f0)
/go/pkg/mod/github.com/gin-gonic/[email protected]/logger.go:241 +0xf4
github.com/gin-gonic/gin.(*Context).Next(...)
/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:161
github.com/gin-gonic/gin.serveError(0xc000cf20f0, 0x194, 0x14014b0, 0x12, 0x12)
/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:445 +0x49
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc0003d8500, 0xc000cf20f0)
/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:438 +0x4fc
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc0003d8500, 0xe12a28, 0xc000980380, 0xc000132800)
/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:367 +0x14d
net/http.serverHandler.ServeHTTP(0xc0004d8000, 0xe12a28, 0xc000980380, 0xc000132800)
/usr/local/go/src/net/http/server.go:2887 +0xa3
net/http.(*conn).serve(0xc000a96640, 0xe14a20, 0xc00048d0c0)
/usr/local/go/src/net/http/server.go:1952 +0x8cd
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:3013 +0x39b
docker部署无法更换主题
纯好奇😆
作者,能不能发布一下arm版的程序,我想在arm设备上运行!
armv7(32位)以及arm64位!
似乎过一段时间设置的定时任务就不会刷新了
本来设置的30分钟一次
结果几个小时后都没有刷新目录
并且在手动改刷新时间并重启尝试刷新后出现了目录重复的情况(同一个目录在列表中显示多个)
其他:
新版本的手动API似乎没用了(只试了目录刷新没反应)
没有找到MYSQL连接的设置
配置:
teambition (网盘)
源码部署(2.0)
环境debian 10 64x
没有找到本地问题(
大家有好的建议也可以参加讨论,目前PanIndex的定位是简洁,实用,高效。
用来做软件分发下载,月流量预估达到 3TB 左右,现在账号已被限速到 128KB/s,无论网页还是客户端都是,建议各位不要白嫖过度。
不说了,搬数据去了(狗头
下载exe文件后打开,浏览器进localhost:5238提示管理员登录,不知道密码啊
有没有时间交流一下~~
好难。。。
当文件夹名中有类似于_之类的字符时会导致404错误
github无法访问导致报错
https://api.github.com/repos/libsgh/PanIndex/releases/latest
目前可通过修改服务器hosts解决此问题
140.82.114.6 api.github.com
阿里云网盘无法缓存主目录。主目录没有ID,填写index和drive都缓存失败,可不可以添加下主目录缓存。
能否添加微软云盘个人版和其他版本
不填写配置文件不会出现Application error,但是没有密码进入系统配置界面
配置文件填写如下
{
"port": 8080,
"mode": "cloud189",
"user": "xxx",
"password": "xxx",
"root_id": "-11",
"heroku_app_url":"https://xxx.herokuapp.com",
"theme": "classic",
"cron_exps": {
"refresh_cookie": "0 0 8 1/1 * ?",
"update_folder_cache": "0 0 0/1 * * ?",
"heroku_keep_alive": "0 0/5 * * * ?"
}
}
刷新了好几次都失效,请修复
我想自己编译armv7,下了xgo,用 CC=arm-linux-gnueabihf-gcc-5
可以运行,但是打开界面时空白,不知道您是用什么工具编译全平台的呢?
一个文件夹里文件/子文件夹比较多的时候这个文件夹就不会被显示
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.