Bytekodex shows you what your code turns into. Send Java, Kotlin, or Groovy to @bytekodex_bot in Telegram, press Compile, and get the bytecode back as a picture: methods, the constant pool, locals, and the stack map, colored and laid out to read. Every Java from 7 to 28, Kotlin from 1.2 to 2.4, and Groovy from 2.4 to 6.0 are a tap away.
- 🤖 bytekodex-telegram – the bot: it guesses the language, compiles your code in a locked-down container with the compiler you pick, and sends back one picture per class.
- 🦀 bytekodex-platform – the engine, in Rust: it reads class files without
javapor a JDK and draws them as sharp indexed PNGs. Ready-made libraries for Linux, macOS, and Windows, with a C ABI. - 🧰 .github – this profile, and the workspace that brings every repository together as submodules.
- 🎨 bytekodex-painter and 📜 bytekodex-antlr – the first painter and its grammars, archived.
- Open @bytekodex_bot in Telegram.
- Send it Java, Kotlin, or Groovy code, or a JDK class name like
java.lang.String. - Press 🔨 Compile.
This repository is two things at once. For GitHub it is the organization’s .github repository: the profile on github.com/bytekodex lives in profile/README.md. For development it is the superproject: every Bytekodex repository is wired in as a submodule, so one clone gives one workspace while each repository keeps its own history, releases, and CI.
| Path | Repository | Language | Role |
|---|---|---|---|
platform/ |
bytekodex-platform | Rust | Bytecode readers, token IR, image rendering, C ABI |
telegram/ |
bytekodex-telegram | Go | The Telegram bot and the compilers it runs |
reference/painter/ |
bytekodex-painter | Rust | Archived. The original ANTLR and Skia painter, kept for its palette and FFI |
reference/antlr/ |
bytekodex-antlr | ANTLR | Archived. The original grammars |
The projects talk to each other through releases, never through relative paths: the bot builds the platform from the tag in its PLATFORM_VERSION.
git clone https://github.com/bytekodex/.github.git bytekodex
cd bytekodex
git submodule update --init platform telegramThe two reference/* submodules are shallow and aren’t needed day to day. git clone --recurse-submodules takes them too.
Open bytekodex.code-workspace in VS Code to see every submodule as its own root with one set of settings. Commit and push inside a submodule first, then record its new pointer here:
cd telegram && git commit -am '...' && git push
cd .. && git add telegram && git commit -m 'Bump telegram'Set this once so git status here summarizes dirty submodules:
git config --global status.submoduleSummary true
git config --global diff.submodule logEach repository has its own CLAUDE.md for AI agents, and this one has CLAUDE.md for the workspace.
- Capsa – a Kotlin Multiplatform engine for screens built from small capabilities.
- Allay – an AI helper in Minecraft’s chat.
- WorldAPI – a Minecraft server on HTTP, for sites, bots, and AI agents.
- Minecraft MCP – lets an AI client read and run a Minecraft server.
🫡 Made by Pavel Erokhin (Павел Ерохин), aka mairwunnx.

