{"id":18400577,"url":"https://github.com/andis-sprinkis/xdg-open-simple","last_synced_at":"2026-05-16T08:08:11.196Z","repository":{"id":251812798,"uuid":"838521594","full_name":"andis-sprinkis/xdg-open-simple","owner":"andis-sprinkis","description":"xdg-open, more minimal, still spec. compliant","archived":false,"fork":false,"pushed_at":"2025-03-22T17:47:56.000Z","size":259,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T18:36:21.490Z","etag":null,"topics":["linux","mimeapps","opener","url-handler","xdg-open","xdg-specs-compliant","xdg-utils"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andis-sprinkis.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":"2024-08-05T20:12:54.000Z","updated_at":"2025-03-22T17:47:59.000Z","dependencies_parsed_at":"2024-12-24T11:43:14.946Z","dependency_job_id":"0f8b4a71-fd7d-467a-88ef-92e8c50ecd87","html_url":"https://github.com/andis-sprinkis/xdg-open-simple","commit_stats":null,"previous_names":["andis-sprinkis/xdg-utils-simple","andis-sprinkis/xdg-open-simple"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andis-sprinkis%2Fxdg-open-simple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andis-sprinkis%2Fxdg-open-simple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andis-sprinkis%2Fxdg-open-simple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andis-sprinkis%2Fxdg-open-simple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andis-sprinkis","download_url":"https://codeload.github.com/andis-sprinkis/xdg-open-simple/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248601811,"owners_count":21131612,"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":["linux","mimeapps","opener","url-handler","xdg-open","xdg-specs-compliant","xdg-utils"],"created_at":"2024-11-06T02:34:57.773Z","updated_at":"2026-05-16T08:08:11.190Z","avatar_url":"https://github.com/andis-sprinkis.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xdg-open-simple\n\nA more minimal variant of `xdg-open`.\n\n## Characteristics\n\n- Adheres to the same XDG specifications as the original `xdg-open`\n\n    - [\"Desktop Entry Specification\"](https://specifications.freedesktop.org/desktop-entry-spec/latest/)\n    - [\"Association between MIME types and applications\"](https://specifications.freedesktop.org/mime-apps-spec/latest/).\n\n- Support for the relative target file paths and URLs has been added.\n- Retains the original `xdg-open` exit codes.\n- From `xdg-utils` substitutes only the `xdg-open`, not the other tools.\n- **Some of the original `xdg-open` functionality has been REMOVED:**\n\n    - Auto-forwarding target paths without a known MIME handler to a web browser. (Not in specifications)\n\n        Reasons for removal:\n\n        1. Obfuscates that there is a missing MIME handler on the system.\n        1. Unexpected and needless behavior - the web browser creating a copy of the target file in the downloads directory.\n\n    - Handling the `$BROWSER` variable. (Not in specifications)\n\n        Reasons for removal:\n\n        1. A legacy convention of setting the default web browser on some environments.\n        1. Redundant, overlaps with the core functionality of `xdg-open`.\n\n    - Handling any `mimeapps.list` and Desktop file search paths that have been deprecated. (In specifications)\n    - The desktop environment specific integrations:\n\n        1. Auto-forwarding target paths to desktop environment specific file openers. (Not in specifications)\n        1. Use of the file `\u003cdesktop environment name\u003e-mimeapps.list`. (In specifications)\n        1. Use of the file `\u003cdesktop environment name\u003e-mimeinfo.cache`. (Not in specifications)\n\n        Reasons for removal:\n\n        1. Lack of a robust identification of the desktop environments and their the default opener commands.\n\n            These features have required adding lots of work-arounds in the original `xdg-open`.\n\n        1. Not required for the core functionality of this tool.\n\n    - Substituting `Name` (`%c`) and `Icon` (`%i`) field codes within the `Exec` key to pass program icon identifiers and localized program names to the applications. (In specifications)\n\n        Reason for removal:\n\n        1. Unlikely to be in use - out of more than 100 Desktop files on my Linux system, none use these field codes.\n\n## Resources\n\n- [xdg / xdg-utils · GitLab](https://gitlab.freedesktop.org/xdg/xdg-utils)\n- [xdg-utils on freedesktop.org](https://www.freedesktop.org/wiki/Software/xdg-utils/)\n- [Association between MIME types and applications](https://specifications.freedesktop.org/mime-apps-spec/latest/)\n- [Desktop Entry Specification](https://specifications.freedesktop.org/desktop-entry-spec/latest/)\n- [xdg-utils - ArchWiki](https://wiki.archlinux.org/title/Xdg-utils)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandis-sprinkis%2Fxdg-open-simple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandis-sprinkis%2Fxdg-open-simple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandis-sprinkis%2Fxdg-open-simple/lists"}