Clean and simple repository size badge, courtesy of shields.io, that displays the size of your repository in KB, MB or *gasp* GB.
##Use
In your README.md, just add an image with the base URL (https://reposs.herokuapp.com/
) with the path to your public repository, for example CocoaPods/Specs:
You will then get a nice and pretty SVG with the size of the repository:
![](https://reposs.herokuapp.com/?path=CocoaPods/Specs)
If you want a flat image, you can add &style=flat
after the path.
![](https://reposs.herokuapp.com/?path=CocoaPods/Specs&style=flat)
That's it!
###Further Customization
If you want to change the color of your badge, just append &color=COLOR_NAME
to the image URL. By default, the badge is blue.
Available colors are (repo is ruddfawcett/reposs
):
Color | Badge |
---|---|
brightgreen | |
green | |
yellowgreen | |
yellow | |
orange | |
red | |
lightgray | |
blue | |
ff69b4 |
This repository was created by Rudd Fawcett - but is completely built off of shields.io - go check them out! Having a problem? Open an issue.