github.com/skipor/imgserver

Test task for Yandex internship. Simple server that download all <img> tag images from HTML page, and return page with all images encoded base64. URL of HTPL page passes by query attribute.


License
Apache-2.0
Install
go get github.com/skipor/imgserver

Documentation

Build Status GoDoc

imgserver

Test task for Yandex internship. Simple Go server that download all <img> tag images from HTML page, and return page with all images encoded base64. URL of HTTP page passes by query attribute. Support many different page encodings

usage

go get github.com/Skipor/imgserver/cmd/imgserver

$GOBIN/imgserver -p 8888

curl http://localhost:8888/?url=https://habrahabr.ru/interesting/