This project is no longer maintained. Please use StackStats
Temporary not working
The only thing you need to do is to add the following code to your page:
![stack stats](https://stack-stats.herokuapp.com/stats?id=<id>)
Important note: the id
is the id of the stack you want to display.
In my case, I have a stack with id 14513625.
![stack stats](https://stack-stats.herokuapp.com/stats?id=14513625)
Also, you can wrap the above in an anchor tag to make it easier to move on to your stack profile:
<a href="https://stack-stats.herokuapp.com/stats?id=14513625" target="_blank" rel="noopener noreferrer">
<img src="https://stack-stats.herokuapp.com/stats?id=14513625" alt="stack stats" />
</a>
It is because GitHub uses a cache to store the data. The data is updated every 2 hours, but you can manually update the cache:
Only you need to do is to right-click on the svg and select copy link location then type this command:
$ curl -X PURGE https://camo.githubusercontent.com/4d04abe0044d94fefcf9af2133223....
> {"status": "ok", "id": "216-8675309-1008701"}
change the url to the one you want to purge.
To run it locally, you just need to run the following commands:
go run ./src/server.go 8080