{"id":15311744,"url":"https://github.com/aslemammad/clib","last_synced_at":"2025-10-08T21:30:29.726Z","repository":{"id":105995938,"uuid":"279335033","full_name":"Aslemammad/clib","owner":"Aslemammad","description":"C package manager-ish","archived":false,"fork":true,"pushed_at":"2023-12-24T05:36:11.000Z","size":665,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-29T15:24:46.246Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"clibs/clib","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Aslemammad.png","metadata":{"files":{"readme":"Readme.md","changelog":"History.md","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}},"created_at":"2020-07-13T15:04:08.000Z","updated_at":"2020-07-13T15:06:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"724183ab-15af-40cc-b5d9-b8bf7e541dd2","html_url":"https://github.com/Aslemammad/clib","commit_stats":{"total_commits":263,"total_committers":33,"mean_commits":7.96969696969697,"dds":0.5855513307984791,"last_synced_commit":"064fe9ea77fdee77b5366e2746de867efa732837"},"previous_names":[],"tags_count":49,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aslemammad%2Fclib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aslemammad%2Fclib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aslemammad%2Fclib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aslemammad%2Fclib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aslemammad","download_url":"https://codeload.github.com/Aslemammad/clib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219877266,"owners_count":16554910,"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-01T08:34:21.552Z","updated_at":"2025-10-08T21:30:29.283Z","avatar_url":"https://github.com/Aslemammad.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# clib(1)\n\n  [![Build Status](https://travis-ci.org/clibs/clib.svg?branch=master)](https://travis-ci.org/clibs/clib)\n\n  Package manager for the C programming language.\n\n  ![c package manager screenshot](https://i.cloudup.com/GwqOU2hh9Y.png)\n\n## Installation\n\n  Expects [libcurl](http://curl.haxx.se/libcurl/) to be installed and linkable.\n\n  With [homebrew](https://github.com/Homebrew/homebrew):\n\n```sh\n$ brew install clib\n```\n\n  With git:\n\n```sh\n$ git clone https://github.com/clibs/clib.git /tmp/clib\n$ cd /tmp/clib\n$ make install\n```\n\n  Ubuntu:\n\n```sh  \n# install libcurl\n$ sudo apt-get install libcurl4-gnutls-dev -qq\n# clone\n$ git clone https://github.com/clibs/clib.git /tmp/clib \u0026\u0026 cd /tmp/clib\n# build\n$ make\n# put on path\n$ sudo make install\n```\n\n## About\n\n  Basically the lazy-man's copy/paste promoting smaller C utilities, also\n  serving as a nice way to discover these sort of libraries. From my experience\n  C libraries are scattered all over the web and discovery is relatively poor. The footprint of these libraries is usually quite large and unfocused. The goal of `clibs` is to provide\n  stand-alone \"micro\" C libraries for developers to quickly install without coupling\n  to large frameworks.\n\n  You should use `clib(1)` to fetch these files for you and check them into your repository, the end-user and contributors should not require having `clib(1)` installed. This allows `clib(1)` to fit into any new or existing C workflow without friction.\n\n  The wiki [listing of packages](https://github.com/clibs/clib/wiki/Packages) acts as the \"registry\" and populates the `clib-search(1)` results.\n\n## Usage\n\n```\n  clib \u003ccommand\u003e [options]\n\n  Options:\n\n    -h, --help     Output this message\n    -v, --version  Output version information\n\n  Commands:\n\n    init               Start a new project.\n    install [name...]  Install one or more packages\n    search [query]     Search for packages\n    help \u003ccmd\u003e         Display help for cmd\n```\n\n## Examples\n\n Install a few dependencies to `./deps`:\n\n```sh\n$ clib install clibs/ms clibs/commander\n```\n\n Install them to `./src` instead:\n\n```sh\n$ clib install clibs/ms clibs/commander -o src\n```\n\n When installing libraries from the `clibs` org you can omit the name:\n\n```sh\n$ clib install ms file hash\n```\n\n Install some executables:\n\n```sh\n$ clib install visionmedia/mon visionmedia/every visionmedia/watch\n```\n\n## package.json\n\n Example of a package.json explicitly listing the source:\n\n```json\n{\n  \"name\": \"term\",\n  \"version\": \"0.0.1\",\n  \"repo\": \"clibs/term\",\n  \"description\": \"Terminal ansi escape goodies\",\n  \"keywords\": [\"terminal\", \"term\", \"tty\", \"ansi\", \"escape\", \"colors\", \"console\"],\n  \"license\": \"MIT\",\n  \"src\": [\"src/term.c\", \"src/term.h\"]\n}\n```\n\n Example of a package.json for an executable:\n\n```json\n{\n  \"name\": \"mon\",\n  \"version\": \"1.1.1\",\n  \"repo\": \"visionmedia/mon\",\n  \"description\": \"Simple process monitoring\",\n  \"keywords\": [\"process\", \"monitoring\", \"monitor\", \"availability\"],\n  \"license\": \"MIT\",\n  \"install\": \"make install\"\n}\n```\n\n See [explanation of package.json](https://github.com/clibs/clib/wiki/Explanation-of-package.json) for more details.\n\n## Contributing\n\n If you're interested in being part of this initiative let me know and I'll add you to the `clibs` organization so you can create repos here and contribute to existing ones.\n\n## Articles\n\n  - [Introducing Clib](https://medium.com/code-adventures/b32e6e769cb3) - introduction to clib\n  - [The Advent of Clib: the C Package Manager](http://blog.ashworth.in/2014/10/19/the-advent-of-clib-the-c-package-manager.html) - overview article about clib\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faslemammad%2Fclib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faslemammad%2Fclib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faslemammad%2Fclib/lists"}