.gs
6 claimants
4 primary
2 secondary
shared primary (4)
SWH popularity
Distinct files in the full Software Heritage archive (2026-06-04 export), dated by first appearance, following Desmazières, Di Cosmo, Lorentz (MSR 2025). Case-aggregated. citation.
323.3K
total files
93.5K
first seen 2021–2025 (28.9%)
2019
median year (half its files since)
Case variants in archive: .gs (322.4K), .GS (891), .Gs (8) — aggregated above.
Attribution status
This extension is attributed to Genie; Gosu; Gosu (programming language); GSP as primary by 6 authoritative claims.
Claimants (9)
Languages that list
.gs among their extensions. Strength reflects whether the upstream source treated it as their primary extension.| Language | Source | Strength |
|---|---|---|
| Genie | linguist | primary |
| Genie | pygments | primary |
| Gosu | linguist | primary |
| Gosu | pygments | primary |
| Gosu (programming language) | pygments | primary |
| GSP | pygments | primary |
| GLSL | linguist | secondary |
| JavaScript | linguist | secondary |
| Gosu | wikipedia | proposed |
Wikidata says… (2)
File formats, image formats, audio codecs and other non-PL
entities that claim
.gs on Wikidata
(property P1195) or in the Wikipedia infobox.
Source: data/derived/external_extension_index.csv.
Click Use as new PL on any row to open the
Add-PL form pre-filled with that entry's name, Wikipedia/Wikidata
URL, and this extension — one submission creates the PL + claim.
| Format | Class (Wikidata P31) | Suggested label | MIME | Notes | Action |
|---|---|---|---|---|---|
| Genie source code file Q127378389 file format | file format | — | — | — | Use as new PL ↗ |
| Gosu source code file Q129423705 file format | file format | — | text/x-gosu | — | Use as new PL ↗ |
Disambiguation rules (3)
Linguist heuristics that decide, by content, which language a
.gs file actually is.| Rule | Predicts | Kind | Predicates (truncated) | Measured on SWH |
|---|---|---|---|---|
h/linguist/.gs/0 | GLSL | predicates | [{"kind": "any", "regexes": ["^#version\\s+[0-9]+\\b"]}] | |
h/linguist/.gs/1 | Gosu | predicates | [{"kind": "any", "regexes": ["^uses (java|gw)\\."]}] | |
h/linguist/.gs/2 | Genie | predicates | [{"kind": "any", "regexes": ["^\\[indent=[0-9]+\\]"]}] |
SWH-mined examples (0)
No archived examples for .gs in our local mirror yet.