{"id":20243921,"url":"https://github.com/wille/osutil","last_synced_at":"2025-06-17T23:03:57.979Z","repository":{"id":25882923,"uuid":"80631741","full_name":"wille/osutil","owner":"wille","description":"Go library to easily detect current operating system, current Linux distribution, macOS version and more...","archived":false,"fork":false,"pushed_at":"2025-05-17T20:19:13.000Z","size":28,"stargazers_count":28,"open_issues_count":3,"forks_count":15,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-17T21:24:21.278Z","etag":null,"topics":["bsd","dragonfly","dragonflybsd","freebsd","go","golang","linux","mac","macos","netbsd","openbsd","operating","operatingsystem","os","system","windows"],"latest_commit_sha":null,"homepage":null,"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/wille.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":"2017-02-01T15:10:39.000Z","updated_at":"2025-05-17T20:19:17.000Z","dependencies_parsed_at":"2024-12-16T10:32:57.606Z","dependency_job_id":null,"html_url":"https://github.com/wille/osutil","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wille/osutil","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wille%2Fosutil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wille%2Fosutil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wille%2Fosutil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wille%2Fosutil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wille","download_url":"https://codeload.github.com/wille/osutil/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wille%2Fosutil/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260453719,"owners_count":23011572,"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":["bsd","dragonfly","dragonflybsd","freebsd","go","golang","linux","mac","macos","netbsd","openbsd","operating","operatingsystem","os","system","windows"],"created_at":"2024-11-14T09:10:14.778Z","updated_at":"2025-06-17T23:03:52.953Z","avatar_url":"https://github.com/wille.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# osutil\n\n[![Travis](https://img.shields.io/travis/wille/osutil/master.svg)](https://travis-ci.org/wille/osutil)\n[![GoDoc](https://godoc.org/github.com/wille/osutil?status.svg)](https://godoc.org/github.com/wille/osutil)\n[![Go Report Card](https://goreportcard.com/badge/github.com/wille/osutil)](https://goreportcard.com/report/github.com/wille/osutil)\n\nGo library to detect operating system version\n\n## Usage\n\n```go\nimport \"github.com/wille/osutil\"\n\n// macOS, Windows, Linux, FreeBSD...\nosutil.Name\n\n// macOS: 10.17, 10.16...\n// Windows: 10, 8.1, Vista...\n//\nosutil.GetVersion()\n\n// Returns nicely formatted string\n// Windows 10, macOS 10.17 Sierra\nosutil.GetDisplay()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwille%2Fosutil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwille%2Fosutil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwille%2Fosutil/lists"}