CC: Bare Metal

An addon for CC: Tweaked that adds WebAssembly computers. Inside is a Unix-like system with a shell and about 175 commands, a real C/C++ compiler right in the game, graphics and Linux-style devices. Programs run in a sandbox and on their own threads, so they don't slow the server down.
⚠️ Alpha. Things may break; please report bugs on GitHub.
What it adds
WASM computer, turtle and pocket computer in amethyst. The turtle has CC's turtle API, so CC turtle programs work as they are.
Turtle and pocket upgrades go into slots: any upgrade from CC or its addonPixel monitor: shows graphics, builds walls up to 8×6 blocks,
touch-sensitive. - Keyboard: link it to a computer and type from the world, in hand orplaced on a desk.- Unicode for CC's own computers: Cyrillic and other scripts on computers,monitors and printouts.## Inside the computershshell with pipelines, variables, loops and functions;sed,awk,grep,find,tar,diffand more; theediteditor;manpages; thepkgpackage manager.C and C++ in the game: clang 22 with libc++. Write code, compile it a run it on the spot. - Users, passwords,
sudoand file permissions, like on Linux. - Networking over CC modems: computers by name, services by port.Graphics up to 1280×800 through
/dev/fb0, input through/dev/input.Drag files and folders from your desktop straight into the computer windo- CraftOS and Lua are still there:
craftos,lua file.
Works with CC and its addons
- Any peripheral from any mod, with no per-mod code.
rednetandgpscompatible with Lua computers.- Internet (
curl,wget) through CC's own HTTP API and its server settings.
Requirements
- Minecraft 1.21.1, NeoForge 21.1.249+
- CC: Tweaked 1.120.0+
- Needed on both the server and the client.
Links
- Source and documentation: GitHub
- License: MPL-2.0 (textures recoloured from CC: Tweaked are under the ComputerCraft Public License)

