Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

gitmal

> 开发工具
Open source

A static page generator for repos

1.3K stars0 likes0 views
WebsiteGitHub

About

A static page generator for repos

Gitmal

Gitmal is a static page generator for Git repositories. Gitmal generates static HTML pages with files, commits, code highlighting, and markdown rendering.

Installation

bash
go install github.com/antonmedv/gitmal@latest
bash
docker run --rm -v $(pwd):/repo antonmedv/gitmal /repo

Or download prebuilt binary from releases.

Usage

Run gitmal in the repository dir. Gitmal will generate pages in ./output directory.

bash
gitmal .

Run gitmal with --help flag, go get a list of available options.

bash
gitmal --help

Screenshots

Examples

Here are a few examples of repos hosted on my website:

  • git.medv.io/zx/ — github.com/google/zx
  • git.medv.io/zig/ — codeberg.org/ziglang/zig (light theme)
  • git.medv.io/my-badges/ — github.com/my-badges/my-badges

Gitmal on kubernetes repository works as well. Generation on my MacBook Air M2 with --minify and --gzip flags takes around 25 minutes, and the generated files weigh around 2 GB.

Themes

Gitmal supports different code highlighting themes. You can customize the theme with --theme flag.

bash
gitmal --theme github-dark

Documentation

  • How to Self-Host a Git Repository?

License

MIT

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Gogitgostatic-site-generator

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具