{"id":18127640,"url":"https://github.com/importre/kotlin-system","last_synced_at":"2026-05-01T08:32:18.208Z","repository":{"id":146554418,"uuid":"92286406","full_name":"importre/kotlin-system","owner":"importre","description":":computer: Checking current OS","archived":false,"fork":false,"pushed_at":"2017-05-24T15:11:07.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T14:14:13.760Z","etag":null,"topics":["kotlin","linux","macos","platform","windows"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/importre.png","metadata":{"files":{"readme":"readme.adoc","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-05-24T11:47:18.000Z","updated_at":"2017-05-25T15:04:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"7a561f2e-0b57-42a6-bc1f-871b5f162970","html_url":"https://github.com/importre/kotlin-system","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/importre/kotlin-system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/importre%2Fkotlin-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/importre%2Fkotlin-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/importre%2Fkotlin-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/importre%2Fkotlin-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/importre","download_url":"https://codeload.github.com/importre/kotlin-system/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/importre%2Fkotlin-system/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32490810,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["kotlin","linux","macos","platform","windows"],"created_at":"2024-11-01T09:21:30.731Z","updated_at":"2026-05-01T08:32:18.194Z","avatar_url":"https://github.com/importre.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"= kotlin-system\n:toc:\n\n== Install\n\nimage::https://api.bintray.com/packages/importre/maven/kotlin-system/images/download.svg[link=\"https://bintray.com/importre/maven/kotlin-system/_latestVersion\"]\n\n```gradle\nrepositories {\n    jcenter()\n}\n\ndependencies {\n    compile \"com.importre:kotlin-system:$system_version\"\n}\n```\n\n\n== Examples\n\n=== Kotlin\n\n```kotlin\nprintln(isWindows)\nprintln(isMacOS)\nprintln(isLinux)\nprintln(isOther)\n```\n\n=== Java\n\n```java\nSystem.out.println(SystemUtils.isWindows)\nSystem.out.println(SystemUtils.isMacOS)\nSystem.out.println(SystemUtils.isLinux)\nSystem.out.println(SystemUtils.isOther)\n```\n\n\n== License\n\nMIT © Jaewe Heo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimportre%2Fkotlin-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimportre%2Fkotlin-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimportre%2Fkotlin-system/lists"}