fork of guillaumearm/cc-libs github repo
Go to file
2026-06-07 22:21:23 +02:00
.plans chore: add plan 2026-05-31 01:50:14 +02:00
apis feat: optimize net.sendMultipleRequests function 2022-07-18 02:07:42 +02:00
docs docs: add architecture decision records 2026-06-07 21:44:01 +02:00
programs fix(events): tolerate unserializable values 2026-06-07 22:21:23 +02:00
servers chore: remove cube and goo programs 2026-06-07 19:45:00 +02:00
startup chore: remove cube and goo programs 2026-06-07 19:45:00 +02:00
.gitignore feat: rename set-startup command in set-boot 2022-07-18 23:28:17 +02:00
.luacheckrc feat: add goo v1 2026-05-31 01:37:19 +02:00
CLAUDE.md docs: add architecture decision records 2026-06-07 21:44:01 +02:00
DEVELOPMENT.md docs: move development guide to dedicated file 2026-05-31 02:54:08 +02:00
install.lua feat: add events program 2026-06-07 21:55:17 +02:00
Justfile chore: add git hook installer 2026-05-31 02:48:19 +02:00
README.md feat: add beta install flag 2026-06-07 19:47:45 +02:00

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 the eventloop library.

Servers

All servers are automatically started at boot.

  • /servers/ping-server: allows a machine to respond to a ping command.

Programs

  • router: routes messages. You need to set up a router to use all apis/net-based programs and libraries.
  • ping: pings machines using apis/net.
  • upgrade: upgrades the machine. Use upgrade --beta to install from the beta branch.

Development

See DEVELOPMENT.md for development setup and workflow.