{"id":26727,"name":"os-detect","description":"A script for working out what OS you are running on as some scripts need to be OS aware.","url":"https://github.com/developerstoolbox/os-detect","last_synced_at":"2025-09-05T03:19:27.306Z","repository":{"id":114323631,"uuid":"339105136","full_name":"DevelopersToolbox/os-detect","owner":"DevelopersToolbox","description":"A script for working out what OS you are running on as some scripts need to be OS aware.","archived":false,"fork":false,"pushed_at":"2025-09-01T07:53:30.000Z","size":172,"stargazers_count":4,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-01T09:59:55.734Z","etag":null,"topics":["bash","os-detect","wolfsoftware"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/DevelopersToolbox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":".github/CODEOWNERS","security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["WolfSoftware","TGWolf"]}},"created_at":"2021-02-15T14:34:35.000Z","updated_at":"2025-09-01T07:48:50.000Z","dependencies_parsed_at":"2024-08-26T05:28:41.690Z","dependency_job_id":"399d622e-25f8-4c17-b3df-c15b77436ac3","html_url":"https://github.com/DevelopersToolbox/os-detect","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/DevelopersToolbox/os-detect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevelopersToolbox%2Fos-detect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevelopersToolbox%2Fos-detect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevelopersToolbox%2Fos-detect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevelopersToolbox%2Fos-detect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevelopersToolbox","download_url":"https://codeload.github.com/DevelopersToolbox/os-detect/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevelopersToolbox%2Fos-detect/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273704733,"owners_count":25153209,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"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"}},"owner":{"login":"DevelopersToolbox","name":"Developers Toolbox","uuid":"73446579","kind":"organization","description":"A selection of tools to help developers. Created by Wolf Software.","email":"github@wolfsoftware.com","website":"https://wolfsoftware.com","location":"United Kingdom","twitter":"wolfsoftware","company":null,"icon_url":"https://avatars.githubusercontent.com/u/73446579?v=4","repositories_count":24,"last_synced_at":"2024-04-21T02:03:27.417Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/DevelopersToolbox","funding_links":[],"total_stars":53,"followers":5,"following":0,"created_at":"2022-11-15T23:50:55.953Z","updated_at":"2024-04-21T02:03:35.575Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevelopersToolbox","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevelopersToolbox/repositories"},"packages":[],"commits":{"id":7253483,"full_name":"developerstoolbox/os-detect","default_branch":"master","committers":null,"total_commits":null,"total_committers":null,"total_bot_commits":null,"total_bot_committers":null,"mean_commits":null,"dds":null,"past_year_committers":null,"past_year_total_commits":null,"past_year_total_committers":null,"past_year_total_bot_commits":null,"past_year_total_bot_committers":null,"past_year_mean_commits":null,"past_year_dds":null,"last_synced_at":null,"last_synced_commit":null,"created_at":"2024-12-03T23:07:23.068Z","updated_at":"2024-12-03T23:07:23.068Z","commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/developerstoolbox%2Fos-detect/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2025-09-05T00:00:10.343Z","repositories_count":5480019,"commits_count":853389012,"contributors_count":31098138,"owners_count":906558,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"developerstoolbox/os-detect","html_url":"https://github.com/developerstoolbox/os-detect","last_synced_at":"2025-08-31T10:38:23.313Z","status":null,"issues_count":1,"pull_requests_count":85,"avg_time_to_close_issue":3028775.0,"avg_time_to_close_pull_request":16800.987012987014,"issues_closed_count":1,"pull_requests_closed_count":77,"pull_request_authors_count":1,"issue_authors_count":1,"avg_comments_per_issue":1.0,"avg_comments_per_pull_request":1.6235294117647059,"merged_pull_requests_count":76,"bot_issues_count":1,"bot_pull_requests_count":85,"past_year_issues_count":1,"past_year_pull_requests_count":66,"past_year_avg_time_to_close_issue":3028775.0,"past_year_avg_time_to_close_pull_request":21996.775862068967,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":58,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":1.0,"past_year_avg_comments_per_pull_request":1.5606060606060606,"past_year_bot_issues_count":1,"past_year_bot_pull_requests_count":66,"past_year_merged_pull_requests_count":57,"created_at":"2024-12-03T23:07:23.399Z","updated_at":"2025-09-03T06:38:19.303Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/developerstoolbox%2Fos-detect","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/developerstoolbox%2Fos-detect/issues","issue_labels_count":{"dependabot: dependencies":1,"dependabot: ecosystem : github actions":1,"dependabot: auto approve":1,"dependabot: auto merge":1},"pull_request_labels_count":{"dependabot: dependencies":132,"dependabot: ecosystem : github actions":132,"dependabot: auto approve":123,"dependabot: auto merge":123,"dependabot: manual merge":1},"issue_author_associations_count":{"CONTRIBUTOR":1},"pull_request_author_associations_count":{"CONTRIBUTOR":131,"NONE":1},"issue_authors":{"dependabot[bot]":1},"pull_request_authors":{"dependabot[bot]":132},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2025-09-05T00:00:10.444Z","repositories_count":10083752,"issues_count":31254324,"pull_requests_count":96222393,"authors_count":10694625,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{"dependabot: dependencies":1,"dependabot: ecosystem : github actions":1,"dependabot: auto approve":1,"dependabot: auto merge":1},"past_year_pull_request_labels_count":{"dependabot: dependencies":92,"dependabot: ecosystem : github actions":92,"dependabot: auto approve":84,"dependabot: auto merge":84,"dependabot: manual merge":1},"past_year_issue_author_associations_count":{"CONTRIBUTOR":1},"past_year_pull_request_author_associations_count":{"CONTRIBUTOR":92},"past_year_issue_authors":{"dependabot[bot]":1},"past_year_pull_request_authors":{"dependabot[bot]":92},"maintainers":[],"active_maintainers":[]},"events":{"total":{"WatchEvent":1,"DeleteEvent":61,"IssueCommentEvent":127,"PushEvent":117,"PullRequestReviewEvent":104,"PullRequestEvent":121,"CreateEvent":64},"last_year":{"WatchEvent":1,"DeleteEvent":61,"IssueCommentEvent":127,"PushEvent":117,"PullRequestReviewEvent":104,"PullRequestEvent":121,"CreateEvent":64}},"keywords":["bash","os-detect","wolfsoftware"],"dependencies":[{"ecosystem":"actions","filepath":".github/workflows/cicd.yml","sha":null,"kind":"manifest","created_at":"2024-06-04T19:47:29.558Z","updated_at":"2024-06-04T19:47:29.558Z","repository_link":"https://github.com/DevelopersToolbox/os-detect/blob/master/.github/workflows/cicd.yml","dependencies":[{"id":18410937629,"package_name":"actions/checkout","ecosystem":"actions","requirements":"a5ac7e51b41094c92402da3b24376905380afc29","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/citation-validation.yml","sha":null,"kind":"manifest","created_at":"2024-06-04T19:47:30.282Z","updated_at":"2024-06-04T19:47:30.282Z","repository_link":"https://github.com/DevelopersToolbox/os-detect/blob/master/.github/workflows/citation-validation.yml","dependencies":[{"id":18410937630,"package_name":"ActionsToolbox/get-language-versions-action","ecosystem":"actions","requirements":"446919617fd774095b5dd3ed71c39dd3fd0d8f4f","direct":true,"kind":"composite","optional":false},{"id":18410937631,"package_name":"actions/checkout","ecosystem":"actions","requirements":"a5ac7e51b41094c92402da3b24376905380afc29","direct":true,"kind":"composite","optional":false},{"id":18410937632,"package_name":"ruby/setup-ruby","ecosystem":"actions","requirements":"d5fb7a202fc07872cb44f00ba8e6197b70cb0c55","direct":true,"kind":"composite","optional":false},{"id":18410937633,"package_name":"citation-file-format/cffconvert-github-action","ecosystem":"actions","requirements":"4cf11baa70a673bfdf9dad0acc7ee33b3f4b6084","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/delete-old-workflow-runs.yml","sha":null,"kind":"manifest","created_at":"2024-06-04T19:47:30.501Z","updated_at":"2024-06-04T19:47:30.501Z","repository_link":"https://github.com/DevelopersToolbox/os-detect/blob/master/.github/workflows/delete-old-workflow-runs.yml","dependencies":[{"id":18410937634,"package_name":"Mattraks/delete-workflow-runs","ecosystem":"actions","requirements":"39f0bbed25d76b34de5594dceab824811479e5de","direct":true,"kind":"composite","optional":false},{"id":18410937636,"package_name":"Gamesight/slack-workflow-status","ecosystem":"actions","requirements":"68bf00d0dbdbcb206c278399aa1ef6c14f74347a","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/dependabot.yml","sha":null,"kind":"manifest","created_at":"2024-06-04T19:47:33.534Z","updated_at":"2024-06-04T19:47:33.534Z","repository_link":"https://github.com/DevelopersToolbox/os-detect/blob/master/.github/workflows/dependabot.yml","dependencies":[{"id":18410937639,"package_name":"dependabot/fetch-metadata","ecosystem":"actions","requirements":"5e5f99653a5b510e8555840e80cbf1514ad4af38","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/document-validation.yml","sha":null,"kind":"manifest","created_at":"2024-06-04T19:47:33.652Z","updated_at":"2024-06-04T19:47:33.652Z","repository_link":"https://github.com/DevelopersToolbox/os-detect/blob/master/.github/workflows/document-validation.yml","dependencies":[{"id":18410937640,"package_name":"ActionsToolbox/get-language-versions-action","ecosystem":"actions","requirements":"446919617fd774095b5dd3ed71c39dd3fd0d8f4f","direct":true,"kind":"composite","optional":false},{"id":18410937641,"package_name":"actions/checkout","ecosystem":"actions","requirements":"a5ac7e51b41094c92402da3b24376905380afc29","direct":true,"kind":"composite","optional":false},{"id":18410937642,"package_name":"ruby/setup-ruby","ecosystem":"actions","requirements":"d5fb7a202fc07872cb44f00ba8e6197b70cb0c55","direct":true,"kind":"composite","optional":false},{"id":18410937643,"package_name":"actions/setup-node","ecosystem":"actions","requirements":"60edb5dd545a775178f52524783378180af0d1f8","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/generate-release.yml","sha":null,"kind":"manifest","created_at":"2024-06-04T19:47:33.966Z","updated_at":"2024-06-04T19:47:33.966Z","repository_link":"https://github.com/DevelopersToolbox/os-detect/blob/master/.github/workflows/generate-release.yml","dependencies":[{"id":18410937644,"package_name":"actions/checkout","ecosystem":"actions","requirements":"a5ac7e51b41094c92402da3b24376905380afc29","direct":true,"kind":"composite","optional":false},{"id":18410937645,"package_name":"Bullrich/generate-release-changelog","ecosystem":"actions","requirements":"6b60f004b4bf12ff271603dc32dbd261965ad2f2","direct":true,"kind":"composite","optional":false},{"id":18410937646,"package_name":"softprops/action-gh-release","ecosystem":"actions","requirements":"69320dbe05506a9a39fc8ae11030b214ec2d1f87","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/generate-test-release.yml","sha":null,"kind":"manifest","created_at":"2024-06-04T19:47:34.001Z","updated_at":"2024-06-04T19:47:34.001Z","repository_link":"https://github.com/DevelopersToolbox/os-detect/blob/master/.github/workflows/generate-test-release.yml","dependencies":[{"id":18410937647,"package_name":"actions/checkout","ecosystem":"actions","requirements":"a5ac7e51b41094c92402da3b24376905380afc29","direct":true,"kind":"composite","optional":false},{"id":18410937648,"package_name":"Bullrich/generate-release-changelog","ecosystem":"actions","requirements":"6b60f004b4bf12ff271603dc32dbd261965ad2f2","direct":true,"kind":"composite","optional":false},{"id":18410937649,"package_name":"softprops/action-gh-release","ecosystem":"actions","requirements":"69320dbe05506a9a39fc8ae11030b214ec2d1f87","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/greetings.yml","sha":null,"kind":"manifest","created_at":"2024-06-04T19:47:34.044Z","updated_at":"2024-06-04T19:47:34.044Z","repository_link":"https://github.com/DevelopersToolbox/os-detect/blob/master/.github/workflows/greetings.yml","dependencies":[{"id":18410937650,"package_name":"actions/first-interaction","ecosystem":"actions","requirements":"34f15e814fe48ac9312ccf29db4e74fa767cbab7","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/purge-deprecated-workflow-runs.yml","sha":null,"kind":"manifest","created_at":"2024-06-04T19:47:34.064Z","updated_at":"2024-06-04T19:47:34.064Z","repository_link":"https://github.com/DevelopersToolbox/os-detect/blob/master/.github/workflows/purge-deprecated-workflow-runs.yml","dependencies":[{"id":18410937651,"package_name":"otto-de/purge-deprecated-workflow-runs","ecosystem":"actions","requirements":"31a4e821d43e9a354cbd65845922c76e4b4b3633","direct":true,"kind":"composite","optional":false},{"id":18410937652,"package_name":"Gamesight/slack-workflow-status","ecosystem":"actions","requirements":"68bf00d0dbdbcb206c278399aa1ef6c14f74347a","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/repository-validation.yml","sha":null,"kind":"manifest","created_at":"2024-06-04T19:47:34.082Z","updated_at":"2024-06-04T19:47:34.082Z","repository_link":"https://github.com/DevelopersToolbox/os-detect/blob/master/.github/workflows/repository-validation.yml","dependencies":[{"id":18410937653,"package_name":"ActionsToolbox/get-language-versions-action","ecosystem":"actions","requirements":"446919617fd774095b5dd3ed71c39dd3fd0d8f4f","direct":true,"kind":"composite","optional":false},{"id":18410937654,"package_name":"actions/checkout","ecosystem":"actions","requirements":"a5ac7e51b41094c92402da3b24376905380afc29","direct":true,"kind":"composite","optional":false},{"id":18410937655,"package_name":"actions/setup-go","ecosystem":"actions","requirements":"cdcb36043654635271a94b9a6d1392de5bb323a7","direct":true,"kind":"composite","optional":false},{"id":18410937657,"package_name":"actions/setup-python","ecosystem":"actions","requirements":"82c7e631bb3cdc910f68e0081d67478d79c6982d","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/security-hardening.yml","sha":null,"kind":"manifest","created_at":"2024-06-04T19:47:34.653Z","updated_at":"2024-06-04T19:47:34.653Z","repository_link":"https://github.com/DevelopersToolbox/os-detect/blob/master/.github/workflows/security-hardening.yml","dependencies":[{"id":18410937659,"package_name":"actions/checkout","ecosystem":"actions","requirements":"a5ac7e51b41094c92402da3b24376905380afc29","direct":true,"kind":"composite","optional":false},{"id":18410937660,"package_name":"zgosalvez/github-actions-ensure-sha-pinned-actions","ecosystem":"actions","requirements":"2f2ebc6d914ab515939dc13f570f91baeb2c194c","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/stale.yml","sha":null,"kind":"manifest","created_at":"2024-06-04T19:47:34.797Z","updated_at":"2024-06-04T19:47:34.797Z","repository_link":"https://github.com/DevelopersToolbox/os-detect/blob/master/.github/workflows/stale.yml","dependencies":[{"id":18410937663,"package_name":"actions/stale","ecosystem":"actions","requirements":"28ca1036281a5e5922ead5184a1bbf96e5fc984e","direct":true,"kind":"composite","optional":false},{"id":18410937664,"package_name":"Gamesight/slack-workflow-status","ecosystem":"actions","requirements":"68bf00d0dbdbcb206c278399aa1ef6c14f74347a","direct":true,"kind":"composite","optional":false}]}],"score":null,"created_at":"2025-09-04T15:50:58.945Z","updated_at":"2025-10-07T08:11:58.845Z","avatar_url":"https://github.com/DevelopersToolbox.png","language":"Shell","category":null,"sub_category":null,"monthly_downloads":0,"funding_links":["https://github.com/sponsors/WolfSoftware","https://github.com/sponsors/TGWolf"],"readme_doi_urls":[],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":[],"project_url":"https://science.ecosyste.ms/api/v1/projects/26727","html_url":"https://science.ecosyste.ms/projects/26727","bibtex_url":"https://science.ecosyste.ms/projects/26727/export.bibtex","apalike_url":"https://science.ecosyste.ms/projects/26727/export.apalike"}