About the Online IDE infrastructure used by Kotlin at "Try Online" feature

Hi Kotlin users/developers,

I’m really interested in the web infrastructure used to compile/run Kotlin online. Is there a framework based on Kotlin iteself to build a similar one? I’m also developing a JVM based language [basically Java + annotations] where I want to provide an online IDE and this one used by Kotlin is really interesting and really useful.

thanks much,
hemr

There is no framework as such, and we do not plan to provide one, but the code of the web demo is opensource: GitHub - JetBrains/kotlin-web-demo: Online mini-IDE for Kotlin

thanks much!

Unfortunately this great tool fails on building:

C:\Users\John\work\src\kotlin-web-demo>gradlew.bat war

> Configure project :kotlin.web.demo.backend
:: loading settings :: url = jar:file:/C:/Users/John/.gradle/wrapper/dists/gradle-4.2-bin/cl9xe1l8k8ophj72k8rv6xbu7/gradle-4.2/lib/plugins/ivy-2.2.0.jar!/org/apache/ivy/core/settings/ivysettings.xml


FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\John\work\src\kotlin-web-demo\kotlin.web.demo.backend\build.gradle' line: 36

* What went wrong:
A problem occurred evaluating project ':kotlin.web.demo.backend'.
> Could not resolve all files for configuration ':versions:1.4-M2:kotlinJS'.
   > Could not resolve org:Kotlin_KotlinRelease_140_IdePluginTests_IdeaUltimate_193:1.4-M2-release-92.
     Required by:
         project :versions:1.4-M2
      > Could not resolve org:Kotlin_KotlinRelease_140_IdePluginTests_IdeaUltimate_193:1.4-M2-release-92.
         > Could not get resource 'https://kotlin.bintray.com/kotlin-eap-1.2/org/Kotlin_KotlinRelease_140_IdePluginTests_IdeaUltimate_193/1.4-M2-release-92/Kotlin_KotlinRelease_140_IdePluginTests_IdeaUltimate_193-1.4-M2-release-92.pom'.
            > Could not GET 'https://kotlin.bintray.com/kotlin-eap-1.2/org/Kotlin_KotlinRelease_140_IdePluginTests_IdeaUltimate_193/1.4-M2-release-92/Kotlin_KotlinRelease_140_IdePluginTests_IdeaUltimate_193-1.4-M2-release-92.pom'.
               > Host name 'kotlin.bintray.com' does not match the certificate subject provided by the peer (CN=*.jfrog.io)
      > Could not resolve org:Kotlin_KotlinRelease_140_IdePluginTests_IdeaUltimate_193:1.4-M2-release-92.
         > Could not get resource 'https://buildserver.labs.intellij.net/guestAuth/repository/download/Kotlin_KotlinRelease_140_IdePluginTests_IdeaUltimate_193/1.4-M2-release-92/teamcity-ivy.xml'.
            > Could not GET 'https://buildserver.labs.intellij.net/guestAuth/repository/download/Kotlin_KotlinRelease_140_IdePluginTests_IdeaUltimate_193/1.4-M2-release-92/teamcity-ivy.xml'. Received status code 401 from server: Unauthorized