Ross ROSS = Recommend OSS · open-source software intelligence for agents

adrg/xdg

Go implementation of the XDG Base Directory Specification and XDG user directories observed · 2026-08-28

github.com/adrg/xdg · homepage · Go · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

78/100

  • Activity 98
  • Release rhythm 40
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 7.0
  • age_days: 4394
  • days_rel: 671
  • days_push: 13
  • n_releases_24m: 3

Full methodology

Adoption not part of the score

1014 stars · 36 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Go library implementing the XDG Base Directory Specification and XDG user directories, providing standard paths for application data, config, cache, and well-known user folders. It works cross-platform, falling back to Windows Known Folders on Windows and supporting Unix, macOS, and Plan 9.

Use cases

  • get xdg config directory in go
  • store application data in platform-appropriate location
  • resolve user directories like Downloads and Documents cross-platform
  • avoid hardcoding config file paths in a Go app
  • windows known folders equivalent of xdg paths

When to choose

  • you write Go applications that need spec-compliant config/data/cache paths
  • you need cross-platform directory resolution including Windows Known Folders
  • you want a small, widely imported, MIT-licensed dependency

When to avoid

  • you need XDG desktop features beyond base directories (menus, autostart)
  • your project is not in Go
  • you need runtime-modifiable user-dirs config parsing

Facets

library · maturity stable

configuration-management file-system developer-tools developer-tools cross-platform operating-systems windows go cross-platform bsd xdg xdg-base-directory user-directories known-folders golang-library paths linux macos

5 sources

Member repositories

RepositoryRoleHealth v2
adrg/xdgmain78

For agents

markdown · JSON · MCP: product_card(name="adrg/xdg")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem