{"id":17861159,"url":"https://github.com/jonathanstowe/xdg-basedirectory","last_synced_at":"2025-07-16T06:39:22.140Z","repository":{"id":66980528,"uuid":"41792589","full_name":"jonathanstowe/XDG-BaseDirectory","owner":"jonathanstowe","description":"The BaseDirectory part of the freedesktop XDG specifications","archived":false,"fork":false,"pushed_at":"2023-01-09T23:00:39.000Z","size":339,"stargazers_count":1,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-04-22T17:07:00.419Z","etag":null,"topics":["config","raku","xdg"],"latest_commit_sha":null,"homepage":"","language":"Raku","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"artistic-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonathanstowe.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-09-02T09:32:02.000Z","updated_at":"2023-01-19T03:27:02.000Z","dependencies_parsed_at":"2023-02-23T15:45:17.837Z","dependency_job_id":null,"html_url":"https://github.com/jonathanstowe/XDG-BaseDirectory","commit_stats":null,"previous_names":[],"tags_count":13,"template":null,"template_full_name":null,"purl":"pkg:github/jonathanstowe/XDG-BaseDirectory","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanstowe%2FXDG-BaseDirectory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanstowe%2FXDG-BaseDirectory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanstowe%2FXDG-BaseDirectory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanstowe%2FXDG-BaseDirectory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonathanstowe","download_url":"https://codeload.github.com/jonathanstowe/XDG-BaseDirectory/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanstowe%2FXDG-BaseDirectory/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265488912,"owners_count":23775206,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["config","raku","xdg"],"created_at":"2024-10-28T08:43:07.611Z","updated_at":"2025-07-16T06:39:21.858Z","avatar_url":"https://github.com/jonathanstowe.png","language":"Raku","readme":"# XDG::BaseDirectory\n\nRaku access to path information provided by the xdg base directory specfication http://www.freedesktop.org/wiki/Specifications/basedir-spec/\n\n![Build Status](https://github.com/jonathanstowe/XDG-BaseDirectory/workflows/CI/badge.svg)\n\n## Synopsis\n\n```raku\n\n    use XDG::BaseDirectory;\n\n    my $bd = XDG::BaseDirectory.new\n\n    for $bd.load-config-paths('mydomain.org', 'MyProg', 'Options') -\u003e $d {\n        say $d;\n    }\n\n    # Directories can be made available as terms as well\n    use XDG::BaseDirectory :terms;\n\n    say config-home;\n\n```\n\n## Description\n\nThis is loosely based on the interface of python module pyxdg. But\ndue to the differences between Python and Raku it may do some things\ndifferently.\n\nIt provides a set of facilities for discovering the location of the\nconfiguration and data of applications.\n\nI split this out from the XDG module as it has more general usefulness\nand no external dependencies.\n\n## Installation\n\nAssuming you have a working Rakudo installation with *zef* installed you can install from a copy of the source directory:\n\n     zef install .\n\nor remotely:\n\n     zef install XDG::BaseDirectory \n\n## Support\n\nSuggestions/patches are welcomed via github at:\n\nhttps://github.com/jonathanstowe/XDG-BaseDirectory/issues\n\nI'm not able to test on a wide variety of platforms so any help there would be appreciated.\n\n## Licence\n\nThis module is Free Software please see the [LICENCE](LICENCE) file in the distribution for the exact terms.\n\n© Jonathan Stowe 2015-2021\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanstowe%2Fxdg-basedirectory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathanstowe%2Fxdg-basedirectory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanstowe%2Fxdg-basedirectory/lists"}