{"id":21068566,"url":"https://github.com/fredrickb/kotlin-network-cli-poc","last_synced_at":"2026-05-17T20:37:46.419Z","repository":{"id":67920926,"uuid":"287812131","full_name":"FredrickB/kotlin-network-cli-poc","owner":"FredrickB","description":"Simple proof of concept for testing kscript and coroutines.","archived":false,"fork":false,"pushed_at":"2020-09-06T13:16:47.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T21:38:12.682Z","etag":null,"topics":["kotlin","kotlin-coroutines","kscript"],"latest_commit_sha":null,"homepage":"https://fredrickb.com/2020/09/06/scripting-in-kotlin-with-kscript/","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FredrickB.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-08-15T19:30:28.000Z","updated_at":"2020-09-06T18:34:32.000Z","dependencies_parsed_at":"2023-04-26T11:16:20.919Z","dependency_job_id":null,"html_url":"https://github.com/FredrickB/kotlin-network-cli-poc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FredrickB%2Fkotlin-network-cli-poc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FredrickB%2Fkotlin-network-cli-poc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FredrickB%2Fkotlin-network-cli-poc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FredrickB%2Fkotlin-network-cli-poc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FredrickB","download_url":"https://codeload.github.com/FredrickB/kotlin-network-cli-poc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243510056,"owners_count":20302296,"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":["kotlin","kotlin-coroutines","kscript"],"created_at":"2024-11-19T18:23:11.087Z","updated_at":"2025-12-28T20:33:05.482Z","avatar_url":"https://github.com/FredrickB.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kotlin network cli proof of concept\nThis is a simple proof of concept for testing [kscript](https://github.com/holgerbrandl/kscript) and coroutines. \n\nSimply finds all network interfaces on the host and attempts to ping each host on subnet with range /24. \n\n_The networking portion of the code is a best-case effort due to the underlying implementation of the networking libraries. It works ok enough for a proof of concept, but don't use it for anything serious._\n\n## Development\n### Setup environment\nAssuming you already have [sdkman](https://sdkman.io/) installed:\n\n1. `sdk install kotlin`\n1. `sdk install kscript`\n\n### Running the project\n`kscript App.kts` \n\n### Setting up IDEA\n`kscript --idea App.kts`\n\n#### Annotation support\nIncluding screenshot since I had some troubles with this initially. \n\"kscript-annotations\" on the bottom is what is necessary, the rest are added within the script files themselves or by kscript.\n\n![idea project setup](/screenshots/idea_project_structure_annotation_setup.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffredrickb%2Fkotlin-network-cli-poc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffredrickb%2Fkotlin-network-cli-poc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffredrickb%2Fkotlin-network-cli-poc/lists"}