docs

git clone https://github.com/notamitgamer/docs.git
· rebuilt hourlyOpen on GitHub
root / git-mirror / index.mdx

index.mdx (1304B)


      1 ---
      2 title: "Git Mirror Site Generator"
      3 sidebarTitle: "Git Mirror"
      4 ---
      5 
      6 import Copyright from "/snippets/copyright.mdx";
      7 
      8 An automated setup that generates a fast, static HTML mirror of your public GitHub repositories, using [`stagit`](https://codemadness.org/stagit.html) and GitHub Actions.
      9 
     10 Instead of hitting the GitHub UI, this gives you a lightweight, self-hosted browsing experience for your repos — plain HTML, no JavaScript framework, no tracking, and fast to load.
     11 
     12 ## What it generates
     13 
     14 For each public repo, the build produces:
     15 
     16 - Standard `stagit` pages — **Log**, **Files**, **Refs**, plus **README**/**LICENSE** when present
     17 - An added **Activity** page — clone URL, GitHub link, last commit, repo size, and a small commit-activity graph (SVG, dependency-free)
     18 - A recursive, collapsible **folder tree** injected into `files.html` (with hash-based deep links to specific folders)
     19 - Breadcrumb navigation on every individual file page
     20 - A central `stagit-index` landing page listing all mirrored repos
     21 - `sitemap.xml`, a styled `404.html`, and a build-info footer on every page (commit hash, build time, source)
     22 
     23 ## Get started
     24 
     25 - [How to Fork & Deploy](/git-mirror/deploy)
     26 - [Customization](/git-mirror/customization)
     27 - [How the Build Works](/git-mirror/build-process)
     28 
     29 <Copyright />