{"id":13817112,"url":"https://github.com/toqueteos/webbrowser","last_synced_at":"2025-05-16T12:04:03.363Z","repository":{"id":5635597,"uuid":"6843868","full_name":"toqueteos/webbrowser","owner":"toqueteos","description":":snake: Python's webbrowser lib in Go. Simple API for opening web pages on your default browser.","archived":false,"fork":false,"pushed_at":"2023-08-13T17:30:14.000Z","size":28,"stargazers_count":191,"open_issues_count":0,"forks_count":31,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-02T05:44:23.490Z","etag":null,"topics":["go","golang","webbrowser"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/toqueteos/webbrowser","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/toqueteos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2012-11-24T20:10:15.000Z","updated_at":"2025-01-27T09:39:01.000Z","dependencies_parsed_at":"2022-09-08T12:11:16.869Z","dependency_job_id":"101c1fa5-72a2-4ec9-8d0c-e594ff5ad671","html_url":"https://github.com/toqueteos/webbrowser","commit_stats":{"total_commits":46,"total_committers":4,"mean_commits":11.5,"dds":0.06521739130434778,"last_synced_commit":"f4b062f83b1f31affe0790335ddb1733937cb05d"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toqueteos%2Fwebbrowser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toqueteos%2Fwebbrowser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toqueteos%2Fwebbrowser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toqueteos%2Fwebbrowser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toqueteos","download_url":"https://codeload.github.com/toqueteos/webbrowser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247994120,"owners_count":21030050,"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","webbrowser"],"created_at":"2024-08-04T06:00:33.895Z","updated_at":"2025-04-09T07:03:47.349Z","avatar_url":"https://github.com/toqueteos.png","language":"Go","funding_links":[],"categories":["Misc"],"sub_categories":[],"readme":"# webbrowser [![Build Status](https://github.com/toqueteos/webbrowser/actions/workflows/ci.yml/badge.svg)](https://github.com/toqueteos/webbrowser/actions) [![Go Reference](https://pkg.go.dev/badge/github.com/toqueteos/webbrowser.svg)](https://pkg.go.dev/github.com/toqueteos/webbrowser)\r\n\r\nwebbrowser provides a simple API for opening web pages on your default browser.\r\n\r\nIt's inspired on [Python's webbrowser](http://docs.python.org/3/library/webbrowser.html) package but lacks some of its features (open new window).\r\n\r\nIt just opens a webpage, most browsers will open it on a new tab.\r\n\r\n## Installation\r\n\r\nAs simple as:\r\n\r\n```bash\r\ngo get -u github.com/toqueteos/webbrowser\r\n```\r\n\r\nIt is Go modules compatible!\r\n\r\n_(`go.mod` was explicitly added in version `v1.2.0`)_\r\n\r\n## Usage\r\n\r\n```go\r\npackage main\r\n\r\nimport \"github.com/toqueteos/webbrowser\"\r\n\r\nfunc main() {\r\n    webbrowser.Open(\"http://golang.org\")\r\n}\r\n```\r\n\r\nThat's it!\r\n\r\n## Crossplatform support\r\n\r\nThe package works on:\r\n\r\n- [x] `android` (verified by 3rd party)\r\n- [x] `darwin`\r\n- [x] `freebsd` (verified by 3rd party)\r\n- [x] `linux`\r\n- [x] `netbsd` (verified by 3rd party)\r\n- [x] `openbsd` (verified by 3rd party)\r\n- [x] `windows`\r\n\r\n## License\r\n\r\nIt is licensed under the MIT open source license, please see the [LICENSE.md](https://github.com/toqueteos/webbrowser/blob/master/LICENSE.md) file for more information.\r\n\r\n## Thanks...\r\n\r\nMiki Tebeka wrote a nicer version that wasn't on godoc.org when I did this, [check it out!](https://bitbucket.org/tebeka/go-wise/src/d8db9bf5c4d1/desktop.go?at=default).\r\n\r\n## Already disliking it?\r\n\r\nNo problem! There's alternative libraries that may be better to your needs:\r\n\r\n- https://github.com/pkg/browser, it does what webbrowser does and more!\r\n- https://github.com/skratchdot/open-golang, it even provides a `xdg-open` implementation in case you don't have it!\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoqueteos%2Fwebbrowser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoqueteos%2Fwebbrowser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoqueteos%2Fwebbrowser/lists"}