Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kpechenenko/img-previewer

The web-service to create image preview.
https://github.com/kpechenenko/img-previewer

docker go image-processing rest-api

Last synced: about 8 hours ago
JSON representation

The web-service to create image preview.

Awesome Lists containing this project

README

        

# Image previewer

The webservice to create image preview. Works with JPEG.

## Demo

![demo.gif](assets/demo.gif)

## Run app

```bash
make run-img
```

The image previewer is running in localhost on port 8080.

## Usage

In browser go to `http://:/preview///`

For example: [http://127.0.0.1:8080/preview/100/300/raw.githubusercontent.com/OtusGolang/final_project/master/examples/image-previewer/_gopher_original_1024x504.jpg](http://127.0.0.1:8080/preview/100/300/raw.githubusercontent.com/OtusGolang/final_project/master/examples/image-previewer/_gopher_original_1024x504.jpg)

## Run tests

```bash
make test
```

## Run linter

```bash
make lint
```