ATProto Lexicon Code Generator for Kotlin
This programmatic code generator takes ATProto Lexicon schemas as input and produces all the HTTP client code and data classes needed to work with ATProto from Kotlin, addressing the protocol's complexity and inconvenience when used without supporting libraries. The goal is to enable developers to build native Android and iOS apps that feel good, in contrast to Bluesky's TypeScript-based apps.
What it addresses
ATProto is very complex and inconvenient to work with without supporting libraries, even in a relatively sugary language like Kotlin.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
ATProto Lexicon Code Generator for Kotlin
This programmatic code generator takes ATProto Lexicon schemas as input and produces all the HTTP client code and data classes needed to work with ATProto from Kotlin, addressing the protocol's complexity and inconvenience when used without supporting libraries. The goal is to enable developers to build native Android and iOS apps that feel good, in contrast to Bluesky's TypeScript-based apps.
Problem: ATProto is very complex and inconvenient to work with without supporting libraries, even in a relatively sugary language like Kotlin.
Audience: Developers working with the AT Protocol (ATProto) in Kotlin, particularly those building native Android and iOS apps
Posted by @bpavuk · Original source ↗
Source text · @bpavuk · · Source ↗
So, I decided to write a (programmatic) code generator that takes Lexicon on input and gives all the HTTP code and data classes you may ever need.