Skip to content

C++ wrapper of libgit2 to provide a command-line interface to git for WebAssembly terminals

License

Notifications You must be signed in to change notification settings

SandrineP/git2cpp

 
 

Repository files navigation

git2cpp

This is a C++ wrapper of libgit2 to provide a command-line interface (CLI) to git functionality. The intended use is in WebAssembly in-browser terminals (see cockle and JupyterLite terminal projects) but it can be compiled and used on any POSIX-compliant system.

See overview.md for further details.

Developer's workflow using micromamba to manage the dependencies:

micromamba create -f dev-environment.yml
micromamba activate git2cpp-dev
meson setup build
cd build
meson compile

The git2cpp executable can then be run, e.g. ./git2cpp -v.

The CLI is tested using python. From the top-level directory:

pytest -v

About

C++ wrapper of libgit2 to provide a command-line interface to git for WebAssembly terminals

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 44.3%
  • C++ 36.3%
  • Perl 9.9%
  • Python 8.1%
  • Meson 1.4%