Skip to content

iJKTen/github-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Card

A widget to display your GitHub repo on a page.

Example output

GitHub Card is created via web components and in your HTML file you can use it via a custom element

Installation

  1. Clone the repo
  2. Run the command shown below
npm install
  1. Open index.html in a browser which is located in the public folder

How to use

Include the element.js file in your HTML file. The repo attribute needs to be in the format of username/reponame Add a new tag in your HTML like

<github-card repo="ijkten/github-card"></github-card>

You can use it multiple times like

<github-card repo="ijkten/github-card"></github-card>
<github-card repo="ijkten/punions-client"></github-card>

To Do

  1. Handle error cases
  2. Package as an npm module

About

A widget to show off your gitHub repo on a page

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published