GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ldct/libgit2.js: libgit2 compiled to js

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

4,823 Commits
4,823 Commits

Folders and files

NameName
Last commit message
Last commit date
deps
deps
 
 
docs
docs
 
 
examples
examples
 
 
include
include
 
 
packaging/rpm
packaging/rpm
 
 
src
src
 
 
tests-clar
tests-clar
 
 
web
web
 
 
.HEADER
.HEADER
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.mailmap
.mailmap
 
 
.travis.yml
.travis.yml
 
 
AUTHORS
AUTHORS
 
 
CMakeLists.txt
CMakeLists.txt
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
CONVENTIONS.md
CONVENTIONS.md
 
 
COPYING
COPYING
 
 
Makefile.embed
Makefile.embed
 
 
README.md
README.md
 
 
api.docurium
api.docurium
 
 
git.git-authors
git.git-authors
 
 
interact.js
interact.js
 
 
libgit2-js-ss.png
libgit2-js-ss.png
 
 
libgit2.pc.in
libgit2.pc.in
 
 
libgit2_clar.supp
libgit2_clar.supp
 
 

Repository files navigation

libgit2.js - real git in your browser

Welcome to libgit2.js!

screenshot

libgit2.js is a port of the libgit2 library (http://libgit2.github.com) to javascript.

I used the emscripten C-to-javascript compiler to compile libgit to javascript.

Dependencies

Much thanks to the following projects

  • libgit2 http://libgit2.github.com/
  • emscripten https://github.com/kripken/emscripten/wiki
  • dagre https://github.com/cpettitt/dagre

Features

Here are the features currently supported by libgit2.js. Help us make it better!

  • Interact with the filesystem via a simple shell; ls, cd, cat, echo, touch, etc

  • Rudimentary gui filesystem explorer

  • Create git repository

  • git log

  • git show-ref

  • git ls-files

  • git add

  • git commit

  • git checkout

  • git branch

I'd particularly like to know if there's a js library that would be suited for parsing the git commands.

Building

libgit.js is built using a custom CMakeLists.txt file that replaces gcc and related tools with the drop-in replacements provided by emscripten. Check out the interact.js file for the commands to use it.

Before building, replace this line

set(EMSCRIPTEN_ROOT_PATH "/home/xuanji/tools/emscripten")

in CMakeLists.txt with the path to your emscripten. Also make sure your emscripten supports compressing downloads (https://github.com/kripken/emscripten/wiki/Compressing-Downloads)

About

libgit2 compiled to js

Resources

Readme
License

Contributing

Contributing
Activity

Stars

13 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.