AVDL (Avro IDL) compiler that generates Go, Python, and TypeScript source code from protocol definition files. Current stable version is 1.4.10, released infrequently as a Keybase internal tool. Key differentiators: supports multi-language output (Go, Python, TypeScript) from a single AVDL schema, implements the Avro interface description language, and is written in IcedCoffeeScript. Compared to other Avro tools like avro-tools or avrodoc, this compiler is specifically designed for generating bot SDK code across Keybase's supported languages.
npm install avdl-compilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Compiles an AVDL file to Go using compileFile and shows the output.
Use a separate Node environment or containerize your build.
Prefer Go or TypeScript output for production use.
Pin to a specific version in your package.json.
Check the AVDL specification against supported schema features.
There is no fix; consider migrating to a different Avro compiler.
Install required peer dependency: npm install iced-coffee-script
Use const { compileFile } = require('avdl-compiler'); not const compileFile = require('avdl-compiler');Ensure AVDL starts with 'protocol ProtocolName {' and follows Avro IDL syntax.