https://kotlinlang.org logo
#feed
Title
# feed
a

axeon

03/24/2024, 12:44 PM
I've recently made a library for interacting with Discord's Rich Presence in pure Kotlin/Native, namely KPresence. Other Kotlin libraries were relying on JNI so I decided to make my own 🙂. Features: • Cross-platform compatibility (Windows, Linux, macOS) • Fast and user-friendly, featuring DSL support • Independent of JVM, written entirely in pure Kotlin/Native • Respects the ratelimit of one update per 15 seconds. The library will always send the newest presence update once the client is free to do so • Validates the activity fields before sending them https://github.com/reblast/KPresence (WIP) I haven't got time to test it on platforms other than Windows, but it should work nonetheless.
👍🏾 1
K 5
👍 2
s

Stefan Oltmann

03/24/2024, 1:06 PM
Love to see the ecosystem grow. JNI with al the native library unpacking at runtime is always a hassle. So in cases where it's not really needed for performance reasons (like skiko) it's better to do without. 🙂
🖤 1
a

asdf asdf

03/24/2024, 3:10 PM
Very cool
🖤 1
f

Frank Bouwens

03/25/2024, 9:46 AM
Awesome 😄
🖤 1
4 Views