cat gifs on demand for any occasion or project. Make any request for any resource for moar cats. No 5xx or 4xx's here: just cat gifs.
Use it anywhere you need a cat gif! For example
<img src='http://edgecats.net' alt='a random cat gif!'/>
or something like this to click for new cat gifs
<div id="catcontainer" onclick="moarcats();">
<img src="http://edgecats.net" alt="random cat"/>
</div>
<script type="text/javascript">
function moarcats() {
var catcontainer = document.getElementById("catcontainer");
catcontainer.innerHTML = '<img src="http://edgecats.net" alt="random cat"/>';
return false;
}
</script>
Also allows cross origin requests.
wait, first here's a cat!
try /auto!
- every 60s is a new cat
- click the image to immediately get moar cats
- the X-cat-link header has a direct link to the current random cat
try /netcat out!
- drag him around!
- type
moar cats
for an adorable cat!
Awesome right? Fuck yeah here's another cat
you can haz! try /random
edgecats.net/cats/ is a static cacheable cat, like this motherfucker right here
well here's one right now!
- /all for a list of all cat gifs
- /all/count for a count of all cat gifs
- /all/show to show all cat gifs. May be slow!
This is released under the Kitty License. If you like this code you should scratch your nearest cat.