Skip to main content

One post tagged with "isomorphic-git"

View All Tags

Integrated NodeGit and isomorphic-git

Hidekazu Kubota

Hidekazu Kubota

Creator of GitDocumentDB

Great release!

GitDocumentDB v0.4.3 integrates NodeGit and isomorphic-git by using a plugin system.

git-engines

NodeGit and isomorphic-git are widely known Git implementations for JavaScript/TypeScript. The development of GitDocumentDB started with NodeGit, which has met much need for GitDocumentDB. However, it also causes memory leaks, imperfect documents, and esoteric integration with Electron. These problems are almost derived from libgit2 native code in NodeGit.

isomorphic-git is a pure JavaScript implementation of Git. It's well documented and easy to integrate with Electron. So, I have rewritten all NodeGit code with isomorphic-git code.

Still, NodeGit has the advantage of being able to SSH keys authentication. I have made it available as a remote connection plugin.

Git implementation in GitDocumentDB uses isomorphic-git. If you like, you can use NodeGit for remote connection instead of isomorphic-git.

The plugin system will be ready for another Git implementation in the future.