https://github.com/smuyyh/GitHubWidgets
GitHub html widget, include User Widget、Repo Widget and Activity Widget.
https://github.com/smuyyh/GitHubWidgets
github github-html-widget gua-jian javascript weibo
Last synced: 4 months ago
JSON representation
GitHub html widget, include User Widget、Repo Widget and Activity Widget.
- Host: GitHub
- URL: https://github.com/smuyyh/GitHubWidgets
- Owner: smuyyh
- License: apache-2.0
- Created: 2016-08-28T07:03:40.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-10T07:46:12.000Z (over 8 years ago)
- Last Synced: 2025-04-26T03:44:50.061Z (6 months ago)
- Topics: github, github-html-widget, gua-jian, javascript, weibo
- Language: JavaScript
- Homepage: http://blog.csdn.net/yyh352091626
- Size: 1.27 MB
- Stars: 18
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - smuyyh/GitHubWidgets - GitHub html widget, include User Widget、Repo Widget and Activity Widget. (JavaScript)
README
# GitHubWidgets
GitHub html widget, include User Widget、Repo Widget and Activity Widget.
## Priview
### User Widget

## Repo Widget

## Activity Widget

## How to use
- User Widget
Copy and paste this code in your HTML body, replacing “data-username” with your GitHub username
```xml
```
- Repo Widget
Copy and paste this code in your HTML body, replacing “data-repo” with your GitHub username/reponame
```xml
```
or
```xml
var git_name ="/smuyyh/IncrementallyUpdate"
```
- Activity Widget
Copy and paste link in your HTML head, and div/script in your HTML body, replacing “username” with your GitHub username
```xml
$(function(){
$('#widget-container').activity({
username: 'smuyyh'
});
});
```
## 为博客添加GitHub挂件(以CSDN博客为例)
管理博客 -> 博客栏目 -> 添加栏目
```xml
```

### 效果