Nova Kwok
bfa8aae10c
Try using vips ( #190 )
...
* Try using vips
* No need libaom
* Update code and version
* update
* Fix CI
* Add sudo
* Fix CI
* Make CI happy
* we happy few
* Update README, fix CI
* Add --no-install-recommends
* Update code
* Add ca-certificates for proxymode
* Add pics/invalid.png for testing
* Update README
---------
Co-authored-by: Benny <benny.think@gmail.com>
2023-05-10 10:52:36 +08:00
Nova Kwok
77b5b6047c
Use debian as baseimage in Dockerfile ( #176 )
...
* Use debian as baseimage in Dockerfile to mitigate https://github.com/webp-sh/webp_server_go/issues/175
* Fix Dockerfile path
2023-02-22 15:19:27 +08:00
Nova Kwok
68cefb6740
A bunch of fixes ( #161 )
...
* Some updates
* Update Docs as well
2022-12-25 16:19:47 +08:00
BennyThink
e9543522ae
avif support is almost complete
2021-12-04 17:25:26 +08:00
Benny
9329ac65fe
fix runtime.GOOS=="windows, add more test cases, bump to newer version of fiber and libwebp ( #68 )
...
* fix runtime.GOOS=="windows, add some test cases
test cases are still limited for flag
* update to latest fiber v2.4.0 & libwebp v1.2.0
manually test confirmed
2021-02-01 16:14:23 +08:00
BennyThink
2a6492f0df
add logger middleware to show response time
2020-12-03 10:34:24 +08:00
Nova Kwok
9eda9ee799
Feature: Add Compression rate on header ( #59 )
...
* Add X-Compression-Rate on response header
* add test case for compression rate, change logging and other improvements
* move config to config.go, add header for safari and proxyMode, logging improvement
* update gitignore for remote-raw and coverage.txt
* Refine log level
2020-11-27 15:41:03 +08:00
BennyThink
a67de53ae6
url with non-ascii fix, bump version
...
This commit has fixed issue reported in PR 57, add test case
2020-11-24 22:25:10 +08:00
Benny
08c333f3cd
Fiber v2, code format, typo,test case, go 1.15 and more ( #54 )
...
* upgrade to fiber v2
* code format
* remove redundant variables
* remove useless exportable variables/functions
* go mod replace
use our own mirror now.
* add test case for converter, use deferInit to make test more simple
* remove useless file and fix typo
* Makefile change
* upgrade to go 1.15
* remove wrong go test comments
* complete test case, coverage, coverage badge
* Fix version typo
* config struct fix
* add banner, show version, add server header, remove fiber startup message
Co-authored-by: n0vad3v <n0vad3v@riseup.net>
2020-11-21 13:26:03 +08:00
Nova Kwok
2d2df5571d
Feature: WebP Proxy ( #51 )
...
* feat-webp-proxy
* Fix panic on clear Cache, modified output.
* Optimize etag fetch logic
* Update README for new docs website.
* Bump version to 0.2.0.
2020-08-06 14:55:20 +08:00
Nova Kwok
36eb669031
Update iOS render policy and test case, bump version to 0.1.5 ( #50 )
...
Update iOS render policy and test case, bump version to 0.1.5.
2020-07-14 17:56:16 +08:00
n0vad3v
6abbc14a84
Bump version
2020-07-01 21:51:11 +08:00
Benny~
6f8d978268
isSafari test case
2020-05-23 12:38:47 +08:00
n0vad3v
5cc9bf2588
Update README.
...
Bump to 0.1.2.
2020-03-20 13:20:02 +08:00
Benny~
ca8aacd73d
systemd service file update, close #27
...
* remove capabilities: older kernel doesn't support
* remove reload: we don't support.
2020-03-12 19:33:13 +08:00
Benny~
e2e39e0690
add check for invalid img path
2020-03-07 13:09:58 +08:00
n0vad3v
ff0ec84d82
optimize log
2020-03-07 13:09:32 +08:00
n0vad3v
7bdd0812f6
Added custom log level with -v.
...
Fix bug caused by hard code of exhaust path.
Bump version to 0.1.1.
2020-03-06 21:06:32 +08:00
n0vad3v
e861578606
Bump to 0.1.0.
...
Update README.
2020-03-05 21:12:09 +08:00
Benny~
d5f7977d97
merge incident
2020-03-05 20:05:05 +08:00
Benny~
3aa872e0ff
resolve conflict, close PR #21
2020-03-04 22:06:24 +08:00
Nova Kwok
e6ba6d4045
Merge pull request #19 from webp-sh/autoUpdate
...
auto update in background
2020-03-04 21:02:03 +08:00
Benny~
579be00b41
split functions to different files. Build and run, please use package mode, example:
...
`go run .`
`go build .`
`go run . --prefetch`
2020-03-04 20:14:45 +08:00
Benny~
f65a3ed70e
auto update
2020-03-04 19:51:55 +08:00
n0vad3v
9e6f648cc4
Push README.md
...
Bump version.
2020-03-03 20:52:42 +08:00
Benny~
04ea19331c
prefetch in background
2020-03-03 19:56:00 +08:00
Benny~
f4a1bad454
prefetch custom cores, -jobs=3
2020-03-03 19:50:06 +08:00
Benny~
c0f5368319
dump systemd and config.json
...
Param:
dump-config
dump-systemd
2020-03-03 19:37:57 +08:00
Benny~
102cba7f4f
add bmp and gif support.
...
gif support is not perfect, need animated webp
2020-03-03 19:26:48 +08:00
Benny~
954a55adbe
add backward compatibility to exhaust path
2020-03-02 21:38:55 +08:00
Nova Kwok
95183ab1c3
Added custom exhaust path. ( #16 )
...
* Added custom exhaust path.
Bump to 0.0.4.
* Fix typo
2020-03-02 21:17:44 +08:00
Benny~
590d02d2c1
755 for non-root
2020-03-01 19:33:18 +08:00
Benny~
062b9dcf69
safari & 644 perm
2020-03-01 16:15:19 +08:00
Benny~
a9dd261702
fix extension check
2020-03-01 15:33:54 +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
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~
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
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~
f790b24a0b
better file type
2020-02-25 22:20:26 +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