GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” GitHub - TechQuanta/github-avatar-frame-api: Design ๐Ÿฆ‘your avatar for readme with out API & CLI ๐Ÿ’ป ! [ https://frame-avatars.vercel.app ]

BranchesTags
Open more actions menu

Latest commit

 

History

192 Commits
192 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/ISSUE_TEMPLATE
.github/ISSUE_TEMPLATE
 
 
api
api
 
 
cli
cli
 
 
client
client
 
 
public
public
 
 
tests
tests
 
 
.all-contributorsrc
.all-contributorsrc
 
 
.gitignore
.gitignore
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
CUSTOMIZATION_FEATURES.md
CUSTOMIZATION_FEATURES.md
 
 
LICENSE
LICENSE
 
 
QUICK_PUSH_COMMANDS.md
QUICK_PUSH_COMMANDS.md
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
TODO.md
TODO.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
pnpm-lock.yaml
pnpm-lock.yaml
 
 
pnpm-workspace.yaml
pnpm-workspace.yaml
 
 
render.yml
render.yml
 
 
test.png
test.png
 
 
test_combined.png
test_combined.png
 
 
test_download.jpg
test_download.jpg
 
 
test_download.png
test_download.png
 
 
test_download.svg
test_download.svg
 
 
test_emojis.png
test_emojis.png
 
 
test_text.png
test_text.png
 
 
test_with_text.png
test_with_text.png
 
 
tsconfig.server.json
tsconfig.server.json
 
 

Repository files navigation

Frame Your Profile


A free and open-source API to frame your GitHub avatar using creative themes. Perfect for README files, portfolios, or social media.

๐ŸŒ Live API: https://github-avatar-frame-api.onrender.com


๐Ÿงช Live Examples by Theme


๐Ÿ’ป CLI Usage

The GitHub Avatar Frame API comes with a command-line interface (CLI) for easy avatar generation directly from your terminal. Perfect for developers who prefer working in code editors and terminals.

๐Ÿš€ Installation

Option 1: Install globally from npm

npm install -g github-avatar-frame-cli

Option 2: Use locally (from project root)

# Build the CLI
npm run build:cli

Use the CLI

npm run cli -- <command>

๐Ÿ“– Usage

Generate an avatar:

github-avatar-frame generate <username> [options]

Examples:

# Basic usage
github-avatar-frame generate octocat

# With custom theme and size
github-avatar-frame generate octocat --theme flamingo --size 512

# With text overlay
github-avatar-frame generate octocat --text "GitHub User" --text-color "#ff0000"

# With emojis
github-avatar-frame generate octocat --emojis "๐Ÿš€,๐Ÿ’ป,๐Ÿ”ฅ" --emoji-position corners

# Save to custom file
github-avatar-frame generate octocat --output my-avatar.png

# Export a transparent SVG
github-avatar-frame generate octocat --format svg --canvas transparent --output octocat-frame

# Use local API server
github-avatar-frame generate octocat --url http://localhost:3001

โš™๏ธ CLI Options

Option Default Description
--theme, -tbaseFrame theme (base, classic, darkmode, eternity, flamingo, gitblaze, gravityspace, hotfire, macros, minimal, neon, ocean, starry)
--size, -s256Avatar size in pixels (64-1024)
--canvas, -clightBackground color (light, dark, transparent)
--shape, -shcircleAvatar shape (circle, rounded, rect)
--radius, -r25Corner radius for rounded/rect shape
--format, -fpngOutput format (png, jpg, svg)
--text, -txnoneCustom text to display
--text-color, -tc#ffffffText color in HEX format
--text-size, -ts20Text size in pixels (8-100)
--text-position, -tpbottomText position (top, bottom, center)
--emojis, -enoneComma-separated list of emojis
--emoji-size, -es40Emoji size in pixels (16-120)
--emoji-position, -eptopEmoji position (top, bottom, corners)
--output, -oavatar.pngOutput file path
--url, -uhttps://github-avatar-frame-api.onrender.comAPI base URL

๐Ÿ“‹ Other Commands

# List available themes
github-avatar-frame themes

# Show API documentation links
github-avatar-frame docs

# Show API information
github-avatar-frame info

# Show help
github-avatar-frame --help

๐Ÿค– AI-Powered Frame Suggestions

The CLI also supports AI-powered frame suggestions that analyze your GitHub profile and recommend the perfect theme:

# Get AI-powered frame suggestion
github-avatar-frame suggest <username>

# Example
github-avatar-frame suggest octocat
https://github-avatar-frame-api.onrender.com/api/framed-avatar/{username}?theme={theme}&size={size}&canvas={canvas}&shape={shape}&radius={radius}

๐Ÿ“š API Docs & Local Development

Resource URL / Command Notes
Swagger API docs /api-docs Interactive endpoint docs served by the API app.
Health check /api/health Quick uptime check for deployments and local dev.
Theme list /api/themes Returns every frame theme with metadata.
Local API npm run build && npm start Starts the compiled Express server on port 3001 by default.
Local client cd client && npm run dev Starts the Vite UI for interactive editing.

โœ… Testing

Run these checks before opening a pull request:

# Server helper/API unit tests
npm test

# TypeScript server build
npm run build

# CLI TypeScript build
npm run build:cli

# Client lint and production build
cd client && npm run lint && npm run build

๐Ÿงฎ Query Parameters:

Parameter Type Default Description Example
usernamestringrequiredGitHub usernameoctocat
themestringbaseFrame theme (eternity, base, flamingo)flamingo
sizeinteger256Avatar size in px (64โ€“1024)300
canvasstringlightBackground color of avatar canvas: light / darkdark
shapestringcircleAvatar shape: circle or roundedrounded
radiusinteger25Corner radius for rounded shape in px50
textstringoptionalCustom text to display on avatarHello World
textColorstring#ffffffColor of text in HEX format#ff0000
textSizeinteger20Size of text in pixels (8-100)24
textPositionstringbottomPosition of text: top / bottom / centertop
emojisstringoptionalComma-separated list of emojis๐Ÿš€,๐Ÿ’ป,๐Ÿ”ฅ
emojiSizeinteger40Size of emojis in pixels (16-120)30
emojiPositionstringtopPosition of emojis: top / bottom / cornerscorners

๐Ÿ“Œ Example with text and emojis:

https://github-avatar-frame-api.onrender.com/api/framed-avatar/octocat?theme=base&text=GitHub%20User&textColor=%23ffffff&textSize=20&textPosition=bottom&emojis=%F0%9F%9A%80%2C%F0%9F%92%BB%2C%F0%9F%94%A5&emojiSize=30&emojiPosition=top
Canvas Shape Radius Example URL Preview
light circle - URL
dark circle - URL
light rounded 20 URL
dark rounded 50 URL

๐Ÿ“ฅ Embed in README

![My Avatar](https://github-avatar-frame-api.onrender.com/api/framed-avatar/your-username?theme=flamingo&size=256&canvas=dark&shape=rounded&radius=20)

๐Ÿ”ง Development Issues: ๐Ÿงฐ Installation problems

npm cache clean --force rm -rf node_modules package-lock.json npm install

๐Ÿ”Œ Port conflicts ๐Ÿ”Ž Check if port 3000 is in use netstat -ano | findstr :3000 Kill process or change port in server config

About

Design ๐Ÿฆ‘your avatar for readme with out API & CLI ๐Ÿ’ป ! [ https://frame-avatars.vercel.app ]

frame-avatars.vercel.app

Topics

express-jsnodereactreadmesharptypescript

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

12 stars

Watchers

1 watching

Forks

34 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.