
{"id":2081,"date":"2026-07-24T17:14:05","date_gmt":"2026-07-24T15:14:05","guid":{"rendered":"https:\/\/www.pcjv.de\/?page_id=2081"},"modified":"2026-07-24T17:14:13","modified_gmt":"2026-07-24T15:14:13","slug":"hercules","status":"publish","type":"page","link":"https:\/\/www.pcjv.de\/?page_id=2081","title":{"rendered":"hercules"},"content":{"rendered":"\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/github.com\/CWBudde\/hercules\" target=\"_blank\" rel=\"noopener\">hercules<\/a> is a tool for fast, insightful and highly customizable Git history analysis: it replays a repository&#8217;s entire commit history in a single pass and extracts analyses from it &mdash; project burndown, code ownership, churn, coupling, bus factor, structural hotness, and more.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">A revival<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The original <a href=\"https:\/\/github.com\/src-d\/hercules\" target=\"_blank\" rel=\"noopener\">src-d\/hercules<\/a> was left behind when the company behind it wound down. My fork brings it back to life: a modernized Go toolchain, working CI, a GitHub Action, analysis presets, caching, and a stream of fixes and new analyses on top of the original engine.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Eating my own dog food<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The plotting side is where my projects converge: charts are rendered through <a href=\"\/?page_id=2080\">matplotlib-go<\/a>, my own plotting library, and <a href=\"https:\/\/github.com\/CWBudde\/labours-go\" target=\"_blank\" rel=\"noopener\">labours-go<\/a> reimplements the original Python companion tool in Go. The chart below is hercules analyzing its own repository &mdash; ten years of history, including the point where the revival begins:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"\/wordpress\/wp-content\/uploads\/hercules-burndown.png\" alt=\"Project burndown chart of the hercules repository, rendered with matplotlib-go\" class=\"wp-image-2062\"\/><figcaption class=\"wp-element-caption\">hercules analyzing itself: project burndown over ten years of history<\/figcaption><\/figure>\n\n\n","protected":false},"excerpt":{"rendered":"<p>hercules is a tool for fast, insightful and highly customizable Git history analysis: it replays a repository&#8217;s entire commit history in a single pass and extracts analyses from it &mdash; project burndown, code ownership, churn, coupling, bus factor, structural hotness, and more. A revival The original src-d\/hercules was left behind when the company behind it [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"parent":2075,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2081","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>hercules - Christian&#039;s private site<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pcjv.de\/?page_id=2081\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.pcjv.de\\\/?page_id=2081\",\"url\":\"https:\\\/\\\/www.pcjv.de\\\/?page_id=2081\",\"name\":\"hercules - Christian&#039;s private site\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pcjv.de\\\/#website\"},\"datePublished\":\"2026-07-24T15:14:05+00:00\",\"dateModified\":\"2026-07-24T15:14:13+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pcjv.de\\\/?page_id=2081#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pcjv.de\\\/?page_id=2081\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.pcjv.de\\\/?page_id=2081#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.pcjv.de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Go Projects\",\"item\":\"https:\\\/\\\/www.pcjv.de\\\/?page_id=2075\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"hercules\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.pcjv.de\\\/#website\",\"url\":\"https:\\\/\\\/www.pcjv.de\\\/\",\"name\":\"Christian&#039;s private site\",\"description\":\"Private site of Christian-W. Budde\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.pcjv.de\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"hercules - Christian&#039;s private site","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.pcjv.de\/?page_id=2081","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.pcjv.de\/?page_id=2081","url":"https:\/\/www.pcjv.de\/?page_id=2081","name":"hercules - Christian&#039;s private site","isPartOf":{"@id":"https:\/\/www.pcjv.de\/#website"},"datePublished":"2026-07-24T15:14:05+00:00","dateModified":"2026-07-24T15:14:13+00:00","breadcrumb":{"@id":"https:\/\/www.pcjv.de\/?page_id=2081#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pcjv.de\/?page_id=2081"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.pcjv.de\/?page_id=2081#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pcjv.de\/"},{"@type":"ListItem","position":2,"name":"Go Projects","item":"https:\/\/www.pcjv.de\/?page_id=2075"},{"@type":"ListItem","position":3,"name":"hercules"}]},{"@type":"WebSite","@id":"https:\/\/www.pcjv.de\/#website","url":"https:\/\/www.pcjv.de\/","name":"Christian&#039;s private site","description":"Private site of Christian-W. Budde","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pcjv.de\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.pcjv.de\/index.php?rest_route=\/wp\/v2\/pages\/2081","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pcjv.de\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.pcjv.de\/index.php?rest_route=\/wp\/v2\/types\/page"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pcjv.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2081"}],"version-history":[{"count":1,"href":"https:\/\/www.pcjv.de\/index.php?rest_route=\/wp\/v2\/pages\/2081\/revisions"}],"predecessor-version":[{"id":2089,"href":"https:\/\/www.pcjv.de\/index.php?rest_route=\/wp\/v2\/pages\/2081\/revisions\/2089"}],"up":[{"embeddable":true,"href":"https:\/\/www.pcjv.de\/index.php?rest_route=\/wp\/v2\/pages\/2075"}],"wp:attachment":[{"href":"https:\/\/www.pcjv.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}