kotlinx.html
KorGE
kotlinx.html | KorGE | |
---|---|---|
11 | 29 | |
1,550 | 2,318 | |
0.6% | 1.8% | |
7.4 | 9.6 | |
about 1 month ago | 5 days ago | |
Kotlin | Kotlin | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
kotlinx.html
-
How to use htmx with ktor
1 Clone this repo https://github.com/tom-delalande/html-to-kotlin-converter and open in intellij 2 In the root of that project folder, create input.txt and add the component/html that you want to convert (feel free to pick a component from tailwind), run main in that project and it'll be converted to kotlin ktor html DSL in output.txt (basically, that's the readme of that project lol) 3 in your ktor project (make sure you already added ktor-html from kotlin team), respond to a route like so
-
Dart 3 will be on pair with Kotlin and other top languages (you can see more features in the proposal)
As for the strange infix syntax, you're correct - it's not important (for Dart anyway). Kotlin supports writing code that have DSL like syntax making things like typesafe HTML or Jetpack Compose possible.
- I taught the chat bot an alternative syntax for HTML, called HBML, basically just braces instead of tags... we are so screwed
-
"A New Programming Metric": my attempt to come up with a better way of handling the "how good are you at a programming language" question.
I'm not familiar with JavaEE/JSP so I cannot really answer that, why do these technologies need a special IDE? Does JSP even make sense with Kotlin? If I was stuck with JSP I'd probably use Java since that's what JSP was made for. Kotlin has other solutions like https://github.com/Kotlin/kotlinx.html
-
Create any kind of app with Kotlin
Html DSL in Kotlin. See it on Github.
-
How do you imoprt custom fonts in Kotlin/JS?
If so, and if they don't provide an easy way to set a font family list, you may have to escape into a raw block: https://github.com/Kotlin/kotlinx.html/wiki/Style-and-script-tags
-
Building a DOM DSL in Kotiln
You might like to leave a comment here, someone requested svg support in the Kotlin HTML dsl https://github.com/Kotlin/kotlinx.html/issues/144
- Is there an equivalent for Compose Web for server side Kotlin apps?
-
Show HN: Imba – I have spent 7 years creating a programming language for the web
Thanks for sharing, I really like projects like this. And the website is really informative.
I find it less of a new language and more of a JS preprocessor, removing lots of the cruft and integrating XML-tags and CSS in a very neat way.
What I miss:
1) I feel the web is shifting to more type checking. TS, Elm, Kotlin.js... I personally also prefer more typesafety, especially if the project grows in LOC/team size.
2) Compared to JSX, Imba does a much better job in integrating adjacent technologies. Though I much prefer these to be integrated in an eDSL fashion. For example how Elm does HTML templating (in Elm) or Kotlinx.html[1].
Just taste i guess. Good luck with yr project!
[1]: https://github.com/Kotlin/kotlinx.html
-
Kotlin Team AMA #3: Ask Us Anything
I do use kotlinx.html and while there is a lack of the documentation about the tags, most of them are already implemented (as far as I know they are automatically generated) and the ones that aren't automatically generated can be implemented manually in your own project.
KorGE
- KorGE early dev version published with WASM (WebAssembly) support! Along KorIO, KorIM, KorAU, KorTE, korinject, and KorGW
-
Show HN: Tiny – A 2D Game Engine in Kotlin Working with Lua
Lua is easy to learn, dynamically typed and doesn't need to be compiled: it's perfect to get instant reload and it's perfect for small projects.
If you want to create games using Kotlin, you can try my 3D Game Engine: minigdx (https://github.com/minigdx/minigdx).
Or other game engine:
- https://littlekt.com/ (LittleKt (Little Kotlin) is a multiplatform 2D game framework written in Kotlin)
- https://korge.org/ (Korge - Modern Multiplatform Game Engine for Kotlin.)
- https://libgdx.com/ (LibGDX, it's for Java but you can use Kotlin, if you don't want to target the web platform)
-
🧸 Tiny : my Kotlin Multiplatform 2D Game engine
- https://korge.org/ (Korge - Modern Multiplatform Game Engine for Kotlin.) - https://github.com/minigdx/minigdx (Minigdx - Minimalist Game Framework using Kotlin Multiplatform / I created it before creating Tiny) - https://libgdx.com/ (LibGDX, it's for Java but you can use Kotlin, if you don't want to target the web platform)
- Kotlin Multiplatform in Intellij, "hot reloading"
- `kds`, `kmem`, `klock`, `krypto`, `klogger`, `kbignum` published to WASM target in 4.0.1
-
KorGE 4.0 released (along kproject)! 🎊
The new version of this Kotlin Multiplatform Game Engine https://korge.org/ (JS, JVM (Windows/Linux/Mac), Android, K/N(Windows, Linux, Mac, iOS)) along the korlibs (kds, kmem, klock, krypto, korma, korio, korim, korau, korgw, korge, korte) has been released.
- What are some good Kotlin libraries used for drawing/presenting images on a screen?
-
Introducing Kotlin/Wasm
there is actually a really nice library that might be what you're looking for: https://korge.org/
-
I am looking to try game development with LibKTX (and LibGDX). Do you know how I can get helpful documentation for the classes, methods, etc?
Have you seen KorGE?
- Curso Kotlin | #17. Proyecto: The Hero Legacy
What are some alternatives?
http4k - The Functional toolkit for Kotlin HTTP applications. http4k provides a simple and uniform way to serve, consume, and test HTTP services.
FXGL - Java / JavaFX / Kotlin Game Library (Engine)
vertx-lang-kotlin - Vert.x for Kotlin
ktx - Kotlin extensions for the libGDX game framework
ktor - Framework for quickly creating connected applications in Kotlin with minimal effort
Zircon - Zircon is an extensible and user-friendly, multiplatform tile engine.
spark-kotlin - A Spark DSL in idiomatic kotlin // dependency: com.sparkjava:spark-kotlin:1.0.0-alpha
littlekt - A multiplatform 2D game framework written in Kotlin. Build your own game engine on top.
javalin - A simple and modern Java and Kotlin web framework [Moved to: https://github.com/javalin/javalin]
thelema-engine - Thelema - 3D graphics engine, written in Kotlin. Based on sources of libGDX.
kotlinx.serialization - Kotlin multiplatform / multi-format serialization
AdventKT - A Kotlin-based DSL for text adventures, with a partial replica of the classic Colossal Cave as an example.