// API REFERENCE

API Reference

All ReadmeForge endpoints. Every route accepts GET requests and returns an image/svg+xml response — usable directly as a markdown image URL.

Base URL: readmeforge.natrajx.inRuntime: Vercel EdgeAuth: None required
// OVERVIEW

Request Format

GET https://readmeforge.natrajx.in/api/{component}?param=value&param=value

Response Headers:
  Content-Type: image/svg+xml; charset=utf-8
  Cache-Control: public, max-age=86400
  Access-Control-Allow-Origin: *

Usage in GitHub README:
  ![Alt text](https://readmeforge.natrajx.in/api/banner?text=Hello&metal=gold)

Common Parameters

These parameters are supported by all endpoints:

ParamTypeDefaultDescription
metalstringchromeMetal theme name. Any of the 44 metal values.
colorsstringComma-separated hex colors to override the metal gradient. E.g. #ff0000,#0000ff
anglenumber135Gradient angle in degrees (0–360).
themedark | lightdarkOverall color theme — controls backgrounds and text.
widthnumbervariesSVG width in pixels.
heightnumbervariesSVG height in pixels.
GET/api/banner

Full-width SVG banner with main heading, optional subtitle, and 16 advanced visual styles. No shape or animation params — the visual style IS the full aesthetic experience.

Parameters

ParamTypeDefaultDescription
textstringMain heading text
subtextstringSubtitle / tagline below the heading. Also accepts desc or s.
visualStylestringmetallic16 styles: metallic, glass, neo, cyberpunk, holographic, aurora, neon, minimal, retro, gradient, circuit, plasma, crystalline, void, inferno, matrix
bgstringBackground color override (any CSS color)
textColorstringOverride main text color (hex or CSS)
subtextColorstringOverride subtext color (hex or CSS)
fontFamilystringOrbitronHeading font family
subtextFontstringRajdhaniSubtext font family
fontSizenumberautoHeading font size in px (auto-scaled from height if omitted)
subtextSizenumberautoSubtext font size in px
alignstringcenterText alignment: left | center | right
borderstringnoneBorder style: none | metallic | normal | gradient | glow | double | dashed | animated | neon | circuit
borderColorstringBorder color override
borderWidthnumber2Border width in px
themestringdarkdark | light — controls background and text defaults
widthnumber900Width in px (200–1200)
heightnumber200Height in px (60–500)

Example

# Metallic brushed steel
![Banner](https://readmeforge.natrajx.in/api/banner?text=MY+PROJECT&subtext=Built+with+AI&metal=chrome&visualStyle=metallic&width=900&height=200)

# Deep glassmorphism
![Banner](https://readmeforge.natrajx.in/api/banner?text=PORTFOLIO&subtext=Design+%C2%B7+Code+%C2%B7+Deploy&metal=electric&visualStyle=glass&width=900&height=200)

# Cyberpunk grid with neon border
![Banner](https://readmeforge.natrajx.in/api/banner?text=HACKER+MODE&subtext=Security+%C2%B7+Systems+%C2%B7+Code&metal=neon-green&visualStyle=cyberpunk&border=neon&width=900&height=200)

# Animated holographic foil
![Banner](https://readmeforge.natrajx.in/api/banner?text=OPEN+SOURCE&metal=holographic&visualStyle=holographic&width=900&height=200)

# Aurora borealis
![Banner](https://readmeforge.natrajx.in/api/banner?text=FULL+STACK&subtext=React+%C2%B7+Node+%C2%B7+Cloud&metal=aurora&visualStyle=aurora&width=900&height=220)

# Matrix code rain
![Banner](https://readmeforge.natrajx.in/api/banner?text=THE+MATRIX&subtext=Follow+the+white+rabbit&metal=neon-green&visualStyle=matrix&width=900&height=200)

# Deep space void
![Banner](https://readmeforge.natrajx.in/api/banner?text=VOID+WALKER&metal=neon-blue&visualStyle=void&width=900&height=200)

# Inferno fire
![Banner](https://readmeforge.natrajx.in/api/banner?text=FIRE+STARTER&metal=gold&visualStyle=inferno&width=900&height=200)
GET/api/card

Compact stat card displaying a title and a value. Use for GitHub stats, scores, counters, and key metrics.

Parameters

ParamTypeDefaultDescription
titlestringGitHub StatsCard title label
valuestringMain value displayed prominently
stylestringdefaultDesign style preset
iconstringIcon identifier
widthnumber320Width in px
heightnumber160Height in px

Example

![Stars](https://readmeforge.natrajx.in/api/card?title=GitHub+Stars&value=1.2k&metal=gold&style=hologram)
GET/api/card-neo

Neumorphic (soft 3D) card with layered shadows and raised/inset aesthetics.

Parameters

ParamTypeDefaultDescription
titlestringNeo CardCard title
valuestringCard value
neoThemedark | lightdarkNeumorphic background theme
neoStylestringraisedraised | inset | flat

Example

![Neo Card](https://readmeforge.natrajx.in/api/card-neo?title=Projects&value=12&metal=chrome&neoTheme=dark)
GET/api/card-glass

Glassmorphic card with frosted blur effect, translucent backgrounds, and a light border. Supports live GitHub stat fetching via ?username= — no token required. Add ?linkUrl= to make the card clickable.

Parameters

ParamTypeDefaultDescription
titlestringGlass CardCard title (auto-set when username is provided)
valuestringCard value (auto-fetched from GitHub when username is provided)
subtitlestringSubtitle below the value (auto-set when username is provided)
iconstringIcon symbol (auto-set per stat when username is provided)
glassThemestringdark12 themes: dark, light, aurora, sunset, ocean, midnight, neon, rose, forest, gold, ice, void
stylestringcardcard | pill | panel | chip
blurnumber8Frosted blur intensity (1–20)
tintstringOverride glass tint color (CSS rgba)
usernamestringGitHub username — when set, value is fetched live from the GitHub API
statstringreposWhich GitHub stat to display: repos | stars | followers | forks
linkUrlstringURL to open when the card is clicked (opens in new tab). Use URL-encoded value.
widthnumber220Width in px (120–600)
heightnumber170Height in px (80–400)

Example

# Static card
![Glass Card](https://readmeforge.natrajx.in/api/card-glass?title=Rating&value=5.0&glassTheme=ice)

# Clickable card — opens your GitHub profile
![Repos](https://readmeforge.natrajx.in/api/card-glass?username=torvalds&stat=repos&glassTheme=aurora&linkUrl=https%3A%2F%2Fgithub.com%2Ftorvalds)

# Stars card linking to repo
![Stars](https://readmeforge.natrajx.in/api/card-glass?username=torvalds&stat=stars&glassTheme=gold&linkUrl=https%3A%2F%2Fgithub.com%2Ftorvalds%3Ftab%3Drepositories)

# In README — wrap image in a markdown link for GitHub (SVG onclick blocked by GitHub CSP)
[![Stars](https://readmeforge.natrajx.in/api/card-glass?username=torvalds&stat=stars&glassTheme=gold)](https://github.com/torvalds)
GET/api/button

Metallic SVG button in 16 styles. Wrap in [![label](url)](href) to make it clickable in a README.

Parameters

ParamTypeDefaultDescription
labelstringClick MeButton label text
stylestringmetallic16 styles: metallic, ghost, outline, neon, chrome, gold, pill, sharp, glass, minimal, cyber, retro, gradient, brutalist, 3d, flat
iconstringIcon to prepend to label
widthnumber200Width in px
heightnumber48Height in px

Example

<!-- Clickable button (link wraps the image) -->
[![Deploy](https://readmeforge.natrajx.in/api/button?label=Deploy+Now&metal=neon-green&style=metallic)](https://vercel.com)
GET/api/badge

Two-part label/value badge in 5 shapes. Great for version, status, and tech stack indicators.

Parameters

ParamTypeDefaultDescription
labelstringLabelLeft side label text
valuestringRight side value text
shapestringpillpill | sharp | hex | rounded | flat
valueColorstringOverride the value text color (hex)

Example

![Version](https://readmeforge.natrajx.in/api/badge?label=Version&value=3.0.0&metal=gold&shape=pill)
![Status](https://readmeforge.natrajx.in/api/badge?label=Status&value=Active&metal=neon-green&shape=sharp)
GET/api/header

Full-width profile header with name, title, and optional avatar/logo area.

Parameters

ParamTypeDefaultDescription
namestringYour NameDisplay name
titlestringDeveloperJob title or tagline
avatarstringAvatar image URL
stylestringdefaultDesign style preset
widthnumber800Width in px
heightnumber200Height in px

Example

![Header](https://readmeforge.natrajx.in/api/header?name=John+Doe&title=Full+Stack+Developer&metal=chrome&style=cyber-grid&width=900)
GET/api/divider

Decorative horizontal divider in 6 styles. Use between README sections.

Parameters

ParamTypeDefaultDescription
stylestringwavewave | zigzag | dots | straight | double | gradient
widthnumber800Width in px
heightnumber40Height in px

Example

![Divider](https://readmeforge.natrajx.in/api/divider?style=wave&metal=gold&width=900)
![Divider](https://readmeforge.natrajx.in/api/divider?style=zigzag&metal=neon-blue&width=900)
GET/api/text-anim

Animated SVG text with 20 SMIL-based effects. Animates in GitHub READMEs.

Parameters

ParamTypeDefaultDescription
textstringHello WorldThe text to animate
effectstringtypewritertypewriter | glitch | neon-pulse | wave | matrix-rain | hologram-flicker | cyber-scan | pixel-dissolve | data-stream | lightning | fire | ice | aurora | portal | quantum | gravity-well | sound-wave | dna-helix | constellation | wormhole
sizenumber32Font size in px
widthnumber600Width in px
heightnumber80Height in px

Example

![Typing](https://readmeforge.natrajx.in/api/text-anim?text=Hello+World&effect=typewriter&metal=neon-green&size=36)
![Glitch](https://readmeforge.natrajx.in/api/text-anim?text=SYSTEM+ERROR&effect=glitch&metal=neon-pink&size=40)
GET/api/progress-bar

Single horizontal progress bar with a label and percentage fill.

Parameters

ParamTypeDefaultDescription
skillstringSkillSkill / label name
valuenumber75Percentage fill (0–100)
widthnumber400Width in px
heightnumber40Height in px

Example

![Python](https://readmeforge.natrajx.in/api/progress-bar?skill=Python&value=90&metal=neon-blue&width=400)
GET/api/skill-tree

Multiple stacked skill progress bars in one SVG. Pass all skills in a single param.

Parameters

ParamTypeDefaultDescription
skills*stringComma-separated Name:percent pairs. E.g. Python:90,TypeScript:85,Rust:60
titlestringTech StackSection title above the bars
widthnumber500Width in px

Example

![Skills](https://readmeforge.natrajx.in/api/skill-tree?skills=Python:90,TypeScript:85,Next.js:80,AWS:70&metal=neon-blue&title=Tech+Stack&width=500)
GET/api/terminal

Fake terminal block with a title bar and command output lines. Great for showing setup commands or bio text.

Parameters

ParamTypeDefaultDescription
lines*stringPipe | separated lines. Use colon syntax for prompt: cd ~/projects
titlestringterminalTitle bar text
widthnumber500Width in px

Example

![Terminal](https://readmeforge.natrajx.in/api/terminal?title=~/me&lines=whoami:+fullstack+dev|focus:+AI+%26+web|status:+building+cool+stuff&metal=matrix&width=500)
GET/api/logo-container

Metallic shaped container for a logo, avatar, or initials. 6 shapes available.

Parameters

ParamTypeDefaultDescription
textstringMFInitials/text to show if no src provided
srcstringImage URL for logo/avatar
stylestringhexagonhexagon | shield | circle | diamond | star | rounded-square
sizenumber120Size in px (width and height are equal)
spinbooleanfalseSlow rotation animation
glowbooleantrueGlow filter effect

Example

![Logo](https://readmeforge.natrajx.in/api/logo-container?text=NX&metal=gold&style=hexagon&size=120&glow=true)
GET/api/image-container

Decorative metallic frame around any image. The image is fetched server-side and embedded as base64.

Parameters

ParamTypeDefaultDescription
srcstringPublic image URL to embed inside the frame
framestringmetallicmetallic | glass | polaroid | circuit | hologram | neon-sign
captionstringCaption text below the image
roundedbooleantrueRounded inner corners
widthnumber300Width in px
heightnumber220Height in px

Example

![Screenshot](https://readmeforge.natrajx.in/api/image-container?src=https://your-image.com/shot.png&metal=chrome&frame=metallic&caption=My+Project&width=400)

Response Format

// Success
HTTP 200
Content-Type: image/svg+xml; charset=utf-8
Cache-Control: public, max-age=86400
Access-Control-Allow-Origin: *

<svg xmlns="http://www.w3.org/2000/svg" width="800" height="160" ...>
  ...
</svg>

// Error
HTTP 400
<svg ...><text>Error: ...</text></svg>
API by
NATRAJ-X

AI & IT Engineering Agency — ML pipelines, data engineering, full-stack products.

Work with us →