Skip to content
/ c4 Public

Computer Craft Code Catalog (C4) is yet another ComputerCraft dependency manager.

Notifications You must be signed in to change notification settings

brooswit/c4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C4

Computer Craft Code Catalog (C4), a ComputerCraft dependency manager

Getting Started

  1. Open a brand-new computer. You should see a command-line interface.
  2. Type edit install_c4.lua. You should be taken to a text editor.
  3. Copy/paste the following into the text editor:
local request = http.get(("https://raw.githubusercontent.com/brooswit/c4/main/c4.lua?cb=%x"):format(math.random(0, 2 ^ 30)))
local file = fs.open("c4", "w")
file.write(request.readAll())
file.close()
  • Note, you may need to copy/paste the code one line at a time, unfortunately.
  1. Press ctrl. You should see Save and Exit along the bottom.
  2. Make sure Save is selected and press the enter key. This will save the file.
  3. Press ctrl again, and select Exit. You should now be taken back to the command-line interface.
  4. Run the installer: `install_c4"

Now you can load C4 applications and libraries.

Usage

c4 hello

c4 <APPLICATION_NAME>

About

Computer Craft Code Catalog (C4) is yet another ComputerCraft dependency manager.

Topics

Resources

Stars

Watchers

Forks