fork of guillaumearm/cc-libs github repo
| .plans | ||
| apis | ||
| docs | ||
| programs | ||
| servers | ||
| startup | ||
| .gitignore | ||
| .luacheckrc | ||
| CLAUDE.md | ||
| DEVELOPMENT.md | ||
| install.lua | ||
| Justfile | ||
| README.md | ||
Trap's ComputerCraft APIs
Installation
wget run https://raw.githubusercontent.com/guillaumearm/cc-libs/master/install.lua
Install the beta branch:
wget run https://raw.githubusercontent.com/guillaumearm/cc-libs/next/install.lua --beta
APIs
/apis/eventloop: a simple event loop API./apis/net: an API to simplify sending and receiving routed messages, based on theeventlooplibrary.
Servers
All servers are automatically started at boot.
/servers/ping-server: allows a machine to respond to apingcommand.
Programs
router: routes messages. You need to set up a router to use allapis/net-based programs and libraries.ping: pings machines usingapis/net.upgrade: upgrades the machine. Useupgrade --betato install from the beta branch.
Development
See DEVELOPMENT.md for development setup and workflow.