{"id":25856808,"url":"https://github.com/cheapnightbot/code","last_synced_at":"2026-05-12T23:34:39.178Z","repository":{"id":254736650,"uuid":"845509540","full_name":"CheapNightbot/code","owner":"CheapNightbot","description":"Command-line companion application for VSCode to create, save and open files created via code CLI.","archived":false,"fork":false,"pushed_at":"2024-09-04T21:34:22.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-09T02:36:46.447Z","etag":null,"topics":["c","cli","code","linux","visual-studio-code"],"latest_commit_sha":null,"homepage":"","language":"C","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/CheapNightbot.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,"zenodo":null}},"created_at":"2024-08-21T11:44:32.000Z","updated_at":"2024-09-04T21:33:13.000Z","dependencies_parsed_at":"2024-08-25T19:03:59.649Z","dependency_job_id":"b928b5e0-d4a1-4714-b69a-20ee2b119c8f","html_url":"https://github.com/CheapNightbot/code","commit_stats":null,"previous_names":["cheapnightbot/code"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/CheapNightbot/code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheapNightbot%2Fcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheapNightbot%2Fcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheapNightbot%2Fcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheapNightbot%2Fcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CheapNightbot","download_url":"https://codeload.github.com/CheapNightbot/code/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheapNightbot%2Fcode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32961785,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T23:30:32.555Z","status":"ssl_error","status_checked_at":"2026-05-12T23:30:18.191Z","response_time":102,"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":["c","cli","code","linux","visual-studio-code"],"created_at":"2025-03-01T18:28:10.509Z","updated_at":"2026-05-12T23:34:39.159Z","avatar_url":"https://github.com/CheapNightbot.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# code\n\n Command-line companion application for VSCode to create, save and open files created via code CLI.\n\n ## Compile and run!\n\n \u003e You can also download compiled binary for Windows \u0026 Linux from [Releases](https://github.com/CheapNightbot/code/releases/latest)\n\nIf on Debian/Ubuntu based Linux distro, insall \"build-essential\" by running:\n\n```bash\nsudo apt install -y build-essential\n```\n\nIt will install GCC compiler and MAKE. Then simply run:\n```bash\nmake code\n```\nOR \n```bash\ngcc -o code code.c\n```\nand then run binary with `./code filename`.\n\n### For Linux:\n\n- Move the compiled binary to your home directory; `mv \u003cpath-to-compiled-code ~/`.\n- Create an alias for it in your `.bashrc` / `.zshrc` file: `alias code=\"~/code\"`\n- You can now use `code` command from anywhere..\n - `code` | `code .` | `code hello.py`\n\n---\n\nAt the end, it all might seem stupid, but it was bothering me that running `code` command (VSCode one) doesn't save the file on disk when run from terminal like `code hello.c` until you hit `ctrl + s`. So, I created this, not very well made CLI program, WHICH WORKS! ;)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheapnightbot%2Fcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcheapnightbot%2Fcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheapnightbot%2Fcode/lists"}