A tool for conquest of ATProto lexicons. https://jsr.io/@hotsocket/lexiconqueror

Lexiconqueror#

SUBJUGATE YOUR SCHEMAS

Info#

Get Started#

  • Run deno run -A jsr:@hotsocket/lexiconqueror setup in your project root
  • Configure imports under "@/" to point to your outputDir
  • Add jsr:@hotsocket/dhmo and jsr:@hotsocket/atproto-common to your project
  • Run deno run -A jsr:@hotsocket/lexiconqueror download to retrieve lexicons
  • Run deno run -A jsr:@hotsocket/lexiconqueror convert to convert your downloaded lexicons to TypeScript files

About#

Lexiconqueror is a utility for using ATProto lexicons. Its primary goal is to generate TypeScript code that feels not unlike the source material. For example, this ref:

com.atproto.admin.defs#repoRef

Becomes:

AT.com.atproto.admin.defs.$repoRef;