A tool for conquest of ATProto lexicons. https://jsr.io/@hotsocket/lexiconqueror
1# Lexiconqueror
2
3_SUBJUGATE YOUR SCHEMAS_
4
5## Info
6
7### Get Started
8
9- Run `deno run -A jsr:@hotsocket/lexiconqueror setup` in your project root
10- Configure imports under `"@/"` to point to your `outputDir`
11- Add `jsr:@hotsocket/dhmo` and `jsr:@hotsocket/atproto-common` to your project
12- Run `deno run -A jsr:@hotsocket/lexiconqueror download` to retrieve lexicons
13- Run `deno run -A jsr:@hotsocket/lexiconqueror convert` to convert your downloaded lexicons to TypeScript files
14
15### Links
16
17- [Source Code @ Tangled](https://tangled.org/@hotsocket.fyi/lexiconqueror)
18
19## About
20
21Lexiconqueror is a utility for using ATProto lexicons. Its primary goal is to generate TypeScript code that feels not
22unlike the source material. For example, this ref:
23
24```txt
25com.atproto.admin.defs#repoRef
26```
27
28Becomes:
29
30```ts
31AT.com.atproto.admin.defs.$repoRef;
32```