Skip to content

veeso-dev/webp-convert-api

Repository files navigation

Webp-convert-api

license-mit build-test Conventional Commits



About webp-convert-api

webp-convert-api is a Rust web service which comes integrated with ClamAV. The service provides an API endpoint to scan files with ClamAV.


Get started

Setup env

cp .env.test .env
vim .env
APIKEY={your_api_key}
WEB_PORT=3001

Run with Cargo make

cargo make -p production run

webp-convert-api API

Check

Check web service status:

GET /check

Response: Empty (200)

Convert

POST /convert

Body: image binary

Response: image/webp with webp image data

Resize

POST /resize/:width/:height

Body: image binary

Response: image/webp with webp image data


Contributing and issues

Contributions, bug reports, new features and questions are welcome! 😉 If you have any question or concern, or you want to suggest a new feature, or you want just want to improve pavao, feel free to open an issue or a PR.

Please follow our contributing guidelines


Changelog

View webp-convert-api's changelog HERE


License

webp-convert-api is licensed under the MIT license.

You can read the entire license HERE