node-gitteh

Node.js bindings for libgit2

Github星跟踪图

Gitteh

build status npm version Dependency Status devDependency Status

Installation

Gitteh requires node 0.8 or 0.10, CMake 2.6 and gcc. Installation via NPM:

npm install gitteh

What?

Node bindings to the excellent libgit2 C library. Right now, the bindings cover read only access to raw objects (trees/commits/blobs/tags/references), and basic access to remotes (including basic cloning/fetching support).

Gitteh aims to:

  • Be simple and convenient
  • Be as performant as possible - avoids calling into underlying C library as much as possible.
  • Be safe for use in Node's threadpool (read: shouldn't segfault your app)

Why?

There's a few libraries out there that wrap git cli commands, parsing the output and such. This is a perfectly acceptable solution. Node-gitteh provides first-class support to work with a git repository on a low level, and does not require git.git (and its myriad of dependencies) to be installed in the server environment.

The documentation is currently outdated. We're working on a new version currently for the new 0.17.x version of gitteh. The Old pre-0.17.x documentation can be found here. Instead, you should visit examples dir in the repo to see examples of 0.17.x usage.

License

Gitteh is available under the MIT License. See the LICENSE file for more information.

Contributing

Contributions are very welcome. Please feel free to fork this project and hack on it. Go ahead and check out the issues tab to see what needs to be done! Go on! Do it!

Building

git clone https://github.com/libgit2/node-gitteh
cd node-gitteh && npm install

Happy hacking!

主要指标

概览
名称与所有者libgit2/node-gitteh
主编程语言JavaScript
编程语言Python (语言数: 7)
平台
许可证MIT License
所有者活动
创建于2011-03-08 00:43:56
推送于2015-01-20 10:46:07
最后一次提交2015-01-20 10:46:02
发布数9
最新版本名称v0.17.4 (发布于 2014-09-23 21:05:34)
第一版名称v0.0.1 (发布于 2011-03-18 06:58:49)
用户参与
星数431
关注者数10
派生数56
提交数483
已启用问题?
问题数58
打开的问题数16
拉请求数17
打开的拉请求数2
关闭的拉请求数3
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?