{"id":28499851,"url":"https://github.com/kotlin/kotlin-script-examples","last_synced_at":"2025-07-04T04:31:17.325Z","repository":{"id":41853273,"uuid":"238941041","full_name":"Kotlin/kotlin-script-examples","owner":"Kotlin","description":"Examples of Kotlin Scripts and usages of the Kotlin Scripting API","archived":false,"fork":false,"pushed_at":"2025-05-13T20:07:58.000Z","size":214,"stargazers_count":328,"open_issues_count":11,"forks_count":47,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-06-08T15:05:06.749Z","etag":null,"topics":["kotlin","kotlin-script"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kotlin.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2020-02-07T14:17:39.000Z","updated_at":"2025-06-07T01:53:24.000Z","dependencies_parsed_at":"2024-01-19T09:57:00.797Z","dependency_job_id":"bb870c1b-56d3-449e-9456-c98a4f65511e","html_url":"https://github.com/Kotlin/kotlin-script-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Kotlin/kotlin-script-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kotlin%2Fkotlin-script-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kotlin%2Fkotlin-script-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kotlin%2Fkotlin-script-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kotlin%2Fkotlin-script-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kotlin","download_url":"https://codeload.github.com/Kotlin/kotlin-script-examples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kotlin%2Fkotlin-script-examples/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263445763,"owners_count":23467608,"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-script"],"created_at":"2025-06-08T15:05:07.061Z","updated_at":"2025-07-04T04:31:17.314Z","avatar_url":"https://github.com/Kotlin.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![JetBrains incubator project](https://jb.gg/badges/incubator-flat-square.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)\n\n# Kotlin scripting examples\n\nThis repository contains example projects and individual scripts, as well as links to the external examples \ndemonstrating Kotlin Scripting functionality and API usage.\n\nIf you know good examples of the Kotlin scripting API usage, not mentioned here, please submit an issue or a pull \nrequest with the link and short description.  \n\n## Examples in this repository\n\nThe complete project could be compiled with Gradle, as well as imported e.g. in IntelliJ IDEA.\n\nThe individual example projects are mostly independent and could be copied and reused independently, but build files\nshould be adapted accordingly, mostly to supply required Kotlin version properties and setup inter-project dependencies\nwhen needed\n\n### Script definitions with scripting hosts\n\n- [Simple script definition](jvm/basic/jvm-simple-script/SimpleScript.md)\n- [Script with dynamic dependencies from Maven](jvm/basic/jvm-maven-deps/MavenDeps.md)\n- [Scripting Host with Kotlin Compiler Embeddable](jvm/basic/jvm-embeddable-host/EmbeddableCompiler.md)\n- [Simplified main-kts-like script implementation](jvm/simple-main-kts/SimpleMainKts.md)\n- [`main-kts` scripts examples](jvm/main-kts/MainKts.md)\n- [using scripting via JSR 223 interface](jvm/jsr223/jsr223.md)\n\n## External examples\n\n- [kotlin-asyncapi: Maven plugin and Spring Boot executable JAR scripting hosts](https://github.com/OpenFolder/kotlin-asyncapi)\n\n## License\nThe Apache 2 license (given in full in [LICENSE.txt](LICENSE.txt) applies to all code in this repository which \nis copyright by JetBrains.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkotlin%2Fkotlin-script-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkotlin%2Fkotlin-script-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkotlin%2Fkotlin-script-examples/lists"}