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 2 months ago
JSON representation
The web-service to create image preview.
- Host: GitHub
- URL: https://github.com/kpechenenko/img-previewer
- Owner: kpechenenko
- Created: 2024-11-22T16:54:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-26T12:07:41.000Z (over 1 year ago)
- Last Synced: 2025-03-30T07:43:29.895Z (about 1 year ago)
- Topics: docker, go, image-processing, rest-api
- Language: Go
- Homepage:
- Size: 7.75 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Image previewer
A lightweight web service for generating image previews, built with Go. Easily creates scaled previews of JPEG images through a simple REST API.

## Installation
```bash
make build-img
```
## Usage
```bash
make run-img
```
The image previewer is running in localhost on port 8080.
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)
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
## License
This project is licensed under the MIT License.