Go to file
2023-06-25 21:21:33 +02:00
src fixed Synopsys in srv 2023-06-25 21:21:33 +02:00
.editorconfig idk routing stuff i guess 2022-02-24 19:47:27 +01:00
.gitignore initial commit 2021-12-20 01:55:30 +01:00
build.hxml use new lib: compiletime 2023-05-22 22:36:11 +02:00
console.js webconsole id in url 2022-03-01 12:59:02 +01:00
LICENSE added license 2022-02-19 21:48:24 +01:00
Makefile improved makefile 2023-04-08 03:43:23 +02:00
minify.js added tinker_core as lib 2022-02-20 20:29:04 +01:00
package.json initial commit 2021-12-20 01:55:30 +01:00
README.md updated README 2023-04-08 03:42:10 +02:00
yarn.lock initial commit 2021-12-20 01:55:30 +01:00

General purpose "operation system" for ComputerCraft build with Haxe.

Features

  • TCP like rednet messages
  • Rednet message routing
  • Hardware abstraction
  • Virtual screens to switch between multiple GUI apps
  • Reactive UI framework
  • Solid base to easily add applications

Building

Requirements:

  • haxe compiler
  • haxelib for dependencies
  • nodejs and package manager like yarn
  • make

run make deps && make. The bundle.min.lua inside the build dir is the final file.

Useful links

CC lua code

CC wiki

Tinkerbell Core Library

Development

There are a couple of tool to your disposal that makes working easier.

Watch

Run make watch to recompile when a file changed.

Emulator

You could use Minecraft to run the program or you could use craftos pc as an emulator. Just install it and run make emulator. There is an AppImage available here.

Websconsole

Use make webconsole to run a http server that prints the log output of the program to the terminal. Run haxe with the -D webconsole flag. You may need to allow connections to any ip when using webconsole ingame.