node-gitteh

Node.js bindings for libgit2

  • Owner: libgit2/node-gitteh
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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!

Main metrics

Overview
Name With Ownerlibgit2/node-gitteh
Primary LanguageJavaScript
Program languagePython (Language Count: 7)
Platform
License:MIT License
所有者活动
Created At2011-03-07 16:43:56
Pushed At2015-01-20 02:46:07
Last Commit At2015-01-20 13:46:02
Release Count9
Last Release Namev0.17.4 (Posted on 2014-09-23 23:05:34)
First Release Namev0.0.1 (Posted on 2011-03-18 08:58:49)
用户参与
Stargazers Count430
Watchers Count12
Fork Count56
Commits Count483
Has Issues Enabled
Issues Count58
Issue Open Count16
Pull Requests Count17
Pull Requests Open Count2
Pull Requests Close Count3
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private