{"id":39583173,"url":"https://github.com/codebycruz/cpkg","last_synced_at":"2026-01-20T03:02:05.346Z","repository":{"id":229571634,"uuid":"776721967","full_name":"codebycruz/cpkg","owner":"codebycruz","description":"A dead simple package manager for C.","archived":false,"fork":false,"pushed_at":"2024-09-23T00:54:40.000Z","size":71,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T05:39:55.770Z","etag":null,"topics":["c-language","clang","gcc","manager","package-manager"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/codebycruz.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-24T09:56:58.000Z","updated_at":"2024-09-23T00:52:12.000Z","dependencies_parsed_at":"2024-04-21T03:37:25.748Z","dependency_job_id":"d89838b2-be0c-4a94-959c-8ab95f742984","html_url":"https://github.com/codebycruz/cpkg","commit_stats":null,"previous_names":["dvvcz/cpkg","codebycruz/cpkg"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/codebycruz/cpkg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebycruz%2Fcpkg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebycruz%2Fcpkg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebycruz%2Fcpkg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebycruz%2Fcpkg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codebycruz","download_url":"https://codeload.github.com/codebycruz/cpkg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebycruz%2Fcpkg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28594958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"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-language","clang","gcc","manager","package-manager"],"created_at":"2026-01-18T07:32:11.098Z","updated_at":"2026-01-20T03:02:05.340Z","avatar_url":"https://github.com/codebycruz.png","language":"Rust","readme":"\u003ch1 align=\"center\"\u003e cpkg \u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\tA dead simple, modern package manager for C.\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\t\u003ca href=\"https://github.com/DvvCz/cpkg/actions\"\u003e\n\t\t\u003cimg alt=\"GitHub Actions Workflow Status\" src=\"https://img.shields.io/github/actions/workflow/status/DvvCz/cpkg/nightly.yml?label=nightly\"\u003e\n\t\u003c/a\u003e\n\t\u003ca href=\"https://crates.io/crates/cpkg\"\u003e\n\t\t\u003cimg alt=\"Crates.io Version\" src=\"https://img.shields.io/crates/v/cpkg\"\u003e\n\t\u003c/a\u003e\n\t\u003ca href=\"https://github.com/DvvCz/cpkg/releases/latest\"\u003e\n\t\t\u003cimg alt=\"GitHub Release\" src=\"https://img.shields.io/github/v/release/DvvCz/cpkg\"\u003e\n\t\u003c/a\u003e\n\u003c/div\u003e\n\n## What is cpkg?\n\n`cpkg` is an all-in-one wrapper for tools like `gcc`, `clang`, `doxygen` and `clang-format`.  \nIt automatically detects which are present on your system, allowing you to use them with one simple cli.\n\nInspired by the convenience of modern tools like `cargo` and `bun`.\n\n## Usage\n\n```bash\ncpkg init\ncpkg run\n```\n\n## Features\n\n### 🧑‍💻 Project Runner\n\nYou can create a project with `new` or `init`, and then run `/src/main.c` with `cpkg run` or `cpkg build`.\n\nYou can run tests located in `/src/*.test.c` and `/tests/*.c` with `cpkg test`.\n\n### 📦 Package Management\n\nYou can add local paths with `cpkg add \u003cname\u003e --path /path/to/dependency` and git dependencies with `cpkg add \u003cname\u003e --git https://github.com/nothings/stb/tree/master`.\n\n### 🗄️ Project File Generation\n\nProject files can be generated using `cpkg generate`.\n\nThis creates a project file that acts as if you ran `cpkg build`, without `cpkg`.\n\n*Currently only supports basic [`Makefile`](https://www.gnu.org/software/make) generation*\n\n### 🛠️ Other Components\n\n`cpkg` supports other functionalities:\n\n* Formatting using [`clang-format`](https://clang.llvm.org/docs/ClangFormat.html)\n* Documenting using [`doxygen`](https://www.doxygen.nl)\n\n## ⏬ Installation\n\n### 📩 Releases\n\nYou can download the `cpkg` binary from [the releases](https://github.com/DvvCz/cpkg/releases) (or a nightly build from [actions](https://github.com/DvvCz/cpkg/actions))\n\n### 📦 Cargo\n\nIf you have `cargo` you can install from crates.io.\n\n```\ncargo install cpkg\n```\n\nOr clone the repository and install it locally.\n\n```\ngit clone https://github.com/DvvCz/cpkg\ncargo install --path cpkg\n```\n\n### 🛜 cURL script\n\nThe other options are preferred, but there is an install script.\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/DvvCz/cpkg/master/install.sh | bash\n```\n\n### 🔄 Upgrading\n\nYou can easily upgrade your `cpkg` binary using the `cpkg upgrade` command.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebycruz%2Fcpkg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodebycruz%2Fcpkg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebycruz%2Fcpkg/lists"}