docs

Log | Files | Refs | Activity

root / src / git-mirror / customization.md

customization.md (1016B)


      1 ---
      2 label: Customization
      3 order: 780
      4 ---
      5 
      6 # Customization
      7 
      8 ## Filter repositories
      9 
     10 Open `build.sh` and find the `gh repo list` command. The `select` statement controls which repos are excluded — by default it skips `git-mirror`, `register`, and `osma`:
     11 
     12 ```bash
     13 REPOS_JSON=$(gh repo list "$USERNAME" --visibility=public --limit 100 --json name,description -q '.[] | select(.name != "git-mirror" and .name != "register" and .name != "osma")')
     14 ```
     15 
     16 Edit the `select` conditions to hide forks or other specific project names.
     17 
     18 ## Styling & assets
     19 
     20 Replace or edit the files inside `assets/`:
     21 
     22 - `style.css`
     23 - `logo.png`
     24 - `favicon.png`
     25 
     26 These get copied into the site root and into every generated repo subfolder during the build.
     27 
     28 ## Custom domain
     29 
     30 If you're using a custom domain, create a file named `CNAME` in the repository root containing your domain name. The build script automatically copies it to the site output and uses it to build `sitemap.xml` URLs.
     31 
     32 Continue to [How the Build Works](build-process.md).
© notamitgamer • Site Built: 2026-09-05 01:53:16 UTC • git-mirror commit: c170d72 [view raw info]
Originally created with stagit • modified by notamitgamer
Forked from github.com/notamitgamer/git-mirror