https://github.com/manaelproxy/manael
Manael is a simple HTTP proxy for processing images.
https://github.com/manaelproxy/manael
go manael proxy webp
Last synced: 4 months ago
JSON representation
Manael is a simple HTTP proxy for processing images.
- Host: GitHub
- URL: https://github.com/manaelproxy/manael
- Owner: manaelproxy
- License: mit
- Created: 2017-11-22T09:11:55.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2024-04-13T18:07:18.000Z (about 2 years ago)
- Last Synced: 2024-04-14T00:45:40.282Z (about 2 years ago)
- Topics: go, manael, proxy, webp
- Language: Go
- Homepage: https://manael.org/
- Size: 5.93 MB
- Stars: 33
- Watchers: 3
- Forks: 3
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Manael
[](https://godoc.org/manael.org/x/manael)
[](https://github.com/manaelproxy/manael/actions?query=workflow%3AGo)
[](https://codecov.io/gh/manaelproxy/manael)
Manael is a simple HTTP proxy for processing images.
## Installation
- [Download latest binary](https://github.com/manaelproxy/manael/releases/latest)
## Usage
Start the proxy server:
```console
manael -http=:8080 -upstream_url=http://localhost:9000
```
To convert a JPEG image to WebP, send a request with an `Accept: image/webp` header. Manael will automatically convert the image if the upstream server returns a JPEG or PNG:
```console
curl -sI -H "Accept: image/webp" http://localhost:8080/image.jpg
```
The response will have `Content-Type: image/webp` when conversion succeeds.
## License
[MIT](/LICENSE)