There are 2 repositories under xdg-basedir topic.
a mid-level library that provides config/cache/data paths, following the respective conventions on Linux, macOS and Windows
TUI Application launcher with Desktop Entry support. Made for SwayWM, but runs anywhere
a tiny library that provides config/cache/data paths, following the respective conventions on Linux, macOS, BSD and Windows
An implementation of the XDG Base Directory Specification in Python
Minimalistic Go package to get application directories such as config and cache
system-level helper functions for the dirs and directories crates
A simple way to identify unused applications data in user directories such as ~./config and ~/.cache.
An implementation of the XDG Base Directory specifications
A cross platform implementation of the XDG Directory Spec
Package xdgbasedir implements a freedesktop XDG Base Directory Specification for Go
An implementation of XDG Base Directory Specification
Library providing cross-platform user directory paths, such as config and cache
Clojure Implementation of the XDG Base Directory Specification
a low-level coammand line application that provides config/cache/data paths, following the respective conventions on Linux, macOS and Windows
https://github.com/dirs-dev/directories-rs for javascript
An XDG Base Directory Specification Rust library that aims to be conservative on memory allocation and overall memory footprint.
A simple, spec-compliant crystal interface to the XDG base directories
AUR (archlinux user repository) package mirror: https://aur.archlinux.org/ungoogled-chromium-xdg.git
An C and C++ implementation of the XDG basedir specification