kobweb
kotlin-wrappers
kobweb | kotlin-wrappers | |
---|---|---|
17 | 16 | |
1,298 | 1,299 | |
3.3% | 0.9% | |
9.8 | 9.9 | |
7 days ago | 2 days ago | |
Kotlin | Kotlin | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kobweb
- Meet kobweb a web frame framework for kotlin
-
Kotlin Multiplatform User Survey: Q2 2023
Done, added "Other" and "None of the above" options. Thanks for the feedback! Btw, were you talking about this library: https://github.com/varabyte/kobweb?
-
On the Compose HTML rebranding (TL;DR - everything is fine!)
Aaaaand sourcemap config done: https://github.com/varabyte/kobweb/commit/84e17b710d92332efdb37abb887e546a7f03c73d
-
JetBrains Compose is now Compose Multiplatform
(For people who don't know Kobweb, you can read more at https://github.com/varabyte/kobweb, but until I update it, please replace "Compose for Web" to "Compose HTML" in your head, thanks!)
-
How can I learn Kotlin web development?
I'm actively working on https://github.com/varabyte/kobweb, which builds on top of Compose for Web and adds some extra support to make it a little easier for Android developers to get into. (You will ultimately need to learn html / css but I believe Kobweb makes that a little easier to start getting used to it).
-
How relevant is it to use Kotlin for frontend development?
https://github.com/varabyte/kobweb is Compose for Web using DOM rendering instead of Canvas with a Jamstack like approach. Worth to try and if it later upgrade from Kotlin/JS to Kotlin/Wasm, it could really become something big …
-
Tech-stack for web application using Kotlin?
I'm working on https://github.com/varabyte/kobweb which is not mature, but you might want to check it out anyway?
-
The Potential of Kotlin/WASM
This is indeed a very important point, and I care deeply about that.
For Compose for Web, there has been I think a lot of debate to decide if the Web rendering should be Canvas or DOM based. At least for now, it seems the official support is focusing on Canvas rendering for pixel-perfect rendering, and it already works with Koltin/Wasm, see https://news.ycombinator.com/item?id=34779746. This choice is probably driven by Kotlin current mobile app main use case.
But via community-driven project like https://github.com/varabyte/kobweb or https://github.com/mpetuska/kmdc, Compose for Web can also be a good Web citizen and perform DOM based rendering.
-
front-end framework for kotlin
I'm working on an opinionated framework on top of their framework called Kobweb, but depending on your goals it may be sightly too early to use it.
-
Why can't I run my project?
This may not help but I have a working ktor server in my project. Here's my Gradle config: https://github.com/varabyte/kobweb/blob/main/backend/server/build.gradle.kts
kotlin-wrappers
-
How can I learn Kotlin web development?
If you want something more standard, I'd look at Kotlin Wrappers and look at examples of using react - https://github.com/JetBrains/kotlin-wrappers
-
Create any kind of app with Kotlin
Kotlin wrappers for JS.
-
[Kotlin/JS for React] Do error boundaries exist?
The only reference I can find to an error boundary in Kotlin React is at QueryErrorResetBoundary.kt in the kotlin-wrappers repository. Would any of you know anything about this?
-
[Typesafe HTML DSL] Is there a way to use the "%" unit in CSS?
Yes! Interesting that it isn't defined in the Length.kt file (that's where I was looking for it) and is instead in its lonesome, but I guess it makes sense as it's not actually a length value. Thanks for the help!
-
React Storybook for Kotlin/JS: Basic set up
plugins { kotlin("js") id("com.github.node-gradle.node") version "3.4.0" } kotlin { js(IR) { // let's rename it to more reusable as under that name we will access it in our boilerplate code moduleName = "stories" // browser also works fine here, we just need it for compiling purposes as of now nodejs {} // add a startup script to our package json compilations["main"].packageJson { customField( "scripts", mapOf("storybook" to "start-storybook -p 6006 -c $projectDir/.storybook --ci") ) } binaries.executable() } } tasks.named("build") { dependsOn("assemble") dependsOn("copyJsStories") } tasks.register("copyJsStories") { dependsOn("developmentExecutableCompileSync") from("$projectDir/src/main/js") into("$buildDir/compileSync/main/developmentExecutable/kotlin") // flatten all files to appear on one level eachFile { if (isDirectory) { exclude() } path = path.replace("/", ".") } } tasks.register("copyPackageJson") { dependsOn("build") from("$buildDir/tmp/publicPackageJson/package.json") into("$projectDir") } tasks.register("start") { dependsOn("build") dependsOn("npmInstall") args.addAll("run", "storybook") } tasks.named("npmInstall") { dependsOn("copyPackageJson") workingDir.set(file("$projectDir")) inputs.file("package.json") } dependencies { // dependency to the project with components implementation(project(":app")) // react dependencies to put on package.json explicitly // can resolve the actual versions on https://github.com/JetBrains/kotlin-wrappers implementation(npm("react", "^17.0.2")) implementation(npm("react-dom", "^17.0.2")) implementation(npm("react-router-dom", "^6.2.2")) // storybook specific dependencies implementation(npm("@storybook/builder-webpack5", "^6.5.9")) implementation(npm("@storybook/manager-webpack5", "^6.5.9")) implementation(npm("@storybook/node-logger", "^6.5.9")) implementation(npm("@storybook/preset-create-react-app", "^4.1.2")) implementation(npm("@storybook/react", "^6.5.9")) }
-
How to explain a novice recruiter how to find a good Kotlin dev?
kotlin js https://github.com/JetBrains/kotlin-wrappers/tree/master/kotlin-react Multiplatform etc.
-
Do you use kotlin/js?
From my experience if you're truly trying to interop with JavaScript code that is already out there on npm, you better hope there is a library that already wraps it like kotlin wrappers. Otherwise you would have to write a wrapper library yourself or use dukat to convert typescript definitions to kotlin (which I have never had the best luck converting but maybe it got better?).
-
Kotlin Bintray Bad Gateway
Everything moved to central a long back - https://github.com/JetBrains/kotlin-wrappers
-
[AskJS] I have spent 7 years creating a JavaScript alternative, would love to hear your feedback
It's still pretty finnicky to configure and it hasn't emerged from alpha yet, so its future isn't exactly secure, but I'm hopeful as they appear to be investing a lot of resources into it and adjacent projects, e.g. the kotlin-react library.
-
Kotlin Team AMA #3: Ask Us Anything
We already have a battle-tested integration with react (it's used inside jetbrains.space) -- https://github.com/JetBrains/kotlin-wrappers And, take a look at docs and hands-on.
What are some alternatives?
kvision - Object oriented web framework for Kotlin/JS
xmlutil - XML Serialization library for Kotlin
vaadin-on-kotlin - Writing full-stack statically-typed web apps on JVM at its simplest
compose-multiplatform - Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
wasm-languages - How to use WebAssembly in various languages
kotlindl - High-level Deep Learning Framework written in Kotlin and inspired by Keras
Svelte - Cybernetically enhanced web apps
mobx-state-tree - Full-featured reactive state management without the boilerplate
navigation - Simple navigation in Compose Multiplatform apps
KorGE - KorGE Game Engine. Multiplatform Kotlin Game Engine
kobweb-templates - Templates which can be used by the Kobweb framework.
swift-evolution - This maintains proposals for changes and user-visible enhancements to the Swift Programming Language.