{"id":13413529,"url":"https://github.com/rkoesters/xdg","last_synced_at":"2025-04-19T14:23:00.510Z","repository":{"id":12531127,"uuid":"15201075","full_name":"rkoesters/xdg","owner":"rkoesters","description":"FreeDesktop.org (xdg) Specs implemented in Go","archived":false,"fork":false,"pushed_at":"2024-05-07T00:24:31.000Z","size":164,"stargazers_count":47,"open_issues_count":2,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-16T08:10:44.426Z","etag":null,"topics":["go","golang","xdg","xdg-basedir","xdg-compliance","xdg-open","xdg-specs"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rkoesters.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":"2013-12-15T09:51:51.000Z","updated_at":"2025-01-20T22:42:40.000Z","dependencies_parsed_at":"2024-06-18T18:25:57.495Z","dependency_job_id":"6d2110a4-2b2f-4d4f-a362-c4b23e5d61c5","html_url":"https://github.com/rkoesters/xdg","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkoesters%2Fxdg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkoesters%2Fxdg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkoesters%2Fxdg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkoesters%2Fxdg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rkoesters","download_url":"https://codeload.github.com/rkoesters/xdg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249711466,"owners_count":21314245,"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":["go","golang","xdg","xdg-basedir","xdg-compliance","xdg-open","xdg-specs"],"created_at":"2024-07-30T20:01:42.492Z","updated_at":"2025-04-19T14:23:00.489Z","avatar_url":"https://github.com/rkoesters.png","language":"Go","funding_links":[],"categories":["Miscellaneous","Microsoft Office","杂项","其他杂项","Uncategorized"],"sub_categories":["Strings","Uncategorized","未分类的","暂未分类","Advanced Console UIs","暂未分类这些库被放在这里是因为其他类别似乎都不适合。"],"readme":"xdg\n===\n\nPackage xdg provides access to the FreeDesktop.org (XDG) specs.\n\n[![GoDoc](https://godoc.org/github.com/rkoesters/xdg?status.svg)](https://godoc.org/github.com/rkoesters/xdg)\n[![Build Status](https://travis-ci.org/rkoesters/xdg.svg?branch=master)](https://travis-ci.org/rkoesters/xdg)\n[![Go Report Card](https://goreportcard.com/badge/github.com/rkoesters/xdg)](https://goreportcard.com/report/github.com/rkoesters/xdg)\n\nDocumentation\n-------------\n\nDocumentation is available via godoc. Here are direct links to the\ndocumentation pages for each package:\n\n* [xdg](https://godoc.org/github.com/rkoesters/xdg) - Provides xdg.Open\n  function to call `xdg-open` command.\n* [xdg/basedir](https://godoc.org/github.com/rkoesters/xdg/basedir) -\n  Provides access to the xdg basedir spec.\n* [xdg/desktop](https://godoc.org/github.com/rkoesters/xdg/desktop) -\n  Read desktop files (w/ localization support).\n* [xdg/keyfile](https://godoc.org/github.com/rkoesters/xdg/keyfile) -\n  Provides access to xdg key file format (w/ localization support).\n* [xdg/trash](https://godoc.org/github.com/rkoesters/xdg/trash) -\n  Provides access to xdg trash spec.\n* [xdg/userdirs](https://godoc.org/github.com/rkoesters/xdg/userdirs) -\n  Provides access to common user directories.\n\nTesting\n-------\n\nTests can be run with `go test`.\n\nThe tests for the [xdg/trash](trash) package expect the trash to exist\n(`$XDG_DATA_HOME/Trash/files` (or `$HOME/.local/share/Trash/files` if\n`$XDG_DATA_HOME` is undefined)).\n\nThe tests for the [xdg/userdirs](userdirs) package require the\n`xdg-user-dir` command.\n\nTODO\n----\n\n- autostart\n- desktop.Launch (in progress on desktop-launch branch)\n- trash.New (requires checking for a \"sticky bit\" on the filesystem of\n  the drive on which the trash exists; in addition to other (easier)\n  checks)\n\nLicense\n-------\n\nSee [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frkoesters%2Fxdg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frkoesters%2Fxdg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frkoesters%2Fxdg/lists"}