97cc9b5aa3
chore: add logging for image copy process
...
Added log message to indicate successful copying of the original image to EXHAUST_PATH.
2024-10-23 03:43:40 +08:00
d17cfc7a3c
refactor(encoder): add logging and refactor resizeImage function
2024-10-23 03:30:56 +08:00
2a61cc9247
refactor(router): improve remote address construction logic
2024-10-23 03:04:32 +08:00
b7d9419408
refactor(router): simplify remote address construction logic
2024-10-23 02:59:21 +08:00
0ae84bc419
fix(router): improve remote URL parsing and logging
2024-10-23 02:42:59 +08:00
e791682e4c
fix(handler): improve error messages in downloadFile function
2024-10-23 02:37:43 +08:00
0a36dd5284
refactor(handler): streamline file streaming and improve concurrency handling
2024-10-23 02:05:47 +08:00
85e0534523
chore(Dockerfile): Update Dockerfile to use Alpine Linux and refactor package management
...
Update Dockerfile to use Alpine Linux for base image and refactor package management to use apk instead of apt. Also, clean up cache directories after installing packages.
2024-10-23 01:16:23 +08:00
f24617f469
chore(Dockerfile): Update Dockerfile to use Alpine Linux and refactor package management
...
Update Dockerfile to use Alpine Linux for base image and refactor package management to use apk instead of apt. Also, clean up cache directories after installing packages.
2024-10-23 01:08:01 +08:00
3e0a0431d9
chore(Dockerfile): Update Dockerfile for base image and dependencies
2024-10-23 01:03:23 +08:00
52e885d3ec
chore(router): add os package and ensure target directory exists
...
remove unused image files
2024-10-23 00:23:59 +08:00
74a4c50cf6
chore: update go dependencies
2024-10-22 23:53:31 +08:00
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