Skip to content
bytekodexPublic

About

🧰 Bytekodex’s profile, and the workspace that brings every repository together as submodules

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

🔬 Bytekodex

Telegram: @bytekodex_bot Bot release Platform release Java 7–28 Kotlin 1.2–2.4 Groovy 2.4–6.0

Bytekodex: your code, as bytecode, right in Telegram

A Java snippet pasted into the chat with @bytekodex_bot, the Compile button pressed, and the bytecode arriving as a picture

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.

Русская версия

Repositories

  • 🤖 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 javap or 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.

Get started

  1. Open @bytekodex_bot in Telegram.
  2. Send it Java, Kotlin, or Groovy code, or a JDK class name like java.lang.String.
  3. Press 🔨 Compile.

The workspace

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.

Clone

git clone https://github.com/bytekodex/.github.git bytekodex
cd bytekodex
git submodule update --init platform telegram

The two reference/* submodules are shallow and aren’t needed day to day. git clone --recurse-submodules takes them too.

Work in it

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 log

Each repository has its own CLAUDE.md for AI agents, and this one has CLAUDE.md for the workspace.

Related projects

  • 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.

About

🧰 Bytekodex’s profile, and the workspace that brings every repository together as submodules

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors