Skip to content
This repository was archived by the owner on Sep 25, 2018. It is now read-only.

Conversation

@breezechen
Copy link

没接触过前台项目,弄了大半天才把你项目里的webpack, react, 弄明白是个什么东西,前台的生态环境果然富的流油!
我加了个Remote Download按钮和一个Modal,现在还是很丑,进度条交互暂时还没想到怎么实现...
BTW:react-bootstrap太坑了,你用的是0.27.0,我没注意,看的是官网最新版的Components教程,折腾了半天都不对,最后在首页看到一条红色提示The project is under active development, and APIs will change.,才想到是版本问题! = =!!!

@codeskyblue
Copy link
Owner

辛苦,我抽空看下

@breezechen
Copy link
Author

现在有进度条了

我还自己写了个cmd,这下用着舒服了

@codeskyblue
Copy link
Owner

看起来,还不错,还需要处理下,浏览器关闭之后,如何看到进度的问题

@breezechen
Copy link
Author

最好的办法,弄个downloading.json, 下载任务开始的时候,往json里面插如任务数据,exec.Command结束以后,更新json,文件目录列表的name列,做成背景是progress bar, 每次列目录的时候检查一下downloading.json, 如果有未完成的下载任务,就做个timer更新进度条

不过我这js水平完成不了,你有时间做么?

@codeskyblue
Copy link
Owner

最近时间不是很多,下载你也可以直接设置一个新的路由 比如 /$offline-downloads/

Breeze Chen added 2 commits July 20, 2016 21:31
… encoding? some ISP in china fucking urls whit "google.com" like strings in it, and they try decode base64 encoded urls!
@codeskyblue
Copy link
Owner

@breezechen wget其实你最好用golang的原声代码实现,另外这个项目我也打算重写了(把react去掉,不然门槛有点高)

新项目地址,pr可以贡献到这里来 https://github.com/codeskyblue/gohttpserver

@breezechen
Copy link
Author

好的,新代码我fork一份,用golang写的话,实现不了wget那么强大的功能呀,=_=!

@codeskyblue
Copy link
Owner

基本的http ftp sftp https都是可以用golang搞定的,而且不会有外部的依赖

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants