statigz
Statigz serves pre-compressed embedded files with http in Go (by vearutop)
embed-encrypt | statigz | |
---|---|---|
2 | 5 | |
3 | 64 | |
- | - | |
0.0 | 3.3 | |
16 days ago | 10 months ago | |
Go | Go | |
- | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
embed-encrypt
Posts with mentions or reviews of embed-encrypt.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-27.
-
Working with Embed in Go 1.16 Version
You can already do this with a little code generation, see this wrapper I wrote to add encryption to embed, something similar could easily be done I might even add it in the future.
statigz
Posts with mentions or reviews of statigz.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-14.
- Labstack/echo: High performance, minimalist Go web framework
- Showcase: statigz serves pre-compressed embedded files with http in Go
-
Working with Embed in Go 1.16 Version
I've made an http file server to serve pre-compressed or decompressed files out of embedded fs based on Accept-Encoding header: https://github.com/vearutop/statigz.
-
Serving compressed static assets with HTTP in Go 1.16
I thought this approach can work well for Go embedded files too and implemented github.com/vearutop/statigz: a file server that can serve compressed version of an asset if it is available in embedded file system.
-
Embed Files In Go Using New Embed Package In Go
I'm excited with this new feature, though I felt a bit of friction in the case of serving compressed assets with http. I like how such problem in solved in http://nginx.org/en/docs/http/ngx_http_gzip_static_module.html, so I've implemented somewhat similar approach for Go 1.16 embedded files: https://github.com/vearutop/statigz, hope it will be helpful.
What are some alternatives?
When comparing embed-encrypt and statigz you can also consider the following projects:
swaggerui - Embedded, self-hosted swagger-ui for go servers
go - The Go programming language
template - 🧬 Template engine middleware for Fiber
letsblockit - Remove low-quality content and useless nags, focus on what matters. A community-maintained uBlock Origin filter set.
Echo - High performance, minimalist Go web framework
brotli - Brotli compression format
chi - lightweight, idiomatic and composable router for building Go HTTP services