{"id":41690663,"url":"https://github.com/konimarti/c3l","last_synced_at":"2026-01-24T20:14:59.639Z","repository":{"id":311109482,"uuid":"1040734965","full_name":"konimarti/c3l","owner":"konimarti","description":"A Library Manager for C3 Projects","archived":false,"fork":false,"pushed_at":"2026-01-22T16:32:39.000Z","size":44,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-23T02:18:52.876Z","etag":null,"topics":["c3-lang","library"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/konimarti.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":"2025-08-19T12:32:53.000Z","updated_at":"2026-01-22T16:32:42.000Z","dependencies_parsed_at":"2025-08-22T07:30:38.227Z","dependency_job_id":"a93fd1e5-c2f4-4c99-89ff-9eb815cceb1c","html_url":"https://github.com/konimarti/c3l","commit_stats":null,"previous_names":["konimarti/c3l"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/konimarti/c3l","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konimarti%2Fc3l","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konimarti%2Fc3l/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konimarti%2Fc3l/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konimarti%2Fc3l/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/konimarti","download_url":"https://codeload.github.com/konimarti/c3l/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konimarti%2Fc3l/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28736502,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T19:23:36.361Z","status":"ssl_error","status_checked_at":"2026-01-24T19:23:28.966Z","response_time":89,"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":["c3-lang","library"],"created_at":"2026-01-24T20:14:59.018Z","updated_at":"2026-01-24T20:14:59.633Z","avatar_url":"https://github.com/konimarti.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# c3l\n\n**c3l** is a **library manager for C3 projects**. It streamlines the process of\nfetching, updating, and managing C3 libraries from remote repositories. With\nc3l, all metadata about your libraries is tracked in a simple `.c3l.deps` file,\nmaking maintenance and versioning of your project dependencies effortless.\n\n*No more manual cloning with c3l!*\n\n## Features\n\n- **Fetch libraries**: Download and integrate remote C3 libraries into your project with a single command.\n- **Simple updates**: Easily update libraries to newer versions, using tagged releases.\n- **Safe removal**: Uninstall libraries cleanly without manually touching `project.json`.\n- **Seamless workflow**: Keeps your project files organized and in sync with your dependencies.\n\n***\n\n## How It Works\n\n- When you use c3l to add a library to your project, it:\n    - Fetches the library from the specified remote repository.\n    - Updates your project files to include the new dependency.\n    - Writes an entry to `.c3l.deps` with some meta information.\n- Updates and removals use the data in `.c3l.deps` to ensure reliability.\n- Updating a dependency (to a new tagged release) is as easy as running a\n  single c3l command.\n\n***\n\n## Getting Started\n\n### 1. Installation\n\nDownload and install c3l:\n```bash\ngit clone https://github.com/konimarti/c3l\ncd c3l\nsudo make install\n```\n\n`c3l` will be installed in `/usr/local/bin` by default and the man page in\n`/usr/local/man/`.\n\nIf you want to install to a different location, set the `PREFIX`\nvariable:\n```bash\nmake PREFIX=~/.local/ install\n```\n\n### 2. Adding a Library\n\n```bash\nc3l fetch https://github.com/username/libname v1.0.0\n```\n\n- Fetches the specified C3 library and registers it in `.c3l.deps` and\n  `project.json`.\n\n\n### 3. Updating a Library\n\n```bash\nc3l update libname\n```\n\n- Updates the library to the newest tagged release, updating the metadata in\n  `.c3l.deps`.\n\n\n### 4. Removing a Library\n\n```bash\nc3l remove libname\n```\n\n- Uninstalls the library and removes its entry from `.c3l.deps` and\n  `project.json`.\n\n\n### 5. Pulling all Libraries\n\n```bash\nc3l pull\n```\n\n- Fetches all libraries from  `.c3l.deps`. This is only required\n  when a project is freshly cloned and only `.c3l.deps` is present.\n\n***\n\n## The `.c3l.deps` File\n\nSome relevant dependency information—including name, source URL, current version or\ntag—is stored in a `.c3l.deps` file at your project root. This enables:\n\n- Easy auditing of all dependencies in use\n- Clean removal and easy updating\n\n***\n\n## Example Workflow for a New C3 Project\n\nYou need the [C3 compiler](https://github.com/c3-lang/c3c)\n`c3c` to run this example.\n\n```bash\n# Create a new C3 project\nc3c init app \u0026\u0026 cd app\n\n# Update main.c3\ncat \u003c\u003cEOF \u003e src/main.c3\nimport encoding::hex;\nfn void main() =\u003e (void)hex::dump_bytes(\"C3 is great\");\nEOF\n\n# Add the required library\nc3l fetch https://github.com/konimarti/hex.c3l v0.1.1\n\n# Now run the app\nc3c run\n\n# Update a library to the newest release\nc3l update hex\n\n# List installed libraries\nc3l list\n\n# Remove a library\nc3l remove hex\n```\n\n***\n\n## License\n\nMIT. See `LICENSE` for full text.\n\n***\n\n## Contributing\n\nContributions welcome! Please open an issue or submit a pull request to get started.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonimarti%2Fc3l","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkonimarti%2Fc3l","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonimarti%2Fc3l/lists"}