# gohugoio/hugo

> Hugo is a static site generator written in Go, built for creating sites such as blogs, documentation sites, image portfolios, landing pages and resumes. It takes content and templates and renders them into a complete site of static files. Its main language is Go, and it also includes asset pipelines for CSS, Sass, JavaScript, Tailwind CSS and images.

Source: https://github.com/gohugoio/hugo
Indexed: commit a05736c on 2026-08-19 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Type: App
- Language: Go
- Stars: 90,418 at index time
- License: Apache-2.0
- Code health: 6.8/10, Fair
- Last commit: 2026-08-19
- Contributors: 916

## How it works

Input enters through the command layer, where commands/server.go is an entry point that starts the embedded web server used during development. hugolib/site.go holds the central site-building code that reads content and configuration and assembles the pages. The tpl directory contains the templating system that turns those pages into HTML using templates. The resources directory handles asset processing, including image handling such as resources/images/config.go, which covers conversion and other image operations. The markup directory contains code for content markup formats, and the output of the build is the static site files.

- commands/server.go: entry point
- create/skeletons/theme/assets/js/main.js: entry point
- docs/assets/js/main.js: entry point
- internal/warpc/genjs/main.go: entry point
- livereload/gen/main.go: entry point
Modules: docs, tpl, resources, hugolib, common, markup, internal, hugofs. 2,110 files, 240,153 lines, 11,448 symbols.

## Code health

- Score: 6.8/10 (Fair)
- Trend: 6.6 on 2026-06-05, 7.6 on 2026-08-19
- Rank: #138 of 4,000+ indexed repos
- Hotspots: hugolib/page_test.go, tpl/css/build_integration_test.go, resources/images/config.go, hugolib/site.go, common/hugo/version_current.go
- Lowest file: tpl/tplimpl/templatestore.go
- Dead code: 110 findings

## Maintenance

- Last commit 2026-08-19, first commit 2013-07-04, 9,888 commits
- 916 contributors, bus factor 1

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/gohugoio/hugo/security

## More

- Page: https://repowise.dev/repo/gohugoio/hugo
- Ask this codebase: https://repowise.dev/repo/gohugoio/hugo/chat
- Docs: https://repowise.dev/repo/gohugoio/hugo/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/gohugoio/hugo
