Tokamak
compose-multiplatform
Our great sponsors
Tokamak | compose-multiplatform | |
---|---|---|
22 | 96 | |
2,446 | 14,664 | |
2.0% | 2.0% | |
0.0 | 9.6 | |
about 1 month ago | 4 days ago | |
Swift | 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.
Tokamak
-
Writing Gnome Apps with Swift
https://github.com/TokamakUI/Tokamak
Iām also working (slowly) on native Flutter channels:
https://github.com/PADL/FlutterSwift
But this is really targeted at embedded use cases.
- Show HN: Tokamak ā A Dependency Injection-Centric Server-Side Framework for Zig
- Tokamak: SwiftUI-compatible framework for building browser apps with WebAssembly
- Mousetrap.jl: a GUI library for Julia and C++ that fully wrap GTK4
-
Swift UIKit web frontend?
There is Tokamak but I don't know how usable it is just yet.
- Swift Achieved Dynamic Linking Where Rust Couldn't
-
I would like to get a job as a iOS developer. Should I begin by learning UIKit or SwiftUI first?
TokamakUI runs via SwiftUI on WASM for web. Apple just hired the creator of the framework.
-
Apple overtakes Android to pass 50% share of smartphones used in US; dominates global premium sales
You can even make web apps by creating web components in swift with Tokamak.
-
JavaScriptKit help
I am playing around with Tokamak just for a bit of fun and learning, and it's been pretty solid so far! Though I want to branch out and play with some dynamic data from a random API, instead of just using mocked/pre-populated data.
-
Beginner - is it complicated to make a web app from an app written with SwiftUI for iOS?
There is SwiftWasm that compiles swift into WebAssembly so you can run it in the browser, but swift can't directly manipulate the DOM so you'd still need JavaScript or something like TokamakUI so you can design the front-end portion of your app.
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?
SwiftWebUI - SwiftUI with support for WebAssembly
javafx-examples - A large collection of JavaFX examples demonstrating basic + advanced features of JavaFX.
Vapor - š§ A server-side Swift HTTP web framework.
tornadofx - Lightweight JavaFX Framework for Kotlin
Mongrel - Build declarative HTML in Swift.
skiko - Kotlin MPP bindings to Skia
The-SwiftUI-Tutorials - Swift, GO (Golang) , SwiftUI, UIKit Tutorials.š²š»š„
javafx-gradle-plugin - Gradle plugin that makes it easy to work with JavaFX 11+
Jetpack-Compose-Playground - Community-driven collection of Jetpack Compose example code and tutorials :rocket: https://foso.github.io/compose
jupyterlite - Wasm powered Jupyter running in the browser š”
tornadofx2 - TornadoFX 2.0