百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
G

github-js

> 开发工具
开源

通过 JavaScript 插件调用 GitHub API。

194 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

通过 JavaScript 插件调用 GitHub API。

Github.js

Github.js is a JavaScript plugin over GitHub APIs v3. It gives an easy way to feature your GitHub open-source contributions on your website or portfolio.

Demo

Click here for live examples.

#Dependency

The plugin has hard dependency on underscore.js(~v1.6.0). You can download it from here.

Installation

Add github.js and github.css to your project. Download v0.1.3.

xml

// Add underscore.js 

Github.js is available via bower and npm.

$ bower install --save githubjs
$ npm install --save githubjs

Usage

User Profile

javascript
Github.userProfile({
  username: "jashkenas",
  selector: ".user-1"
});

User Activity

javascript
Github.userActivity({
  username: "torvalds",
  selector: ".user-2"
});

Repository Profile

javascript
Github.repoProfile({
  username: 'atom',
  reponame: 'atom',
  selector: '.repo-1'
});

Repository Activity

javascript
Github.repoActivity({
  username: 'joyent',
  reponame: 'node',
  selector: '.repo-2'
});

Organization Profile

javascript
Github.orgProfile({
 orgname: 'facebook',
 selector: '.org-1'
});

Organization Activity

javascript
Github.orgActivity({
 orgname: 'google',
 selector: '.org-2'
});

Documentation

  • Complete Documentation
  • Annotated Source Code

Contribute

To start contributing to Github.js, clone the repository and start playing.

$ git clone [email protected]:akshaykumar6/github-js.git
$ cd github-js

If you're not familiar with Git, visit the Git homepage to download Git for your platform.

Got a bug or a feature request? Please open a new issue.

License

github-js © 2015, Akshay Sharma Released under the MIT License.

Authored and maintained by Akshay Sharma.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScriptgithub-jsgithub-widgetjavascriptjavascript-plugin

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类开发工具
定价开源

> 相关工具

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具