Laosing / cute-cat-avatars

An illustrated cat collection for cat lovers

Home Page:https://cute-cat-avatars.fly.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cute Cat Avatars Build Status

An illustrated cat collection for cat lovers


What is this?

Cute Cat Avatars are colorful cats illustrated by Drew Rattana that can be used as profile picture placeholders for live websites or design mock ups.

How to use

You can easily use these cats in img tags or http requests, the response will be a cat in Content-Type: image/svg+xml. The url to request is https://cute-cat-avatars.fly.dev/api/v1/:seed for example:

HTML

<img
  src="https://cute-cat-avatars.fly.dev/api/v1/announcer"
  alt="Cute announcer cat"
/>

Javascript

fetch("https://cute-cat-avatars.fly.dev/api/v1/cat").then(function (response) {
  document.getElementById("cat").src = response.url
})

Pick your cat

There are multiple ways you can query for a cute cat. The same seed will always return the same cat:

api/v1/:seed
api/v1/12

You can query a specific cat or a string to get a random cat.

/api/v1/announcer
/api/v1/!@#$%

Try them all!

  • announcer
  • support
  • idea
  • bug
  • award
  • news
  • tv
  • comic
  • book
  • art
  • gaming
  • general
  • groups
  • cat

License

MIT

About

An illustrated cat collection for cat lovers

https://cute-cat-avatars.fly.dev/

License:MIT License


Languages

Language:HTML 52.4%Language:JavaScript 27.9%Language:SCSS 19.7%