Giter Club home page Giter Club logo

git2html's Introduction

DESCRIPTION
-----------

git2html is a simple git web interface. Unlike other web interfaces,
git2html does not generate content dynamically: instead of using a CGI
script, it generates static HTML pages.

Generating static HTML pages has advantages and disadvantages.  The
main advantages are that it is more secure and more robust.  It is
more robust in the sense that web server configuration changes are
unlikely to cause the interface to stop working.  Its primary
disadvantage is that because the pages are generated statically, not
all queries can be supported, e.g., diffs between arbitrary revisions.
Despite this seemingly dehabilitating disadvantage, the output is
surprisingly useful.

USAGE
-----

The first time you run git2html, you need to indicate your project's
name (-p), the link for viewers to clone the repository (-l), the
repository to get updates from (-r) and the target directory.

Here is how I configured git2html's viewer directory:

 $ ./git2html.sh \
     -p git2html \
     -l http://hssl.cs.jhu.edu/~neal/git2html.git \
     -r /home/neal/public_html/git2html.git 
     ~/public_html/git2html/src/

Note that this first run will take a fair amount of time.  git2html
tries to be smart and avoids doing a fair amount of redundant work on
subsequent runs.

Subsequent runs only require the target directory (git2html saves the
configuration in the target directory in the .ht_git2html file).

After commiting to git2html's repository, the following command is
run:

 $ ./git2html.sh ~/public_html/git2html/src/

HOMEPAGE
--------

http://hssl.cs.jhu.edu/~neal/git2html/

SOURCE
------

To get the source:

  git clone http://hssl.cs.jhu.edu/~neal/git2html.git

BUG REPORTS
-----------

Send bug reports to Neal H. Walfield <[email protected]>.

git2html's People

Contributors

ams avatar nwalfield avatar

Stargazers

Nicholas avatar  avatar

Watchers

Julien avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.