It's time to go home

This commit is contained in:
2025-05-13 10:04:17 -04:00
parent dda3961e0e
commit d890bcbd2e
3 changed files with 47 additions and 49 deletions

View File

@@ -35,6 +35,17 @@ plain-url=1
## usage examples
### interactive
```shell
./imgproxy interactive
```
![img](./assets/interactive.gif)
### command line
generate a plain url with an insecure signature
```ini
[img-proxy]
@@ -133,4 +144,15 @@ curl --location 'http://localhost:8080/generate' \
"format": "bmp"
}'
```
`https://i.fooo.com/UMkz4OUNw6P9ShLdewuvW3ValMgCt263vZzU5gN57WQ/h:200/sm:1/enc/ECYxMeVBTjRxB7F-jdQ7W_-Fnv4YbmSJIKie-Hdtxd9vsmEKjU1YuWVSzdN97Mod.bmp`
`https://i.fooo.com/UMkz4OUNw6P9ShLdewuvW3ValMgCt263vZzU5gN57WQ/h:200/sm:1/enc/ECYxMeVBTjRxB7F-jdQ7W_-Fnv4YbmSJIKie-Hdtxd9vsmEKjU1YuWVSzdN97Mod.bmp`
## gRPC server
you can also serve request via a gRPC request
```shell
./imgproxy grpc
```
```
listening on :9000
```