The easiest way to get started is to visit our website, where you can customize and preview your card live.
https://github-readme-tech-stack.vercel.app
None of the fields are required. Each query parameter has a default value, which is listed below.
Parameter | Example | Default value | Description |
---|---|---|---|
title | ?title=My%20Title |
My Tech Stack | The title of the card. %20 can be used as a space. |
theme | ?theme=github_dark |
github | The theme of the card. You can browse between the themes here. |
align | ?align=center |
left | The alignment of the badges. (left , center , right ) |
titleAlign | ?align=center |
left | The alignment of the title. (left , center , right ) |
showBorder | ?showBorder=false |
true | Display the border around the card or not. (true , false ) |
hideTitle | ?hideTitle=true |
false | Display the title of the card or not. (true , false ) |
hideBg | ?hideBg=true |
false | If true, sets the background to transparent. (true , false ) |
borderRadius | ?borderRadius=12.5 |
4.5 | Number between 0 and 50. |
fontFamily | ?fontFamily=consolas |
Segoe UI | The font family of the title. If the specified family doesn't exist, the default is used. |
fontSize | ?fontSize=20 |
18 | The size of the title. Accepts a number between 15 and 30. |
fontWeight | ?fontWeight=normal |
semibold | The thickness of the title. (thin , normal , semibold , bold ) |
width | ?width=500 |
495 | The width of the card. Accepts a valid number. |
gap | ?gap=15 |
10 | The gap between the badges. Accepts a number between 0 and 30. |
lineHeight | ?lineHeight=10 |
7 | The gap between the lines. Accepts a number between 0 and 30. |
lineCount | ?lineCount=2 |
1 | The number of lines you want to add to your card. |
line{n} | ?line1=html5,html5,auto |
- | The current line of the badge, where {n} is a number. (1 <= n <= lineCount) |
These cards come with several built-in themes that you can use. You can find them all by clicking here.
If you have a cool new theme in mind, or want to add one for yourself and others, please see #45.
These query parameters allow you to customize a theme.
These parameters only accept valid hexadecimal colors, otherwise they will not be applied. Please use %23
instead of #
.
Warning
If the?theme=
parameter is specified, any of these color adjustments will override the theme values.
Parameter | Example | Description |
---|---|---|
bg | ?bg=%2383324c |
The color of the background. |
border | ?border=%232da7c7 |
The color of the border. |
badge | ?badge=%2383324c |
The color of the badges. |
titleColor | ?titleColor=%232da7c7 |
The color of the title. |
If you're using markdown, you may want to align your cards. There's an easy way to do this with the align attribute:
<img
align="center"
src="https://github-readme-tech-stack.vercel.app/api/cards"
alt="My Tech Stack"
/>
You can use GitHub's new feature to specify whether to display images for light or dark mode users.
<picture>
<source
srcset="
https://github-readme-tech-stack.vercel.app/api/cards?theme=github_dark&lineCount=1&line1=typescript,typescript,auto
"
media="(prefers-color-scheme: dark)"
/>
<source
srcset="
https://github-readme-tech-stack.vercel.app/api/cards?theme=github&lineCount=1&line1=typescript,typescript,auto
"
media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
/>
<img
src="https://github-readme-tech-stack.vercel.app/api/cards?theme=github&lineCount=1&line1=typescript,typescript,auto"
/>
</picture>
We support this using Base64 format. * Here's an easy 3-step guide:
- Download the SVG and use one of the many online tools, e.g. http://b64.io/, to encode it.
- Encode the Base64 string in percent-encoding. Take the Base64 string and use one of the many online tools, e.g. http://meyerweb.com/eric/tools/dencoder/, to encode the string.
- Finally, replace the first element of a badge (the
logoName
) with this string inside the URL. (<Base64>,typescript,2D79C7;
)
If you don't have NodeJS, download and install it.
Then open a terminal and type the following commands:
Backend:
# Clone the project:
git clone https://github.com/0l1v3rr/github-readme-tech-stack.git
cd github-readme-tech-stack
# Install the dependencies:
npm i
npm run prepare
# Run the application:
npm run dev
Frontend:
cd client
# Install the dependencies:
npm i
# Run the application:
npm start
All contributions are welcome.
You can find a contributing guideline here.
This project is released under the MIT License.