https://github.com/lepture/github-cards
The unofficial GitHub Cards. Card for your GitHub profile, card for your GitHub repositories.
https://github.com/lepture/github-cards
Last synced: about 2 months ago
JSON representation
The unofficial GitHub Cards. Card for your GitHub profile, card for your GitHub repositories.
- Host: GitHub
- URL: https://github.com/lepture/github-cards
- Owner: lepture
- License: bsd-3-clause
- Created: 2013-10-13T13:59:31.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2025-02-10T11:29:05.000Z (4 months ago)
- Last Synced: 2025-04-15T01:53:57.467Z (about 2 months ago)
- Language: HTML
- Homepage: https://lab.lepture.com/github-cards/
- Size: 123 KB
- Stars: 2,138
- Watchers: 29
- Forks: 147
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hexo-plugins - github-cards
README
# Unofficial GitHub Cards
Card for your GitHub profile, card for your GitHub repositories.
[](https://typlog.com/donate?amount=10&reason=lepture%2Fgithub-cards)

**New theme available**

## Usage
The cards are hosted via GitHub Pages.
Visit card generator: http://lab.lepture.com/github-cards/
### widget.js
You can include the `widget.js` script, it will create the embed iframes
for you.Example of user card:
```html
```
Example of repo card:
```html
```
Data parameters:
- user: GitHub username
- repo: GitHub repository name
- width: Embed width you want, default is 400
- height: Embed height you want, default is 200
- theme: GitHub card theme, default is `default`
- target: If you want to open links in new tab, set it to `blank`
- client_id: Your app client_id, optional
- client_secret: Your app client_secret, optionalYou can also define in meta tags:
```html
```
## Limitation
There are some limitations for github cards.
1. GitHub API rate limitation
2. No interaction. You can't actually follow someone## SSL support
GitHub Cards is available on jsdelivr now. Use widget hosted on jsdelivr:
```html
```
## Contribution
This project is under the BSD License.