diff --git a/README.md b/README.md index 426d3d3..dd912cc 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,6 @@

-**THIS PROJECT IS UNDER DEVELOPMENT, DON'T USE IT ON PRODUCTION ENVIRONMENT.** - After the [n0vad3v/webp_server](https://github.com/n0vad3v/webp_server), I decide to rewrite the whole program with Go, as there will be no more `npm install`s or `docker-compose`s. This is a Server based on Golang, which allows you to serve WebP images on the fly. @@ -86,7 +84,7 @@ location ^~ /wp-content/uploads/ { ## Build your own binaries Install latest version of golang, enable go module, clone the repo, and then... ```shell script -go build webp-server.go +make ``` **Due to the limitations of webp module, you can't cross compile this tool. But the binary will work instantly on your platform and arch** @@ -96,4 +94,16 @@ But the binary will work instantly on your platform and arch** - [ ] Multi platform support. - [x] A better way to supervise the program. - [ ] Get rid of render-blocking effect on first render. -- [x] Prefetch on server initialization. \ No newline at end of file +- [x] Prefetch on server initialization. + +## Related Articles(In chronological order) + +* [让站点图片加载速度更快——引入 WebP Server 无缝转换图片为 WebP](https://nova.moe/re-introduce-webp-server/) +* [记 Golang 下遇到的一回「毫无由头」的内存更改](https://await.moe/2020/02/note-about-encountered-memory-changes-for-no-reason-in-golang/) +* [WebP Server in Rust](https://await.moe/2020/02/webp-server-in-rust/) +* [个人网站无缝切换图片到 webp](https://www.bennythink.com/flying-webp.html) + +## License + +WebP Server is under the GPLv3. See the [LICENSE](./LICENSE) file for details. + diff --git a/scripts/webp_server.spec b/scripts/webp_server.spec index 810118d..8972327 100644 --- a/scripts/webp_server.spec +++ b/scripts/webp_server.spec @@ -1,11 +1,11 @@ Name: webp-server -Version: 0.0.2 +Version: 0.0.3 Release: 1%{?dist} Summary: Go version of WebP Server. A tool that will serve your JPG/PNGs as WebP format with compression, on-the-fly. License: GPLv3 Source0: webp-server -URL: https://github.com/n0vad3v/webp_server_go +URL: https://github.com/webp-sh/webp_server_go %description Go version of WebP Server. A tool that will serve your JPG/PNGs as WebP format with compression, on-the-fly.