fork of guillaumearm/cc-libs github repo
Go to file
2022-07-18 23:15:20 +02:00
apis feat: optimize net.sendMultipleRequests function 2022-07-18 02:07:42 +02:00
programs chore(cube): remove unused function 2022-07-18 23:10:23 +02:00
servers feat: cube ls 2022-07-18 02:36:21 +02:00
startup feat: add programs directory in path 2022-07-18 18:26:30 +02:00
.gitignore feat: cube ls 2022-07-18 02:36:21 +02:00
.routerstartup fix: router and net 2022-07-18 02:03:49 +02:00
install.lua feat(cube): improve ls 2022-07-18 18:38:23 +02:00
README.md docs: update README 2022-07-18 23:15:20 +02:00

Trap's ComputerCraft APIs

Installation

wget run https://raw.githubusercontent.com/guillaumearm/cc-libs/master/install.lua

Apis

  • /apis/eventloop: a simple event loop api
  • /apis/net: api to simplify sending and receiving routed messages (based on eventloop library)

Servers

All servers are automatically started at boot

  • /servers/ping-server: allow a machine to respond to a ping command.
  • /servers/cube-server: allow a machine to be controllable via cube.
  • /servers/cube-startup.lua: cube startup script.

Programs

  • router: route messages (you need to setup a router to be able to use all apis/net based programs and libs)
  • ping : ping machines (use apis/net)
  • cube: cube client for deployment (use cube help command for more details)