danlucraft / git.js Goto Github PK
View Code? Open in Web Editor NEWpure-Javascript Git implementation
Home Page: http://danlucraft.com/
License: MIT License
pure-Javascript Git implementation
Home Page: http://danlucraft.com/
License: MIT License
http://fooo.fr/~vjeux/nodejs/git.js/demos/repo-viewer/index.html
I tried to test the demo but it doesn't work because it gets files in absolute fashion:
GET http://fooo.fr/git.min.js 404 (Not Found)
instead of
http://fooo.fr/~vjeux/nodejs/git.js/lib/git.min.js
Also, the following suggestion would be kickass http://functionsource.com/post/git-js
When I try to use
$ rake demo
I get
~/test/node/git.js$ rake demo --trace
(in /home/ps0ke/test/node/git.js)
** Invoke demo (first_time)
** Invoke package_client (first_time)
** Execute package_client
packaged lib/git.min.js
** Execute demo
rake aborted!
No such file or directory - thin -R demos/config.ru -p 9292 start
/home/ps0ke/test/node/git.js/Rakefile:33:in `exec'
/home/ps0ke/test/node/git.js/Rakefile:33
/usr/lib/ruby/1.8/rake.rb:636:in `call'
/usr/lib/ruby/1.8/rake.rb:636:in `execute'
/usr/lib/ruby/1.8/rake.rb:631:in `each'
/usr/lib/ruby/1.8/rake.rb:631:in `execute'
/usr/lib/ruby/1.8/rake.rb:597:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:583:in `invoke'
/usr/lib/ruby/1.8/rake.rb:2051:in `invoke_task'
/usr/lib/ruby/1.8/rake.rb:2029:in `top_level'
/usr/lib/ruby/1.8/rake.rb:2029:in `each'
/usr/lib/ruby/1.8/rake.rb:2029:in `top_level'
/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:2023:in `top_level'
/usr/lib/ruby/1.8/rake.rb:2001:in `run'
/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:1998:in `run'
/usr/bin/rake:28
I just fetched your repo and so I am for sure on the latest version. I double checked it: demos/config.ru
exists!
Could you also write a shot 'How-To' about the usage with node.js
, because I don't have any experience with node.js
?
npm install
can pick them all up.)It may be worthwhile to check out requirejs or browserify to be able to use exactly the same patterns in both the browser and Node.
Are you still working on this or have you abandoned the idea?
Any plans for supporting a backend that uses the HTML5 filesystem API? Or possibly even local storage somehow? I think this would be very useful, for example to give web apps a git-backed revision system.
Would love to help out with this project somehow, although I am very new to js and not too familiar with git internals.
Eric
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.