No Description 1.6KB

Build Status Coverage


Getting a test coverage badge into your README without a 3rd party SaaS tool shouldn’t be that hard but sadly it is.

hoptocopter will let you POST a coverage file output from go test -coverprofile=coverage.out and spit out the badge for you thanks to

But wait, didn’t I just say you don’t have to use a 3rd party tool? I did. is nice enough to open source their stuff and beevelop was nice enough to bundle it up in a Docker image. With the magic of Docker compose you can run all of this together on your own instance.

Run the app anywhere you like. No need to integrate with any other 3rd party for auth or repo access.

Also note that most of this code was 100% lifted from the stdlib of Go, I just wrapped an HTTP endpoint around it.


Simple as:

  • git clone
  • cd hoptocopter
  • docker-compose up

Now all you need to do is POST your coverage output to hoptocopter:

curl -XPOST '' -F "file=@coverage.out"

And when you want the badge? Just send a GET hoptocopter’s way:

curl -XGET ''