37 Commits

Author SHA1 Message Date
Benny
47ccbf92dc
Add issue templates (#13)
May check the template on our needs
2020-03-01 14:55:41 +08:00
Benny~
d514865b64
Merge branch 'progressbar'
# Conflicts:
#	webp-server.go
2020-03-01 14:42:45 +08:00
Nova Kwok
e6070cf783
fix progress bar while utilize all the CPUs we have, fix #8 2020-02-29 22:57:18 +08:00
Nova Kwok
c45af53b26
Use goroutine for prefetch (#12) 2020-02-29 19:03:26 +08:00
n0vad3v
73884394d9
Travis CI auto build to release 2020-02-29 18:39:00 +08:00
n0vad3v
810fba5c89
skip-cleanup 2020-02-29 18:39:00 +08:00
Benny~
7152cae868
Lossless: false 2020-02-29 18:39:00 +08:00
Benny~
ec5796d170
prefetch is finish. resolve #5.
Waiting for nova to test and merge to master
2020-02-29 18:39:00 +08:00
Benny~
86b1b7c9e7
layout v1 #6 2020-02-29 18:39:00 +08:00
Benny~
f7cc133c68
travis-ci icon in README, LICENSE 2020-02-29 18:38:56 +08:00
n0vad3v
2a090a3219
Add travis
test deploy to release

fix yml

test CI

test build
2020-02-29 18:29:38 +08:00
Benny~
d751d21545
lfs and files 2020-02-26 20:23:10 +08:00
Benny~
9a933544be
go-style 2020-02-26 20:21:24 +08:00
Benny~
83a0aa420c
fix issue #4, add err return for webpEncoder 2020-02-26 20:13:52 +08:00
muzi
3380f63af5
Add systemd unit file webps.service (#3)
* Add systemd unit file webps.service

* Update webps.service
2020-02-26 19:25:19 +08:00
Nova Kwok
95b4443c13
Merge pull request #2 from BlueCocoa/master
Generate new WebP image if original file is modified since last time
2020-02-26 10:37:14 +08:00
Cocoa
25d46611f1
Copy ImgName before invoke c.SendFile since stripTrailingSlashes in fasthttp will change the content of ctx.URI().Path(), which was once obtained as ImgPath := c.Path()
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-02-26 02:04:50 +08:00
Cocoa
735b7d2cda
check the original image for existence before os.Stat
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-02-26 00:50:19 +08:00
n0vad3v
087e39d1ea
Optimize on function.
Update README.
2020-02-26 00:17:29 +08:00
Benny~
e7a3220773
Merge branch 'master' of https://github.com/n0vad3v/webp_server_go
 Conflicts:
	webp-server.go
2020-02-25 22:20:53 +08:00
Benny~
f790b24a0b
better file type 2020-02-25 22:20:26 +08:00
n0vad3v
d8c8bf9964
Fix read file type bug. 2020-02-25 22:12:24 +08:00
Cocoa
2b40d844a4
fixed typo in glob pattern, - -> .
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-02-25 20:56:26 +08:00
Cocoa
61b46a1d8e
generate new webp image if original file is modified since last time
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-02-25 20:50:29 +08:00
n0vad3v
8bdffcc246
Change from webp_server to webp-server.
Update RPM Spec.
2020-02-25 14:47:19 +08:00
Nova Kwok
2fc7cc018c
Merge pull request #1 from n0vad3v/add-cli-config
Add cli config
2020-02-23 21:23:55 +08:00
Benny~
5ae671f942
fix cli param, exit on file not found 2020-02-23 21:20:10 +08:00
n0vad3v
a302eeddc0
Add broken flag 2020-02-23 20:44:06 +08:00
n0vad3v
e45ca996ac
Added Safari support 2020-02-09 19:35:41 +08:00
Benny~
6839c6a7b0
update README.md 2020-02-09 18:53:24 +08:00
Benny~
4ae6453981
remove bin 2020-02-09 18:44:50 +08:00
Benny~
6d93f58889
update README.md 2020-02-09 18:44:15 +08:00
Benny~
8f58bc4930
go style 2020-02-09 18:28:54 +08:00
Benny~
4213dff391
fix panic due to direct request on / 2020-02-09 18:06:25 +08:00
Benny~
c0eabe3bc1
add gitignore 2020-02-09 14:32:29 +08:00
Benny~
b813dcfc77
webp encoder 2020-02-09 14:32:00 +08:00
n0vad3v
6b5f1e6e92
Init 2020-02-09 12:21:51 +08:00