← all organisations

govuk-once / Code

20 languages, 35.6 MB of source, and what the live estate is written in today.

Language figures come from GitHub's own per-repository byte counts, which measure source rather than a single headline label. File counts and repository sizes come from the mirrors themselves. The two tell different stories, and the difference is the point.

The codebase

20
languages in use
35.6 MB of source
23k
files at HEAD
across every analysed repository
0 B
on disk as mirrors
full history, every branch and tag
141.0 MB
largest repository
gds-eligibility-agentic-backend

What stands out

One archived repository holds 45% of all the bytes.

gds-eligibility-agentic-backend is 141.0 MB of git - a 2013 static snapshot of www.gov.uk, not source code. It single-handedly makes HTML the largest language by volume (27% of all source bytes). Any size or language statistic that does not exclude it is measuring an archive, not a codebase.

Sizes here are GitHub's reported figures.

This organisation was harvested with blobless partial clones, which fetch every commit and file path but not file contents, so there is no local size to measure against. Checked elsewhere in this dataset against 1,526 fully mirrored repositories, GitHub's reported size is accurate to within about six percent.

Ruby is the house language, but its share is falling.

Ruby is the primary language of 0% of archived repositories but only 5% of live ones. Python, Go, TypeScript and HCL have taken the difference - the signature of a shift from monolithic Rails publishing apps toward data pipelines, infrastructure-as-code and platform tooling.

Most repositories are small; a handful are enormous.

48% of repositories are under a megabyte of git data. The estate is not a monolith - it is a very long tail of small services, gems and prototypes around a few large publishing applications.

Languages, two ways

By volume of source

Bytes of code. Dominated by archived static HTML.

Jupyter NotebookJupyter Notebook: 13.9 MB13.9 MBHTMLHTML: 9.7 MB9.7 MBTypeScriptTypeScript: 3.2 MB3.2 MBSwiftSwift: 3.2 MB3.2 MBKotlinKotlin: 2.1 MB2.1 MBPythonPython: 1.7 MB1.7 MBCSSCSS: 792.3 kB792.3 kBRustRust: 337.2 kB337.2 kBSvelteSvelte: 322.2 kB322.2 kBHCLHCL: 208.3 kB208.3 kBRubyRuby: 38.2 kB38.2 kBShellShell: 37.0 kB37.0 kBSCSSSCSS: 27.4 kB27.4 kBJavaScriptJavaScript: 19.6 kB19.6 kB

By number of repositories

How many repositories name each language as their primary one. A better guide to what engineers actually work in.

TypeScriptTypeScript: 1212ShellShell: 99JavaScriptJavaScript: 88PythonPython: 88HTMLHTML: 66HCLHCL: 55RubyRuby: 55SCSSSCSS: 44SvelteSvelte: 44SwiftSwift: 33DockerfileDockerfile: 22MakefileMakefile: 22MustacheMustache: 11Jupyter NotebookJupyter Notebook: 11

Live estate versus archive

The same language ranking, split by whether the repository is still active. The shift is the clearest signal of technical direction in the whole dataset.

Active repositories

TypeScriptTypeScript: 77PythonPython: 55SwiftSwift: 33Jupyter NotebookJupyter Notebook: 11SvelteSvelte: 11HTMLHTML: 11KotlinKotlin: 11RubyRuby: 11ShellShell: 11

Archived repositories

TypeScriptTypeScript: 00PythonPython: 00SwiftSwift: 00Jupyter NotebookJupyter Notebook: 00SvelteSvelte: 00HTMLHTML: 00KotlinKotlin: 00RubyRuby: 00ShellShell: 00

Scale

Repository size distribution

Git data per repository, log-ish buckets.

86420< 10 kB: 3< 10 kB< 100 kB: 4< 100 kB< 1 MB: 5< 1 MB< 10 MB: 8< 10 MB< 100 MB: 4< 100 MB100 MB +: 1100 MB +

Commits against files

Each circle is a repository, sized by number of distinct authors. Both axes are logarithmic. The diagonal band is the normal relationship between codebase size and churn; outliers above it are long-lived apps with heavy iteration, below it are dumps and imports.

3.8k724.6137.926.35.0326.1227.52k17.2kaws-stack-cleanup: 143 commits, 78 files, 4 authorsflex: 1,981 commits, 705 files, 36 authorsflex-platform: 5 commits, 47 files, 1 authorsgds-eligibility-agentic-backend: 750 commits, 17,249 files, 10 authorsgds-eligibility-buddy: 36 commits, 18 files, 5 authorsgds-eligibility-chat-frontend: 137 commits, 88 files, 5 authorsgds-unified-notification-service: 1,743 commits, 311 files, 14 authorsgds-waste-collection-schedule: 66 commits, 127 files, 4 authorsgovuk-agentic-legibility: 136 commits, 512 files, 9 authorsgovuk-chat-v2: 791 commits, 208 files, 11 authorsgovuk-mobile-android-app: 3,806 commits, 866 files, 17 authorsgovuk-mobile-ios-app: 2,426 commits, 1,629 files, 34 authorsgovuk-mobile-ios-gov-kit: 190 commits, 188 files, 14 authorsgovuk-mobile-ios-ui-components: 129 commits, 129 files, 13 authorsgovuk-mobile-scripts: 27 commits, 18 files, 2 authorslaptop-configuration: 5 commits, 3 files, 1 authorsonward-journey: 455 commits, 116 files, 10 authorsonward-journey-aws: 430 commits, 201 files, 17 authorsonward-journey-routing-poc: 22 commits, 10 files, 3 authorsplatform-actions-codeartifact-login: 28 commits, 68 files, 4 authorsplatform-actions-release-versioning: 14 commits, 4 files, 3 authorsplatform-pkg-cdk-constructs: 201 commits, 80 files, 10 authorsuser-data-platform: 1,414 commits, 297 files, 29 authorsfiles at HEAD (log)commits (log)

The shape of a repository

Directory layout is the cheapest reliable signal of what a repository actually is. app/ with config/ and spec/ is a Rails application; src/ with test/ is Java or Node. Counted by how many repositories contain each top-level directory at HEAD.

Most common top-level directories

docsdocs: 77srcsrc: 66scriptsscripts: 66.vscode.vscode: 66cdkcdk: 33liblib: 33libslibs: 33teststests: 33testtest: 33infrastructureinfrastructure: 33frontendfrontend: 33appapp: 33FastlaneFastlane: 33analysisanalysis: 22terraformterraform: 22configconfig: 22.husky.husky: 22.swiftpm.swiftpm: 22

Most common file extensions

By total file count across the estate.

.json.json: 12.8k12.8k.out.out: 2.9k2.9k.ts.ts: 1.2k1.2k.swift.swift: 1.1k1.1k.kt.kt: 594594.png.png: 484484.229315.229315: 300300.644032.644032: 300300.md.md: 295295.875206.875206: 287287.174663.174663: 287287.361169.361169: 275275.892615.892615: 275275.py.py: 257257.xml.xml: 123123.svg.svg: 122122

The twenty largest repositories

RepositoryLanguageGit size CommitsFilesStatus
gds-eligibility-agentic-backendJupyter Notebook141.0 MB75017,249active
govuk-mobile-ios-appSwift62.3 MB2,4261,629active
gds-unified-notification-serviceTypeScript55.3 MB1,743311active
flexTypeScript12.2 MB1,981705active
govuk-mobile-android-appKotlin10.5 MB3,806866active
govuk-mobile-ios-ui-componentsSwift5.8 MB129129active
govuk-agentic-legibilityHTML4.7 MB136512active
govuk-mobile-ios-gov-kitSwift4.1 MB190188active
govuk-chat-v2Python3.1 MB791208active
user-data-platformTypeScript2.9 MB1,414297active
onward-journeyPython2.3 MB455116active
onward-journey-awsPython1.8 MB430201active
platform-actions-codeartifact-login-1.5 MB2868active
gds-eligibility-chat-frontendSvelte1.0 MB13788active
platform-pkg-cdk-constructsTypeScript557.1 kB20180active
gds-eligibility-buddyPython544.8 kB3618active
aws-stack-cleanupTypeScript522.2 kB14378active
gds-waste-collection-scheduleTypeScript236.5 kB66127active
onward-journey-routing-pocPython67.6 kB2210active
govuk-mobile-scriptsRuby52.2 kB2718active