{"id":25945886,"url":"https://github.com/jasonlovesdoggo/gopen","last_synced_at":"2026-05-22T16:34:02.419Z","repository":{"id":274954588,"uuid":"924598121","full_name":"JasonLovesDoggo/gopen","owner":"JasonLovesDoggo","description":"A lightweight, cross-platform Go library for opening URLs in the system's default browser.","archived":false,"fork":false,"pushed_at":"2025-01-30T10:56:08.000Z","size":13,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-15T00:09:30.354Z","etag":null,"topics":["cli","cross-platform","go","golang","library","open","openurl","tool","url"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/jasonlovesdoggo/gopen","language":"Go","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/JasonLovesDoggo.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":"2025-01-30T10:06:26.000Z","updated_at":"2026-04-07T03:19:13.000Z","dependencies_parsed_at":"2025-01-30T11:27:43.427Z","dependency_job_id":"56cc022a-7033-463f-bf3c-c033beb9f94c","html_url":"https://github.com/JasonLovesDoggo/gopen","commit_stats":null,"previous_names":["jasonlovesdoggo/gopen"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JasonLovesDoggo/gopen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonLovesDoggo%2Fgopen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonLovesDoggo%2Fgopen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonLovesDoggo%2Fgopen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonLovesDoggo%2Fgopen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JasonLovesDoggo","download_url":"https://codeload.github.com/JasonLovesDoggo/gopen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonLovesDoggo%2Fgopen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33354036,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T12:23:38.849Z","status":"online","status_checked_at":"2026-05-22T02:00:06.671Z","response_time":265,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cli","cross-platform","go","golang","library","open","openurl","tool","url"],"created_at":"2025-03-04T09:19:13.961Z","updated_at":"2026-05-22T16:34:02.380Z","avatar_url":"https://github.com/JasonLovesDoggo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gopen\n\nA lightweight, cross-platform Go library for opening URLs in the system's default browser.\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/jasonlovesdoggo/gopen.svg)](https://pkg.go.dev/github.com/jasonlovesdoggo/gopen)\n[![Test Status](https://github.com/jasonlovesdoggo/gopen/workflows/Test/badge.svg)](https://github.com/jasonlovesdoggo/gopen/actions)\n[![Go Report Card](https://goreportcard.com/badge/github.com/jasonlovesdoggo/gopen)](https://goreportcard.com/report/github.com/jasonlovesdoggo/gopen)\n\n## Features\n\n- Extensive platform support\n- Non-blocking operation\n- Zero dependencies\n- Simple, clean API\n- Thoroughly tested\n\n## Installation\n### Library\n```bash\ngo get github.com/jasonlovesdoggo/gopen\n```\n\n### CLI\n```bash\ngo install github.com/jasonlovesdoggo/gopen/cmd/gopen@latest\n````\n\n## Usage\n\n### Library\n```go\npackage main\n\nimport (\n    \"fmt\"\n    \"github.com/jasonlovesdoggo/gopen\"\n)\n\nfunc main() {\n    err := gopen.Open(\"https://github.com\")\n    if err != nil {\n        fmt.Printf(\"Failed to open URL: %v\\n\", err)\n    }\n}\n```\n\n### CLI\n```bash\ngopen https://jasoncameron.dev\n```\n\n## Platform Support\n\n### Windows\n- Supported architectures: 386, amd64, arm, arm64\n- Uses `cmd /c start` command\n\n### macOS (Darwin)\n- Supported architectures: amd64, arm64\n- Uses `open` command\n\n### iOS\n- Supported architectures: amd64, arm64\n- Uses `uiopen` command\n\n### Android\n- Supported architectures: 386, amd64, arm, arm64\n- Uses Android intent system\n\n### Unix-like Systems\nSupports the following operating systems and architectures:\n- Linux (386, amd64, arm, arm64, ppc64, ppc64le, mips, mips64, mips64le, mipsle, riscv64, s390x)\n- FreeBSD (386, amd64, arm, arm64)\n- OpenBSD (386, amd64, arm, arm64)\n- NetBSD (386, amd64, arm, arm64)\n- DragonFly BSD (amd64)\n- Solaris (amd64)\n- illumos (amd64)\n- AIX (ppc64)\n\nFor Unix-like systems, the following browsers are tried in order:\n1. `wslview` (Windows Subsystem for Linux)\n2. `xdg-open` (Generic X11)\n3. `sensible-browser` (Debian/Ubuntu)\n4. `firefox` (Mozilla Firefox)\n5. `google-chrome` (Google Chrome)\n6. `chromium` (Chromium)\n7. `chromium-browser` (Chromium alternative)\n8. `safari` (Safari)\n9. `opera` (Opera)\n10. `epiphany` (GNOME Web)\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nMIT License - see the [LICENSE](LICENSE) file for details.\n\n## Credits\n\nThis project was inspired by the Rust [open-rs](https://github.com/Byron/open-rs) crate and [this](https://stackoverflow.com/questions/39320371/how-start-web-server-to-open-page-in-browser-in-golang) stack overflow post","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasonlovesdoggo%2Fgopen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjasonlovesdoggo%2Fgopen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasonlovesdoggo%2Fgopen/lists"}