Skip to content

charmful0x/gitpoap-gh-badge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This repo is a SIMPLE static GitPOAPs badge processor. The server fetch the claimed and unclaimed GitPOAP badge on request.

Build & Run

git pull https://github.com/charmful0x/gitpoap-gh-badge.git

cd gitpoap-gh-badge

npm install .

npm start

API endpoint

1- fetch POAPs by github username

  • GET /badges/:github_username/:badge_size?

The badge_size parameter is optional, the default value is 150 (150 * 150)

Example: https://gitpoap-gh-badge.herokuapp.com/badges/charmful0x

Usage

After hitting the API endpoint with your github username, the server will respond with an HTML code block, copy and paste that code block in your github's profile README repo (username/username repo). Repo Example

example

poap poap

Roadmap

  • dynamic all-in-one badges SVG generator

TechStack

  • GitPOAP API: docs
  • Express

License

This project is licensed under the MIT license