{"id":18451815,"url":"https://github.com/cli/browser","last_synced_at":"2025-04-08T02:32:53.817Z","repository":{"id":39636868,"uuid":"319016544","full_name":"cli/browser","owner":"cli","description":"Go helpers to open URLs, files, or readers in a web browser.","archived":false,"fork":true,"pushed_at":"2023-11-18T06:25:21.000Z","size":36,"stargazers_count":66,"open_issues_count":0,"forks_count":31,"subscribers_count":10,"default_branch":"main","last_synced_at":"2024-06-19T14:10:46.145Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"pkg/browser","license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cli.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}},"created_at":"2020-12-06T11:27:36.000Z","updated_at":"2024-06-04T19:39:43.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/cli/browser","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cli%2Fbrowser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cli%2Fbrowser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cli%2Fbrowser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cli%2Fbrowser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cli","download_url":"https://codeload.github.com/cli/browser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223300368,"owners_count":17122588,"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-11-06T07:29:39.387Z","updated_at":"2024-11-06T07:29:44.531Z","avatar_url":"https://github.com/cli.png","language":"Go","readme":"\n# browser\n\nHelpers to open URLs, readers, or files in the system default web browser.\n\nThis fork adds:\n\n- `OpenReader` error wrapping;\n- `ErrNotFound` error wrapping on BSD;\n- Go 1.21 support.\n\n## Usage\n\n``` go\nimport \"github.com/cli/browser\"\n\nerr = browser.OpenURL(url)\nerr = browser.OpenFile(path)\nerr = browser.OpenReader(reader)\n```\n","funding_links":[],"categories":["Go"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcli%2Fbrowser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcli%2Fbrowser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcli%2Fbrowser/lists"}