SnapKit
compose-multiplatform
Our great sponsors
SnapKit | compose-multiplatform | |
---|---|---|
10 | 96 | |
189 | 14,664 | |
- | 2.0% | |
9.4 | 9.6 | |
8 days ago | 4 days ago | |
Java | Kotlin | |
GNU General Public License v3.0 or later | 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.
SnapKit
-
Show HN: SnapCode – a real Java IDE in the browser
SnapCode is actually using SnapKit (https://github.com/reportmill/SnapKit) which can run on either WebAPI/DOM (in browser) or Swing (desktop). In the browser this helps slim the download and improve performance by using more browser native code.
For pricing, SnapCode is free for individual use and will remain so. Perhaps there will be funding opportunities from large organizations or for embedding use cases to help provide for the continued health of the product and community.
-
What do you use for building Desktop apps these days?
The new kid on the block is SnapKit: https://github.com/reportmill/SnapKit
- What’s the cool app framework and UI i should be using ?
-
Ask HN: Tips for modern Java Swing development?
Theres a bit more to it than that, since you want resetUI to update all of your components without triggering respondUI(). And you want all your components to be automatically configured to call respondUI() when there is user interaction.
I’ve written one of these before, but I don’t have access to a public version anymore. I do all my current UI dev in a UI kit built on top of Swing. But here is what I use there that solves this problem:
https://github.com/reportmill/SnapKit/blob/master/src/snap/v...
-
Ask HN: Why isn't GWT or Vaadin more popular among Java developers?
I use SnapKit to do Java desktop development which compiles easily to JavaScript using TeaVM. SnapKit is both modern and conventional, a good middle ground between Swing and JavaFX. But most importantly, it combines the traditional win of desktop Java UI dev with the ease of web deployment.
SnapKit:
- Ask HN: Does Java need a modern Java UI toolkit for desktop/web?
- Why did Java lose UIs to HTML/JS?
-
Ask HN: Who Wants to Collaborate?
Repo: https://github.com/reportmill/SnapKit
- What's the future of Java UI development?
compose-multiplatform
-
Understanding file associations in JVM apps
So, to add file associations, we need to be able to pass both the .properties file and the --file-associations option. At the time of writing this article, the org.jetbrains.compose plugin doesn't provide such a mechanism. There is an open issue on GitHub that describes a possible workaround, which, unfortunately seems to not work on macOS.
-
Compose cannot be used for large amount of text
JetBrains has a simplified example of a general-purpose Compose text viewer here: https://github.com/JetBrains/compose-multiplatform/blob/master/examples/codeviewer/shared/src/commonMain/kotlin/org/jetbrains/codeviewer/ui/editor/Editor.kt
-
[Compose Multiplatform] Disable a button according to a list of flow values
![image](https://github.com/JetBrains/compose-multiplatform/assets/1382241/6747a3f6-53b9-43da-8d97-ab1e1e31170f)
- Compose Multiplatform 1.5.0-beta01
-
Timeline with Scrollbar in LazyColumn Compose
Compose for desktop has a scrollbar component available. You probably can't use that directly on Android, but you could probably steal most of its code.
- How good is Compose Multiplatform in production especially in creating Desktop apps?
-
Kotlin for a desktop App
My company uses https://github.com/JetBrains/compose-multiplatform to make a desktop app in Kotlin. It's amazing and fantastic. It's basically as mature as using Kotlin in an Android app.
-
Kamel v0.5.0 released with Kotlin Native and JS support
Kamel is an asynchronous media loading library for Compose Multiplatform.
-
Ksoup - Kotlin Multiplatform HTML Parser ⚡
Kotlin Compose Multiplatform is the way to do Desktop apps. https://github.com/JetBrains/compose-multiplatform
-
JetBrains Compose is now Compose Multiplatform
As for missing controls, a common one is a grid. They have built in grids, but again they are built for Android and don't make any sense in a desktop app. There is no simple way to create an Excel-like Data Grid like you might see in Windows Forms, although it can be done. https://github.com/JetBrains/compose-multiplatform/issues/344.
What are some alternatives?
teavm - Compiles Java bytecode to JavaScript, WebAssembly and C
javafx-examples - A large collection of JavaFX examples demonstrating basic + advanced features of JavaFX.
ubikom - Free, secure communications for everyone, powered by decentralized private identity.
tornadofx - Lightweight JavaFX Framework for Kotlin
cljfx - Declarative, functional and extensible wrapper of JavaFX inspired by better parts of react and re-frame
skiko - Kotlin MPP bindings to Skia
Tokamak - SwiftUI-compatible framework for building browser apps with WebAssembly and native apps for other platforms
javafx-gradle-plugin - Gradle plugin that makes it easy to work with JavaFX 11+
tornadofx2 - TornadoFX 2.0
Jetpack-Compose-Playground - Community-driven collection of Jetpack Compose example code and tutorials :rocket: https://foso.github.io/compose