Awesome Open Source
Awesome Open Source

🌊 kanye.rest

A free REST API for random Kanye West quotes (Kanye as a Service)

Usage

GET https://api.kanye.rest
{
 "quote" : "I feel like I'm too busy writing history to read it."
}

Development

Created using Cloudflare Workers

  • Create an account
  • Install Wrangler to build

To run locally without changes:

  • ❯ wrangler generate kanyerest https://github.com/ajzbc/kanye.rest (Cloudflare Workers do not allow punctuation)
  • ❯ wrangler preview --watch

To make changes, fork and then:

  • ❯ git clone https://github.com/{username}/kanye.rest
  • ❯ cd kanye.rest
  • ❯ wrangler init kanyerest (Cloudflare Workers do not allow punctuation)
  • ❯ wrangler preview --watch

Todo

  • Cache quotes.json on Cloudflare Edge

License

MIT


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
javascript (68,065
api (1,616
cloudflare (106
random (70
quotes (22

Find Open Source By Browsing 7,000 Topics Across 59 Categories