← All projects
Project record1 mention
Originally shared on Hacker News

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.

Last shared For Developers working with the AT Protocol (ATProto) in Kotlin, particularly those building native Android and iOS apps
01 / The problem

What it addresses

ATProto is very complex and inconvenient to work with without supporting libraries, even in a relatively sugary language like Kotlin.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. 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.