{"id":15060905,"url":"https://github.com/xdg-net/xdg.directories","last_synced_at":"2025-04-10T06:12:19.958Z","repository":{"id":209164217,"uuid":"716149192","full_name":"xdg-net/Xdg.Directories","owner":"xdg-net","description":"A .NET library for the XDG directory specifications","archived":false,"fork":false,"pushed_at":"2025-03-18T08:09:15.000Z","size":9667,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-18T09:24:04.432Z","etag":null,"topics":["cross-platform","csharp","dotnet","dotnet-core","dotnet-standard","fsharp","known-folders","library","linux","macos","windows","xdg","xdg-basedir","xdg-compliance","xdg-user-dirs"],"latest_commit_sha":null,"homepage":"https://xdg-net.github.io/Xdg.Directories/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xdg-net.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-11-08T14:40:39.000Z","updated_at":"2025-03-18T08:09:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"65dc6668-a44b-4e72-baf2-a725db627660","html_url":"https://github.com/xdg-net/Xdg.Directories","commit_stats":{"total_commits":74,"total_committers":2,"mean_commits":37.0,"dds":0.4864864864864865,"last_synced_commit":"287fbd629cf621bb110f32e998485dac26144a18"},"previous_names":["xdg-net/xdg.net"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdg-net%2FXdg.Directories","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdg-net%2FXdg.Directories/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdg-net%2FXdg.Directories/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdg-net%2FXdg.Directories/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xdg-net","download_url":"https://codeload.github.com/xdg-net/Xdg.Directories/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248166925,"owners_count":21058481,"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":["cross-platform","csharp","dotnet","dotnet-core","dotnet-standard","fsharp","known-folders","library","linux","macos","windows","xdg","xdg-basedir","xdg-compliance","xdg-user-dirs"],"created_at":"2024-09-24T23:06:18.816Z","updated_at":"2025-04-10T06:12:19.937Z","avatar_url":"https://github.com/xdg-net.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Xdg.Directories\n\n\u003e A .NET Standard library for the XDG Base Directory Specification and XDG user directories.\n\n[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/xdg-net/xdg.directories/build-test.yaml?style=for-the-badge\u0026logo=github)](https://github.com/xdg-net/Xdg.Directories/actions/workflows/build-test.yaml)\n[![NuGet Version](https://img.shields.io/nuget/v/xdg.directories?style=for-the-badge\u0026logo=nuget)](https://www.nuget.org/packages/Xdg.Directories/)\n[![Documentation](https://img.shields.io/badge/docfx-Docs-3391ff.svg?style=for-the-badge\u0026logo=data:image/svg%2bxml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDIwMDEwOTA0Ly9FTiIKICJodHRw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SAyMiAtNTQgMjQgLTc1IDI0IC0yMTAgMAotMTQxIC0yIC0xNTMgLTI2IC0yMDYgLTM2IC03NiAtODkgLTEzMiAtMTUyIC0xNjAgLTQ1IC0yMSAtNjggLTI0IC0xNjQgLTI0Ci03MSAwIC0xMTYgNCAtMTIzIDExIC0yMiAyMiAtMzEgMTc1IC0yOCA0NjMgMiAyMDggNiAyOTMgMTUgMzAyIDMyIDMyIDE4OCAzMwoyNzggM3oiLz4KPHBhdGggZD0iTTExNzAgMTIyOCBjNzUgLTEwNCAxMTAgLTMzNyA3NiAtNTA4IC0yMSAtMTAwIC01NiAtMTc4IC0xMDUgLTIzMwpsLTM2IC00MSAzNCAyMCBjNzUgNDMgMTYwIDEzMyAxOTggMjEyIDM3IDc1IDM4IDc4IDM4IDE5MSAtMSAxMjkgLTE4IDE5MSAtNzUKMjcwIC0yOCAzOCAtMTM2IDEzMSAtMTUzIDEzMSAtNCAwIDYgLTE5IDIzIC00MnoiLz4KPC9nPgo8L3N2Zz4K)](https://xdg-net.github.io/Xdg.Directories/)\n[![MIT License](https://img.shields.io/github/license/xdg-net/xdg.directories?style=for-the-badge)](https://choosealicense.com/licenses/mit/)\n\nXdg.Directories is a ***small*** (the .dll is only 11 KB), [***fast***](https://xdg-net.github.io/Xdg.Directories/dev/bench/) and ***portable*** (Completely supports .NET Standard 2.0 and even NativeAOT!) .NET implementation of the [XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html) and XDG user directories for Windows, MacOS and Linux/FreeBSD.\n\nFull documentation can be found at \u003chttps://xdg-net.github.io/Xdg.Directories\u003e.\n\n## Installation\n\nUse [NuGet](http://docs.nuget.org/docs/start-here/installing-nuget) to install [Xdg.Directories](thttps://www.nuget.org/packages/Xdg.Directories).\n\nFrom the .NET CLI:\n\n```bash\ndotnet add package Xdg.Directories\n```\n\nor from Visual Studio's package manager:\n\n```pwsh\nInstall-Package Xdg.Directories\n```\n\n### Pre-releases\n\nPreview releases are uploaded to both [GitHub packages](https://github.com/xdg-net/Xdg.Directories/pkgs/nuget/Xdg.Directories) (need GitHub account to download) and [Forgejo packages](https://git.froth.zone/mirrors/-/packages/nuget/xdg.directories) (no login required).\n\n## Usage\n\n### Base Directories, C\\#\n\n```cs\nusing System;\nusing Xdg.Directories;\n\n// Prints /home/$USER/.local/share\nConsole.Writeline(BaseDirectory.DataHome);\n\n// Prints /home/$USER/.cache\nConsole.Writeline(BaseDirectory.CacheHome)\n```\n\n### User Directories, F\\#\n\n```fsharp\nopen Xdg.Directories\n\n// Prints /home/$USER/Documents\nprintfn \"%s\" UserDirectory.DesktopDir\n```\n\n## License\n\nThis project is licensed under the [MIT](https://choosealicense.com/licenses/mit/) license. \\\nIcon is made by Emoji One, [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0), via [Wikimedia Commons](https://commons.wikimedia.org/wiki/File:Eo_circle_purple_white_letter-x.svg) an image.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxdg-net%2Fxdg.directories","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxdg-net%2Fxdg.directories","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxdg-net%2Fxdg.directories/lists"}