Visit the following endpoint URL for all available cards and their respective options:
https://afraid-ninnetta-github-cards.koyeb.app/
You can embed one of the available cards in your README using either Markdown OR HTML:
<!-- Markdown -->
![Card](https://afraid-ninnetta-github-cards.koyeb.app/any_card_name)
<!-- HTML -->
<img src="https://afraid-ninnetta-github-cards.koyeb.app/any_card_name" alt="Card" />
Here is a list of cards that can currently be used:
Available Cards | Example |
---|---|
jokes-card |
![Card](https://afraid-ninnetta-github-cards.koyeb.app/jokes-card?theme=dark) |
programming-quotes-card |
![Card](https://afraid-ninnetta-github-cards.koyeb.app/programming-quotes-card) |
motivational-quotes-card |
![Card](https://afraid-ninnetta-github-cards.koyeb.app/motivational-quotes-card) |
word-of-the-day-card |
![Card](https://afraid-ninnetta-github-cards.koyeb.app/word-of-the-day-card) |
challenge-of-the-week-card |
![Card](https://afraid-ninnetta-github-cards.koyeb.app/challenge-of-the-week-card) |
team-work-quote-card |
![Card](https://afraid-ninnetta-github-cards.koyeb.app/team-work-quote-card) |
bhagavad-geeta-card |
![Card](https://afraid-ninnetta-github-cards.koyeb.app/bhagavad-geeta-card) |
random-card |
![Card](https://afraid-ninnetta-github-cards.koyeb.app/random-card) |
programming-facts-card |
![Card](https://afraid-ninnetta-github-cards.koyeb.app/programming-facts-card?theme=dark) |
top-tweets-card |
![Card](https://afraid-ninnetta-github-cards.koyeb.app/top-tweets-card) |
spanish-quote-card |
![Card](https://afraid-ninnetta-github-cards.koyeb.app/spanish-quote-card?theme=dark) |
fun-fact-card |
![Card](https://afraid-ninnetta-github-cards.koyeb.app/fun-fact-card?theme=dark) |
github-facts-card |
![Card](https://afraid-ninnetta-github-cards.koyeb.app/github-facts-card?theme=dark) |
random-facts-card |
![Card](https://afraid-ninnetta-github-cards.koyeb.app/random-facts-card?theme=dark) |
harry-potter-spell-card |
![Card](https://afraid-ninnetta-github-cards.koyeb.app/harry-potter-spell-card?theme=dark) |
breaking-bad-quote-card |
![Card](https://afraid-ninnetta-github-cards.koyeb.app/breaking-bad-quote-card?theme=dark) |
got-quotes-card |
![Card](https://afraid-ninnetta-github-cards.koyeb.app/got-quotes-card?theme=dark) |
security-tips-card |
![Card](https://afraid-ninnetta-github-cards.koyeb.app/security-tips-card?theme=dark) |
french-word-of-the-day-card |
![Card](https://afraid-ninnetta-github-cards.koyeb.app/french-word-of-the-day-card) |
travel-destinations-card |
![Card](https://afraid-ninnetta-github-cards.koyeb.app/travel-destinations-card?theme=dark) |
health-tip-card |
![Card](https://afraid-ninnetta-github-cards.koyeb.app/health-tip-card?theme=dark) |
You can customize the appearance of the cards by selecting one of the following themes:
light
dark
dark_2
rgb
lemonade
pattern_1
pattern_2
pattern_3
random
- A random theme from those listed above will be appliedcustom
- You may set your own custom arguments
techy
neon_horizon
- (More coming soon...)
If you choose the custom
theme, you can configure the card with the following arguments:
args: {
card_color: "Card color. Default: #ffffff [Optional]",
font_color: "Card text color. Default: #000000 [Optional]",
bg_color: "Card Background color. Default: #fff [Optional]",
shadow: "Card shadow. Default: false [Optional]",
shadow_color: "Card shadow color. Default: #000000 [Optional]",
},
- Fork this repository.
- Add your card in the
src/cards
directory. You can refer to the existing cards for guidance. - If your card needs data, add a file inside the
data
directory (supported languages: English and Hindi). - Add a route for your card in the
index.js
file. - Update the
src/help.js
file and theREADME
with your new card's API reference. - Create a pull request.
- Ensure your data file has at least around 100 entries.
You can also create cards in HTML and CSS! Check out the src/cards/motivational-quote.js
file to see how cards are generated with unique styles using HTML and Satori. Refer to the official Satori documentation here for supported CSS properties.
- Fork this repository.
- If you want to add a gradient background, add your gradient code in
src/gradients.js
(refer to the existing gradients). - Add your theme name to the
src/themes.js
file, placing it second-to-last in the array and ensuring the name is unique. - Define your theme in
src/themes.js
(refer to existing themes for structure). - Update the
src/help.js
file and theREADME
with your new theme's API reference.
- Ensure your code is properly formatted and follows the existing code style.
- Ensure your code is well-commented and tested before creating a pull request.
- Ensure your card/theme is unique and not a duplicate of an existing card/theme.
- Ensure your card/theme is not offensive or inappropriate.
- Do not commit package-lock.json, yarn.lock, package.json, or any other unnecessary files.
For more information, visit https://afraid-ninnetta-github-cards.koyeb.app/.