8381e24fc4
feat(handler, schedule): improve error handling and logging for file downloads and cleanup
2024-10-22 23:52:57 +08:00
8b6defa69c
refactor(router): add file size check before image processing
2024-10-22 23:27:07 +08:00
fdea015805
refactor(encoder): add file size check and optimize raw image conversion process
2024-10-22 23:10:09 +08:00
159e78f82e
feat(encoder): add NEF to JPG conversion and improve image processing workflow
2024-10-22 22:59:52 +08:00
059aba8a4d
feat(encoder): add logging and support for AVIF and JXL image formats
2024-10-22 22:47:56 +08:00
b0e866f9dc
Merge branch 'master' of https://github.com/woodchen-ink/webp_server_go
2024-10-22 22:37:00 +08:00
c5ed3a1fea
feat(encoder): add ProcessAndSaveImage function to handle image processing and saving
2024-10-22 22:36:58 +08:00
wood chen
b4b9ac138b
Update README.md
2024-10-22 21:57:42 +08:00
be7aed64a9
refactor(encoder): Update log messages and helper functions for better readability and maintainability
2024-10-22 21:45:47 +08:00
8ed631f361
删除调整后不需要的库
2024-10-22 20:19:14 +08:00
3353d014d4
调整以支持IMG_MAP
情况下的本地路径
2024-10-22 20:18:09 +08:00
d872d71dcb
feat(config, handler): Remove IMG_PATH config and update IMG_MAP handling, add root path greeting
2024-10-22 19:59:27 +08:00
c8f3d0bf38
进一步优化日志
2024-10-22 19:32:22 +08:00
4c674c8a9c
refactor: streamline docker image build and push process
2024-10-22 19:15:50 +08:00
f12eafb25a
Merge branch 'master' of https://github.com/woodchen-ink/webp_server_go
2024-10-22 19:06:08 +08:00
f8b23a88f3
chore: Refactor workflow and Makefile, remove test files
2024-10-22 19:06:06 +08:00
wood chen
160d4a2373
Update README.md
2024-10-22 18:27:09 +08:00
4aea178ab0
100KB以下不处理, 调整日志
2024-10-22 18:20:59 +08:00
e7c2a50e2f
改为100KB以下不处理
2024-10-22 18:18:39 +08:00
9b6425777c
feat(handler/router): 低于200k的图片直接跳过转换
2024-10-22 18:10:00 +08:00
2b11f38480
feat(webp-server): add memory usage monitoring
2024-10-22 17:30:02 +08:00
c9cb32b0da
尝试优化内存占用
...
feat(encoder): optimize prefetch images with worker pool and progress bar
refactor(handler): improve downloadFile function with error handling
refactor(helper): use streaming JSON encoder for metadata
chore(webp-server): update server config with write buffer size
2024-10-22 17:26:43 +08:00
9ee97eab9d
refactor(config, handler): Update error messages and logging to Chinese
2024-10-22 17:05:33 +08:00
cad6e95686
refactor(encoder, handler, schedule): Update error messages and code style for better readability
2024-10-22 16:56:42 +08:00
b6231118df
Update root path welcome message and remove glib_malloc and jemalloc docker-compose files
2024-10-16 15:11:52 +08:00
wood chen
a415bc90c7
Merge pull request #1 from woodchen-ink/dependabot/go_modules/github.com/schollz/progressbar/v3-3.16.1
...
Bump github.com/schollz/progressbar/v3 from 3.14.6 to 3.16.1
2024-10-07 16:12:26 +08:00
dependabot[bot]
031db53ab1
Bump github.com/schollz/progressbar/v3 from 3.14.6 to 3.16.1
...
Bumps [github.com/schollz/progressbar/v3](https://github.com/schollz/progressbar ) from 3.14.6 to 3.16.1.
- [Release notes](https://github.com/schollz/progressbar/releases )
- [Commits](https://github.com/schollz/progressbar/compare/v3.14.6...v3.16.1 )
---
updated-dependencies:
- dependency-name: github.com/schollz/progressbar/v3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-07 08:03:29 +00:00
wood chen
4ccac33e14
Merge pull request #2 from woodchen-ink/dependabot/go_modules/github.com/valyala/fasthttp-1.56.0
...
Bump github.com/valyala/fasthttp from 1.55.0 to 1.56.0
2024-10-07 16:02:16 +08:00
dependabot[bot]
d62cc03357
Bump github.com/valyala/fasthttp from 1.55.0 to 1.56.0
...
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp ) from 1.55.0 to 1.56.0.
- [Release notes](https://github.com/valyala/fasthttp/releases )
- [Commits](https://github.com/valyala/fasthttp/compare/v1.55.0...v1.56.0 )
---
updated-dependencies:
- dependency-name: github.com/valyala/fasthttp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-07 07:10:36 +00:00
2044d8388a
改进文件变更检测逻辑,增加文件大小和最后修改时间检查,优化日志记录
2024-10-07 15:08:52 +08:00
fef4228f7c
修复了非图片文件请求的处理逻辑,优化了本地和远程资源的区分和重定向方式。
2024-09-29 16:10:22 +08:00
b85b0c6260
修复了路径检查和根路径请求的处理,优化了代码结构。
2024-09-29 15:19:57 +08:00
585f9a52b8
尝试修复非图片文件的重定向问题,并优化了代码结构。
2024-09-29 15:17:45 +08:00
0b494e08ac
尝试修复无限重定向
2024-09-29 15:04:43 +08:00
68108a3946
修复了远程请求错误,优化了日志警告信息,并改进了生成默认etag的逻辑。
2024-09-29 12:25:29 +08:00
d976d8f7cb
修复每次都回源, 把默认etag改为静态值
2024-09-29 03:21:26 +08:00
b5fb5b84a0
fix
2024-09-29 02:18:49 +08:00
08be6ef926
fix
2024-09-29 02:13:10 +08:00
85362aad22
修复
2024-09-29 01:39:46 +08:00
214d189e24
尝试修复
2024-09-29 01:37:44 +08:00
77801f29fa
尝试修复
2024-09-29 01:08:37 +08:00
34092a41b0
非图片文件会302重定向到原始链接
2024-09-29 00:47:33 +08:00
9629b19b9a
导入time
2024-09-29 00:13:41 +08:00
e7c6fe9851
这个修改版本的 pingURL 函数有以下改进:
...
如果无法获取 ETag,尝试使用 Last-Modified 头部信息。
如果 ETag 和 Last-Modified 都不可用,使用一个基于 URL 和当前时间的回退标识符。
在出现错误或意外状态码时,也使用回退标识符。
增加了更详细的日志记录,有助于问题诊断。
2024-09-29 00:09:18 +08:00
a491e9cf49
Remove 'tags' from release workflow ( #354 )
2024-09-05 16:01:21 +08:00
a48318803e
Update README with new Docker image
2024-09-05 16:00:31 +08:00
034e7e3834
Bump github.com/valyala/fasthttp from 1.52.0 to 1.55.0 ( #339 )
2024-09-05 15:59:32 +08:00
Nova Kwok
89aea97310
Bump to Go 1.23 ( #353 )
...
* Bump to Go 1.23
* Install docker-compose
2024-08-16 23:43:39 +08:00
dependabot[bot]
d400f52e15
Bump github.com/schollz/progressbar/v3 from 3.14.5 to 3.14.6 ( #350 )
...
Bumps [github.com/schollz/progressbar/v3](https://github.com/schollz/progressbar ) from 3.14.5 to 3.14.6.
- [Release notes](https://github.com/schollz/progressbar/releases )
- [Commits](https://github.com/schollz/progressbar/compare/v3.14.5...v3.14.6 )
---
updated-dependencies:
- dependency-name: github.com/schollz/progressbar/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 10:20:18 +08:00
dependabot[bot]
80d6a04509
Bump github.com/schollz/progressbar/v3 from 3.14.4 to 3.14.5 ( #348 )
...
Bumps [github.com/schollz/progressbar/v3](https://github.com/schollz/progressbar ) from 3.14.4 to 3.14.5.
- [Release notes](https://github.com/schollz/progressbar/releases )
- [Commits](https://github.com/schollz/progressbar/compare/v3.14.4...v3.14.5 )
---
updated-dependencies:
- dependency-name: github.com/schollz/progressbar/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 05:25:11 +08:00