Skip to content
This repository has been archived by the owner on Aug 3, 2019. It is now read-only.
/ undrawcdn Public archive

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

License

Notifications You must be signed in to change notification settings

AnandChowdhary/undrawcdn

Repository files navigation

Undraw CDN

⚠️ This service has been retired

Undraw illustrations, including all the ones in this repository, were originally MIT licensed. This means that I was free to make this CDN/API service. However, in light of their new license, which makes the illustrations open source but doesn't allow compilation and scraping, I'm retiring this service. See issue #1.

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

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published