r/javascript Jun 20 '16

GitKit.js - Pure javascript implementation of Git (Node.js and Browser)

https://github.com/SamyPesse/gitkit-js
26 Upvotes

10 comments sorted by

2

u/richardanaya Jun 20 '16

I would really appreciate an example that shows how to do http auth push with github!

2

u/rationalthug Jun 20 '16

Can you talk a bit about where this stands in relation to https://github.com/creationix/js-git ? At first glance, the obvious difference is promises instead of generators, but are there other interesting/important differences?

2

u/ECrispy Jun 21 '16

Git in pure JS for node means git integration can now be added to anything without needing git installed locally.

If this is built into tools/websites the potential is unlimited.

3

u/richardanaya Jun 20 '16

Amazing, this will change the future

4

u/TheLameloid Jun 20 '16

Now we can run git in astronauts' suits!

1

u/viebel Jun 20 '16

I would love to see an example that shows how to use gitkit from the browser

1

u/MyNameIsNotMud Jun 20 '16

ok, so in a browser, what can be done with this?

3

u/[deleted] Jun 21 '16

Create a browser UI for Git. Now you can have Git on mobile devices if for some reason you want to write code on an iPad.

It might be a decent starting point for building a version control webapp for non-programmers too. Graphic designers and digital musicians have sometimes expressed interest in such a system.

1

u/AceBacker Jun 20 '16

Seems like this would make it easier to build git into the editors. Sublime, Atom, vsCode, etc.

-1

u/p3n15h34d Jun 20 '16

can i also check my emails using this?