simd.jaytux.com/frontend
jay-tux fda5e74953
Updated packaging script again
2025-05-05 11:03:44 +02:00
..
composeApp Frontend: icons 2025-05-04 12:30:08 +02:00
gradle Large part of frontend implemented (MP); linked to Desktop, gotta link to WasmJs 2025-04-27 16:09:30 +02:00
kotlin-js-store Started implementing client 2025-04-25 19:15:46 +02:00
.gitignore Packaging script 2025-04-27 21:03:41 +02:00
README.md README 2025-05-04 11:51:44 +02:00
build.gradle.kts Added frontend skeleton 2025-04-25 18:15:37 +02:00
gradle.properties Added frontend skeleton 2025-04-25 18:15:37 +02:00
gradlew Added frontend skeleton 2025-04-25 18:15:37 +02:00
gradlew.bat Added frontend skeleton 2025-04-25 18:15:37 +02:00
package.sh Updated packaging script again 2025-05-05 11:03:44 +02:00
settings.gradle.kts Added frontend skeleton 2025-04-25 18:15:37 +02:00

README.md

Intrinsics UI

The UI powering https://simd.jaytux.com

Running

The Gradle wrapper (./gradlew) in the repository can be used to run the project. Currently, two targets are available:

  • Web: The web application uses Kotlin's WASM/JS target and is "optimized" for landscape mode. I am planning to add a portrait mode in the future (together with an Android/iOS version). There are three important Gradle tasks:
    • wasmJsBrowserRun: runs the web application (mostly used for development);
    • wasmJsBrowserDistribution: builds a distribution of the web application, which can be statically served;
    • wasmJsBrowserProductionWebpack: builds a production-ready web application, which can be statically served (this target takes a lot longer to build, but should be more performant/smaller in code size).
  • Desktop/JVM: The desktop application uses Kotlin's JVM target. It has a few important Gradle tasks:
    • desktopRun: runs the desktop application (mostly used for development);
    • packageAppImage, packageDeb, packageDmg, packageMsi: packages the desktop application for distribution on various platforms (Linux, MacOS, Windows).

The web distribution can be found in composeApp/build/dist/wasmJs, and the desktop distribution in composeApp/build/compose/binaries/main/app.

You can also use the ./package.sh script to build both (for Desktop, the AppImage will be built). This script also generates a compressed archive (.tar.gz) for both.

Configuring

The only configuration is the backend URL. At the moment, it is set explicitly in the code, but I might change that. To change it, change the value com.jaytux.simd.frontend.client.Client.baseUrl in /composeApp/src/commonMain/kotlin/com/jaytux/simd/frontend/client/Client.kt.