Show HN: Kencode – Compact Kotlin serialization for URLs and labels
Category: library
Tags: kotlin, serialization, compact-encoding
Score: 6.5/10 (Innovation: 6, Technical: 7, Documentation: 7, Utility: 6)
KEncode is a compact Kotlin serialization library designed to produce short, predictable text payloads for environments with strict character or length limits, such as URLs, Kubernetes labels, and log keys. It combines custom binary packing with text codecs like Base62 and Base36, and supports transforms like checksums and encryption, making it interesting for high-performance, space-constrained contexts.
Target audience: backend devs
Repository: https://eignex.com/posts/kencode-packing-data-for-strict-limits/ · Kotlin · Apache-2.0 · 34 stars
View on Hacker News