Host Images for free via your Github and get pretty easy to remember links to use it wherever you want.
You can self-host this microservice in your infra using Docker to enable advanced features such as Image caching.
docker pull ans29hul/goimg1:latest
Create a repo called goimg and push all your images to the main branch, then use the link as shown to access them directly.
http://goimg.me/g/<user_name>/<filename>
Example: http://goimg.me/g/anshulagx/a.png
http://goimg.me/gr/<user_name>/<repo_name>/<filename>
Example: http://goimg.me/gr/anshulagx/goimg/a.png/
List of valid Query params
Query Param | Description | Values |
---|---|---|
w | Width | in px |
h | Height | in px |
rot | Rotation | in degrees |
b | Blur | true/false |
f | Image format | jpeg/png/bmp |
q | Quality | 0-100 |
http://www.goimg.me/?img=<url>&w=<width>....
http://www.goimg.me/
Example: http://www.goimg.me
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.