I've recently made a library for interacting with ...
# feed
a
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
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
Very cool
🖤 1
f
Awesome 😄
🖤 1