{"id":13580861,"url":"https://github.com/Byron/open-rs","last_synced_at":"2025-04-06T06:32:06.007Z","repository":{"id":27933812,"uuid":"31426249","full_name":"Byron/open-rs","owner":"Byron","description":"Open a path or URL with the system-defined program","archived":false,"fork":false,"pushed_at":"2025-01-05T15:03:44.000Z","size":908,"stargazers_count":342,"open_issues_count":7,"forks_count":52,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-03T13:46:13.980Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://byron.github.io/open-rs","language":"Rust","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/Byron.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE.md","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-02-27T15:42:17.000Z","updated_at":"2025-04-01T05:36:47.000Z","dependencies_parsed_at":"2022-09-26T22:10:24.755Z","dependency_job_id":"e421662e-4399-4c1a-801f-ae4ffb86bda3","html_url":"https://github.com/Byron/open-rs","commit_stats":{"total_commits":202,"total_committers":41,"mean_commits":4.926829268292683,"dds":0.4752475247524752,"last_synced_commit":"c26d98cc66979f153682690201a4748026012224"},"previous_names":[],"tags_count":49,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Byron%2Fopen-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Byron%2Fopen-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Byron%2Fopen-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Byron%2Fopen-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Byron","download_url":"https://codeload.github.com/Byron/open-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247445649,"owners_count":20939952,"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":[],"created_at":"2024-08-01T15:01:55.764Z","updated_at":"2025-04-06T06:32:05.688Z","avatar_url":"https://github.com/Byron.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"[![Crates.io](https://img.shields.io/crates/v/open.svg)](https://crates.io/crates/open)\n[![cross-platform-testing](https://github.com/Byron/open-rs/workflows/cross-platform-testing/badge.svg)](https://github.com/Byron/open-rs/actions?query=workflow%3Across-platform-testing)\n\nUse this library to open a path or URL using the program configured on the system. It is equivalent to running one of the following:\n\n```bash\n# macOS\n$ open \u003cpath-or-url\u003e\n# Windows\n$ start \u003cpath-or-url\u003e\n# Linux\n$ xdg-open \u003cpath-or-url\u003e || gio open \u003cpath-or-url\u003e || gnome-open \u003cpath-or-url\u003e || kde-open \u003cpath-or-url\u003e || wslview \u003cpath-or-url\u003e\n```\n\n# Library Usage\n\nAdd this to your Cargo.toml\n```toml\n[dependencies]\nopen = \"5\"\n```\n…and open something using…\n```Rust\nopen::that(\"https://rust-lang.org\");\n```\n\n…or, open something with an application of your choice\n```Rust\nopen::with(\"https://rust-lang.org\", \"firefox\");\n```\n\nFollow this link for the [API docs](https://docs.rs/open).\n\n# Binary Usage\n\nThis crate also implements a binary that acts like an opener itself.\n\n```shell\ncargo run 'file to open'\n```\n\n# Credits\n\nThe implementation is based on the respective functionality of [Cargo](https://github.com/rust-lang/cargo), but was improved to allow some error handling.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FByron%2Fopen-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FByron%2Fopen-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FByron%2Fopen-rs/lists"}