{"id":18034748,"url":"https://github.com/possseidon/cc-code","last_synced_at":"2025-04-04T23:12:55.091Z","repository":{"id":110962456,"uuid":"533729724","full_name":"Possseidon/cc-code","owner":"Possseidon","description":"A code editor for ComputerCraft.","archived":false,"fork":false,"pushed_at":"2023-09-21T20:56:36.000Z","size":56,"stargazers_count":2,"open_issues_count":17,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T07:30:43.762Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Possseidon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2022-09-07T11:10:50.000Z","updated_at":"2023-11-20T06:50:56.000Z","dependencies_parsed_at":"2023-09-22T06:48:48.305Z","dependency_job_id":null,"html_url":"https://github.com/Possseidon/cc-code","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Possseidon%2Fcc-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Possseidon%2Fcc-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Possseidon%2Fcc-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Possseidon%2Fcc-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Possseidon","download_url":"https://codeload.github.com/Possseidon/cc-code/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247261605,"owners_count":20910108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-30T11:13:57.322Z","updated_at":"2025-04-04T23:12:55.071Z","avatar_url":"https://github.com/Possseidon.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cc-code\n\nA code editor for ComputerCraft.\n\n⚠ **ComputerCraft uses `ctrl+S` for shutting down! Use `ctrl+D` to save instead!** ⚠\n\n## Notable Features\n\n- 📦 Easy Install/Update\n- 📝 Common Editing Shortcuts\n- 🌈 Lua Syntax Highlighting\n- 📘 Text Selection\n- 🔄 Full Undo/Redo History\n- 💻 Multishell Integration\n- ⚙ Configurable\n- 🎨 Themable\n- ⚡ *Blazingly Fast*\n\n## Getting Started\n\n### Install\n\nTo install, run the following command:\n\n```sh\nwget run https://raw.githubusercontent.com/Possseidon/cc-code/main/code/update.lua\n```\n\n### Start\n\nTo start cc-code run:\n\n```sh\ncode \u003cfilename\u003e\n```\n\n### Update\n\nOnce installed, cc-code will (by default) **automatically check for updates** in the background.\n\nTo manually trigger an update, run cc-code with the `--update` (or `-u`) flag:\n\n```sh\ncode --update\n```\n\nWhich does that same thing as simply running the install command again.\n\n### Shell Integration\n\nThere will be some sort of `code --integrate` command for this soon™.\n\nFor now, to get basic autocompletion for files, add the following lines to your `startup.lua`:\n\n```lua\nlocal completion = require \"cc.shell.completion\"\nshell.setCompletionFunction(\"code.lua\", completion.build(completion.file))\n```\n\nAnd you can also alias `edit` to `/code` if you want:\n\n```lua\nshell.run \"alias edit /code\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpossseidon%2Fcc-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpossseidon%2Fcc-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpossseidon%2Fcc-code/lists"}