App
gohugoio / hugo
The world’s fastest framework for building websites.
Repowise maps public repos from their source. Not affiliated with gohugoio. What is Repowise?
github.com/gohugoio/hugoIndexed at a05736c
What is 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. Its code health is 6.8 out of 10 (Fair), ranked #138 of 4,000+ indexed repos. The last commit to hugo was on Aug 19, 2026, and 916 people have contributed.
As of commit a05736c, indexed Aug 19, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.
For agentshugo.md
Repo facts: type, license, health, rank, contributors
| Type | App |
|---|---|
| License | Apache-2.0 |
| Code health | 6.8 / 10 (Fair) |
| Health rank | #138 of 4,000+ indexed repos |
| Last commit | Aug 19, 2026 |
| Contributors | 916 |
| Bus factor | 1 |
| Size | 2,110 files, 240,153 lines |
Explore hugo
- DocumentationModule-by-module documentation, 1,685 pages.
- ArchitectureDependency graph, layers and third-party dependencies.
- Code healthEvery file's score and the findings behind it.
- CommitsEach commit's effect on code health.
- OverviewEverything else the index found: contributors, decisions, what changed this week.
Ask about this code in your agent
This connects Repowise to hugo's code. It does not install hugo.
Useful if you want to change or fork hugo: your agent can ask how it is put together and get answers that cite its files.
Show the connect command (Claude Code, Cursor, Codex, VS Code)
Run it in a terminal, then type /mcp in Claude Code and sign in with Repowise. No key to paste.
Docsclaude mcp add --transport http repowise https://api.repowise.dev/mcp/gohugoio/hugo
This repo is public, so anyone with a free Repowise account can connect.
Try asking
- get_overview()
- get_answer("how is hugo put together?")
- get_why("why is hugo structured this way?")
Ask about hugo
Answers come from hugo's README and source, with the files they cite. Two free answers a day without an account.
Want this for your own codebase? Map your repo free
About this page
Get a page like this for your own codebase
Repowise built this map of gohugoio/hugo from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.
Free for 2 public repos, with a page like this one. No card. See how Repowise works
Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub
gohugoio/hugo FAQ
What is hugo?
Hugo is a static site generator written in Go. It is used to create sites such as blogs, documentation sites, image portfolios, landing pages and resumes. It renders content and templates into static files.
How does hugo work?
Hugo reads content and configuration, builds the pages in hugolib, and renders them with templates from the tpl directory. Its resources directory processes assets such as CSS, Sass, JavaScript and images. The embedded web server lets you preview changes while you develop.
What language is hugo written in?
Hugo is written in Go. The repository also contains JavaScript, shell scripts, C and Makefile files, with Go as the primary language.
How is the hugo code organized?
Hugo's code is grouped into modules such as docs, tpl, resources, hugolib, common, markup and internal. The hugolib/site.go file holds central site-building logic, and commands/server.go is an entry point for the development server.
Who is hugo for?
Hugo is for people who build corporate, government, nonprofit, education, news, event and project sites, as well as documentation sites, image portfolios, landing pages, blogs and resumes. It suits any of these uses that need a static site.
What license does hugo use?
Hugo uses the Apache-2.0 license. This license is identified as Apache-2.0 in the repository.
Code health
Hotspots average 4.0, the place fixes pay off most.
On the leaderboards:#15 of 26 Go repos
Key features of hugo
- Renders a complete static site from content, templates and configuration.
- Includes an embedded web server that shows changes to content, structure, behavior and presentation during development.
- Provides asset pipelines for CSS, Sass, JavaScript and Tailwind CSS with bundling, minification and SRI hashing.
- Processes images by converting, resizing, cropping, rotating, filtering and extracting metadata.
- Supports multilingual sites, a taxonomy system and Hugo Modules for sharing content, themes and configuration through Git repositories.
How gohugoio/hugo 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.
The codebase has 2,110 files and 11,448 symbols in 38 modules, led by Go, JavaScript and Shell. Code health is 6.8 out of 10, rated fair.
Maintain gohugoio/hugo?
Claim this page, add a badge to the README, or re-index it.
Claim this page
Sign in with GitHub and we check that you are an admin or maintainer of gohugoio/hugo. Then add a badge to the README that links readers here.
Add a badge to your README
Readers click through to this page and can ask hugo's code a question. A badge also re-indexes the repo every week and marks you as the verified maintainer.
[](https://repowise.dev/repo/gohugoio/hugo?src=badge_ask)Paste it at the top of README.md, under the title.
Added it already? Verify to get the mark now instead of tomorrow.
Need HTML or the larger health card? More formatsHide more formats
This badge as HTML
<a href="https://repowise.dev/repo/gohugoio/hugo?src=badge_ask"><img src="https://api.repowise.dev/badge/wiki/gohugoio/hugo.svg?label=ask" alt="repowise: Ask this codebase"></a>Code health card
The score, its change since the last index, and when it was measured. Follows the reader's light or dark theme.
<a href="https://repowise.dev/repo/gohugoio/hugo?src=badge_card"><picture><source media="(prefers-color-scheme: light)" srcset="https://api.repowise.dev/badge/health/gohugoio/hugo.svg?style=card&theme=light"><img src="https://api.repowise.dev/badge/health/gohugoio/hugo.svg?style=card" alt="repowise code health" width="500" height="168"></picture></a>