acoard / undrawcdn

A CDN/API service for Undraw, the MIT-licensed illustrations by Katerina Limpitsouni

Home Page:https://undraw.oswaldlabs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Undraw CDN

A CDN/API service for Undraw, the MIT-licensed illustrations by Katerina Limpitsouni.

Hosted by Heroku, CDN by CloudFlare, running on the Oswald Labs Platform.

API

Visiting the / endpoint will return a list of all available illustrations:

{
  "illustrations": [
    "startled.svg",
    "site-stats.svg",
    "add-to-cart.svg",
    "confirmation.svg",
    "fatherhood.svg",
    "dashboard.svg",
    "..."

Illustrations

And then you can request any of the files, like this:

<img src="https://undraw.oswaldlabs.com/startled.svg">

And color them to your choice like this by specifying the hex color of the color (without the hash) before the image:

<img src="https://undraw.oswaldlabs.com/1abc9c/startled.svg">

You can also specify the CSS color name instead of hex code, if you prefer:

<img src="https://undraw.oswaldlabs.com/purple/gifts.svg">

License

All illustrations are created by Katerina Limpitsouni, released under the MIT License (https://undraw.co/license), just like this service.

Privacy

This service doesn't track you. It runs on Heroku and is hosted in Europe. __cfduid is a cookie used by CloudFlare for security that doesn't collect any identifyable information.

About

A CDN/API service for Undraw, the MIT-licensed illustrations by Katerina Limpitsouni

https://undraw.oswaldlabs.com

License:MIT License


Languages

Language:JavaScript 100.0%