An open API service indexing awesome lists of open source software.

https://github.com/wizardjedi/php-git

Attempt to create viewer for Git repository in pure php
https://github.com/wizardjedi/php-git

Last synced: about 2 months ago
JSON representation

Attempt to create viewer for Git repository in pure php

Awesome Lists containing this project

README

        

# php-git

Attempt to create viewer for Git repository in pure php

# Sample

```
php -S 0.0.0.0:1234 -t web
```

Run your browser and navigate to http://127.0.0.1:1234/test.php

# Working with repo

Clone repo from `data/test-prj` to any dir, make some commits and view on page: http://127.0.0.1:1234/test.php

# Useful links

* http://stackoverflow.com/questions/9478023/is-the-git-binary-diff-algorithm-delta-storage-standardized Pack files
* http://stefan.saasen.me/articles/git-clone-in-haskell-from-the-bottom-up/ Git in haskell
* https://bitbucket.org/ssaasen/git/src/master/Documentation/technical/pack-format.txt Pack file format from Git docs
* https://git-scm.com/book/en/v2/Git-Internals-Git-Objects git objects
* https://github.com/gitster/git/blob/master/Documentation/technical/pack-protocol.txt
* http://git.rsbx.net/Documents/Git_Data_Formats.txt