pgit transforms any Git repository into a private, offline, browsable static website, providing a configurable GitHub-like code view for enhanced project exploration without external dependencies.
- Purpose: Creates a static, browsable website from a Git repository for private, offline access or custom hosting.
- Functionality: Renders repository contents, including files, commit history, and code changes, similar to GitHub's "Code" tab.
- Features: Offers syntax-highlighted code and customizable themes for improved readability.
- Generation: Acts as a static site generator, producing HTML files that can be viewed locally or hosted on any static web server.
- Installation: Requires building from source using standard Git and Make commands to generate an executable binary.
- Usage: Running the tool creates a `public` directory containing the generated static HTML files for browsing.