A shields.io Github profile badge that counts members of a given species in your collection on tfo.creaturetracker.net, a breeding tracker for The Final Outpost
Yup. That many horses. Look at this weird one:
NOTE: You need to have an account on tfoct to use this utility. If you are interested in helping us beta test our site, join our Discord and say hi! We don't bite, I promise.
There are 5 essential parameters you need to construct the shields.io URL for this badge:
-
styleShields.io has the following styles: -
logoChoose a logo from the Simple Icons library and copy the "slug" by clicking the copy button in the corner of the logo's entry. The only drawback is that these are brand icons, so I chose the Gunicorn icon for the Ebena badge since it was the closest I could find to an Ebena Kuranto. Maybe you will want to use Apifox or Firefox for one of the Alsalto species, bunny.net for Salta Dentegos, Lubuntu, Fluentd, or LaTeX for bird-like species, Xubuntu for Maco Dornas, PostgreSQL or Laragon for Pahidermos, SUSE for Koro degelas, or Docker for Nebulas. Spend some time looking through the icons, since brands are almost never named after the animal in their logo. Here's an example with Pyscaffold for Tagalos: -
logoColorCan be a hex, rgb, rgba, hsl, hsla or css named colors. I use hex. For the the color on the right side of the badge, edit it in the URL query parameters below. -
labelSelf explanatory - whatever you want the label to say. I just useEbena%20countfor mine. -
urlThe magic part. Our api endpoint is/api/public/users/{username}/creature-count?species={species}&color={color}Here is the url string with HTML escape characters:https%3A%2F%2Ftfo.creaturetracker.net%2Fapi%2Fpublic%2Fusers%2Flyricism%2Fcreature-count%3Fspecies%3DEbena%2BKuranto%26color%3DD0BCFF- replace
lyricismwith your TFO username - replace
Ebena%2BKurantowith your chosen species, making sure if it is two words that both are capitalized and%2Bis between them - change
colorto a preferred color for the right side of the badge. It follows the rules shields.io has for colors, so hex, rgb, rgba, hsl, hsla or css named colors are allowed.
- replace
The full markdown for the badge that you will put into your Github README (or anywhere else on the web) looks like this, I have put the parts you can or need to change in curly braces:

Just for those who are curious, I have put the source for the creature-count API route in this repo as route.ts, but it is part of the full tfoct project so it won't help much on its own.
