{"id":43343897,"url":"https://github.com/automas-dev/cc-libs","last_synced_at":"2026-02-02T01:19:46.059Z","repository":{"id":201041047,"uuid":"706532014","full_name":"automas-dev/cc-libs","owner":"automas-dev","description":"Lua library to support programming and operation of ComputerCraft computers and turtles","archived":false,"fork":false,"pushed_at":"2025-09-04T03:27:32.000Z","size":183,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-04T05:39:46.202Z","etag":null,"topics":["computercraft","computercraft-scripts","computercraft-tweaked","computercraft-utilities","minecraft"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/automas-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-10-18T06:20:18.000Z","updated_at":"2025-09-04T03:26:40.000Z","dependencies_parsed_at":"2025-03-16T16:19:40.186Z","dependency_job_id":"3a981b1c-4a85-4064-84d5-b2a04d80bacc","html_url":"https://github.com/automas-dev/cc-libs","commit_stats":null,"previous_names":["twh2898/cc-libs","automas-dev/cc-libs"],"tags_count":37,"template":false,"template_full_name":null,"purl":"pkg:github/automas-dev/cc-libs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/automas-dev%2Fcc-libs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/automas-dev%2Fcc-libs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/automas-dev%2Fcc-libs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/automas-dev%2Fcc-libs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/automas-dev","download_url":"https://codeload.github.com/automas-dev/cc-libs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/automas-dev%2Fcc-libs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28998624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T23:10:54.274Z","status":"ssl_error","status_checked_at":"2026-02-01T23:10:47.298Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["computercraft","computercraft-scripts","computercraft-tweaked","computercraft-utilities","minecraft"],"created_at":"2026-02-02T01:19:45.987Z","updated_at":"2026-02-02T01:19:46.054Z","avatar_url":"https://github.com/automas-dev.png","language":"Lua","readme":"# ComputerCraft Libs\n\nHelper functions and programs for computers and turtles.\n\n- [CC:Tweaked Wiki](https://tweaked.cc/)\n- [Computer Craft Wiki](https://computercraft.info/wiki/Main_Page)\n\n## Usage\n\nThis repo includes two helper scripts to install the library and apps from the\nlatest release. The fastest way to get started is downloading one of these\nscripts on a turtle or computer using `wget` and running it to install. If the\nlibrary or apps are already installed, the script will update them to the latest\nrelease.\n\n### Library\n\nThe library install script [install_cc-libs.lua](install/install_cc-libs.lua),\ncan be found under the install folder.\n\n```sh\nwget https://raw.githubusercontent.com/twh2898/cc-libs/refs/heads/main/install/install_cc-libs.lua\n```\n\n### Apps\n\nThe apps install script [install_cc-apps.lua](install/install_cc-apps.lua), can\nbe found under the install folder. Most of the apps require the library to be\ninstalled.\n\n```sh\nwget https://raw.githubusercontent.com/twh2898/cc-libs/refs/heads/main/install/install_cc-apps.lua\n```\n\nApps can be used via the `cc/` prefix (eg. `cc/dig_down` or `cc/branch_mine`).\n\n## Development\n\n\u003e If you choose to clone this repo, there are a few things you will need to do\n\u003e first. See the **ComputerCraft Mod Config** section bellow. I \n\nClone the repo into a computer or turtle directory (`cc-libs` should be in the\nroot directory). Lua scripts in the project root can be executed on a turtle or\ncomputer, or the `cc-libs` directory can be used in other projects.\n\n```sh\ngit clone git@github.com:twh2898/cc-libs.git # \u003ccomputer_or_turtle_dir\u003e\n```\n\n\u003e [lua-ls-cc-tweaked](https://github.com/nvim-computercraft/lua-ls-cc-tweaked)\n\u003e is used to provide type hints / annotations in vscode. Download this repo and\n\u003e place it somewhere in this repo. Add a `.gitignore` file with the line `*`.\n\n### Test\n\nTesting is performed by the builtin `tests/runtest.lua` using `mock.lua` and\n`asserts.lua` for support.\n\n```sh\nmake test\n```\n\n### Linting \u0026 Formatting\n\nLinting is performed by a combination of luacheck and stylua.\n\n- [luacheck](https://github.com/mpeterv/luacheck)\n- [stylua](https://github.com/JohnnyMorganz/StyLua)\n\n```sh\nmake lint\n```\n\nStylua is used for formatting in cli and vs-code.\n\n```sh\nmake format\n```\n\n## ComputerCraft Mod Config\n\nThis repo is too big for the default computer disk size. In your .minecraft\nfolder, edit the file `.minecraft/config/computercraft-server.toml` and increase\nthe `computer_space_limit` line. The default is 10000000.\n\n```toml\n#The disk space limit for computers and turtles, in bytes.\ncomputer_space_limit = 100000000 # added another 0\n```\n\n## Planning\n\n- Need a motion controller independent of rgps\n- Motion controller needs to take optional gps or relative gps to track position\n- GPS module should be able to operate in place of rgps if a gps signal is available\n  - Maybe GPS could have fallback to rgps if signal is lost\n- Motion controller needs to have retries of actions up to some limit\n- Motion controller should update rgps if in use\n- Navigation could take motion controller\n  - mocon would have functions for movement\n  - navigation would have functions for waypoints and such (no direct motion)\n\nPossible names\n\n- Motion\n- MotionController\n- MC\n- Actions\n- TurtleController\n- Driver\n- Interface\n- TurtleInterface\n\n\n## Motion (Controller)\n\n- Includes max retries\n- Motion has optional parameter to allow digging\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautomas-dev%2Fcc-libs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautomas-dev%2Fcc-libs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautomas-dev%2Fcc-libs/lists"}