Github Banner Generator
✨Usage

🎏 example banner

⚡ Note: Use %20 for space between words Example : Github Banner -> Github%20Banner
🌌 Request query
title
[required] : title of the project
subtitle
[optional] : short description
theme
[optional]: theme name
🌈 Custom theme
You are welcome to create your own theme and submit them to the repo.
Creating custom theme :
- Clone the repo
- Copy the default theme
- Rename the folder to your-theme-name and edit the index.json file
{
"name":"your-theme-name",
"version":1,
"backgroundImage":"bg.png",
"backgroundColor":"#fffff",
"primaryColor":"#000000",
"secondaryColor":"#00000",
"textAlign":"center",
"fontFamily":"Roboto",
"fontPath":"roboto.ttf"
}
⚡ Note: Make sure your theme name is unique, Banner background image size should be 1280px x 520px
Testing your theme :
-
npm i
to install all the dependencies -
npm run dev
to start the express server -
open your browser and visit
http://localhost:3000/api/v1?theme=your-theme-name
🎉 yay! you just created your first custom theme. Share your theme by creating a pull request.