Introducing GitHub Cards API: A simple way to create beautiful cards with random quotes and jokes
Akansh Sirohi
Posted on October 11, 2023
Do you like to add some humor and inspiration to your GitHub profile or website? Do you want to display some random quotes and jokes with different themes and colors? If you answered yes to any of these questions, then you might be interested in GitHub Cards API, a project that I have been working on. GitHub Cards API is a web service that allows you to generate cards with random quotes and jokes using a simple URL.
How does it work?
GitHub Cards API is based on the idea of GitHub Readme Stats, a popular project that lets you create dynamic and customizable stats cards for your GitHub profile. However, GitHub Cards API is different from stats and offers a variety of card types, such as:
Multiple Quotes Card: Cards that shows a random quote from a famous person or a movie, or some motivational quotes.
Joke Card: A card that shows a random joke from various categories, such as programming, puns, etc.
And lots more...
You can also customize the appearance of the cards, such as the card color, font color, background color, shadow, shadow color, etc.
You can add your own card or theme by contributing in this project which is also registered in the #hacktoberfest2023. This project supports various options for creating your card including card generation from HTML & CSS.
Example Card
How to use
Visit endpoint url for all available cards and available options for each card
Note: If any card or link doesn't work, please be patient and try to open the card again. This project is currently hosted on a free-tier account, so glitches might occur sometimes.