A tool for conquest of ATProto lexicons. https://jsr.io/@hotsocket/lexiconqueror
TypeScript 94.5%
JavaScript 4.7%
Nix 0.8%
Shell 0.1%
4 1 0

Clone this repository

https://tangled.org/hotsocket.fyi/lexiconqueror
git@tangled.org:hotsocket.fyi/lexiconqueror

For self-hosted knots, clone URLs may differ based on your setup.

README.md

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;