An open API service indexing awesome lists of open source software.

https://github.com/linkorb/imgproxy

ImgproxyService
https://github.com/linkorb/imgproxy

Last synced: 4 months ago
JSON representation

ImgproxyService

Awesome Lists containing this project

README

          

# imgproxy
ImgproxyService use imgproxy, is a fast and secure standalone server for resizing and converting remote images.
The main principles of imgproxy are simplicity, speed, and security.

**[imgproxy document](https://github.com/imgproxy/imgproxy#documentation)** for more detials.

## Installation
```bash
composer require linkorb/imgproxy
```

## Setup
```sh
composer install # install php dependencies
cp .env.dist .env # Create config file from template/.dist file
edit .env # Edit configuration, database settings etc
./vendor/bin/envoi validate # Run command validate based on meta file .env.yaml
```

## Generate credentials
If you need a random key/salt pair real fast, you can quickly generate it using, for example, the following snippet

```bash
$ echo $(xxd -g 2 -l 64 -p /dev/random | tr -d '\n')
```

## configure presets
more detail check [persets](https://github.com/imgproxy/imgproxy/blob/master/docs/presets.md)

### example
Find sample in /examples folder.