Nova Kwok
e64ded7f47
Better RAM usage ( #200 )
...
* Manually close image for GC
* Remove config
* Handle error by os.Stat
* Add more test on fetchRemoteImage
* refine TestGenOptimizedAbsPath
* Bump version to 0.8.1
2023-05-19 17:07:58 +08:00
BugFest
ccc99e2e1c
Enable AVIF compression in proxy mode ( #194 )
...
* Enable AVIF compression in proxy mode
* Fix AVIF in proxy mode PR after PR#192 merge
* Bump version to 0.8.0
2023-05-17 19:11:58 +08:00
Nova Kwok
bcb3f1452b
Support extra parameters on request ( #192 )
...
* version 1
* some update
* Fix ST1020
* Remove ST1020
* Fix CI
* Fix params
* Fix order
* Allow reqURIwithQuery pass through when proxy mode
* Fix bugs
* Extract resizeImage
* Check for err
2023-05-15 20:13:00 +08:00
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
f4d464e069
Bump version to 0.5.1 ( #185 )
2023-03-22 10:36:20 +01:00
Nova Kwok
dc4da7bae4
Add golangci/golangci-lint ( #181 )
...
* Add golangci/golangci-lint
* Fix golanglint
2023-03-18 22:24:06 +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
23e2cc6504
Bump version to 0.4.9 ( #172 )
2023-02-07 14:43:50 +08:00
Nova Kwok
68cefb6740
A bunch of fixes ( #161 )
...
* Some updates
* Update Docs as well
2022-12-25 16:19:47 +08:00
n0vad3v
bfbd08acdf
Bump version in config to 0.4.5
2022-06-19 15:49:49 +08:00
Nova Kwok
fd3013b2eb
Testing out lower glibc version ( #110 )
...
* Usiing lower glibc version
2022-03-24 14:58:47 +08:00
Nova Kwok
64db6cc199
Try to mitigate cocurrency problem ( #107 )
...
* Try to mitigate cocurrency problem
* Remove getFileContentType in funcion
* Bump to 0.4.3 after fix
2022-03-20 16:45:07 +08:00
Nova Kwok
88daad2a05
Always check for file extension ( #103 )
2022-03-15 11:13:13 +08:00
n0vad3v
74b0382ab6
Clean Path on routing to mitigate directory traversal, bump version to 0.4.1
2021-12-30 16:44:30 +08:00
BennyThink
7f1c441b6f
avif encoding speed, disable AVIF by default
2021-12-10 15:18:40 +08:00
BennyThink
67d40b4397
CI and minor fixes
...
* use GitHub Actions as CI
* bump versions
* Makefile and Dockerfile improvements
* upgrade logrus
2021-12-05 19:21:29 +08:00
BennyThink
7c65d5e213
stability enhancement
...
1. large dimension photos
2. GET /1.webp
3. dependabot
2021-12-04 17:25:26 +08:00
BennyThink
e9543522ae
avif support is almost complete
2021-12-04 17:25:26 +08:00
Benny
428192275b
choose webp or png feature ( #70 )
...
* support webp_bigger header, add test cases
* fix test case
2021-02-12 16:13:13 +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
Benny
0c08f65be1
fix unsupported browser + proxyMode bug, return 400 for not allow files instead of 500 ( #64 )
...
unsupported browser will go for origin, while in proxyMode we don't have cache images.
resolve #61
2020-12-06 14:02:17 +08:00
Benny
37d8d8ba13
iOS 14 support, bump to 0.3.1 ( #63 )
...
Use `accept` header first, then `user-agent` header.
Add complete test case.
This should resolve part of #61
2020-12-05 16:42:18 +08:00
Nova Kwok
cedacd3997
Bump to 0.3.0 ( #60 )
2020-11-29 12:18:26 +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