{"id":13815616,"url":"https://github.com/jdx/chim","last_synced_at":"2025-05-15T09:33:01.440Z","repository":{"id":58456524,"uuid":"531958235","full_name":"jdx/chim","owner":"jdx","description":"Cross-platform binary shims with optional remote fetching.","archived":true,"fork":false,"pushed_at":"2023-06-26T16:07:20.000Z","size":11208,"stargazers_count":32,"open_issues_count":3,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-13T11:58:21.069Z","etag":null,"topics":["cli"],"latest_commit_sha":null,"homepage":"https://chim.sh","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/jdx.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}},"created_at":"2022-09-02T14:27:33.000Z","updated_at":"2023-08-03T10:15:53.000Z","dependencies_parsed_at":"2023-02-16T08:45:57.109Z","dependency_job_id":null,"html_url":"https://github.com/jdx/chim","commit_stats":null,"previous_names":["jdxcode/chim"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdx%2Fchim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdx%2Fchim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdx%2Fchim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdx%2Fchim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdx","download_url":"https://codeload.github.com/jdx/chim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225342801,"owners_count":17459476,"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":["cli"],"created_at":"2024-08-04T04:03:40.320Z","updated_at":"2024-11-19T11:30:51.168Z","avatar_url":"https://github.com/jdx.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# [chim](https://chim.sh/)\n\n[![Crates.io](https://img.shields.io/crates/v/chim.svg)](https://crates.io/crates/chim)\n[![chim](https://github.com/jdxcode/chim/actions/workflows/chim.yml/badge.svg?branch=main)](https://github.com/jdxcode/chim/actions/workflows/chim.yml)\n[![codecov](https://codecov.io/gh/jdxcode/chim/branch/main/graph/badge.svg?token=CWOTCG9F5D)](https://codecov.io/gh/jdxcode/chim)\n\n_Cross-platform binary shims with optional remote fetching._\n\n## Quickstart (make an automatic fetching node.js wrapper)\n\nInstall chim: (see docs for [alternate install methods](https://chim.sh/docs/installing/))\n\n```\n$ cargo install chim\n$ chim --version\nchim 1.1.1\n```\n\nCreate a chim in `./bin/node`:\n\n```toml\n#!/usr/bin/env chim\n[macos-arm64]\nurl = 'https://nodejs.org/dist/v18.7.0/node-v18.7.0-darwin-arm64.tar.xz'\npath = 'node-v18.7.0-darwin-arm64/bin/node'\nchecksum = 'ef593cbb3a3f0aae9879b74a7850d794abab26178aa5e0f67ff182894811e6f0'\n\n[linux-x64]\nurl = 'https://nodejs.org/dist/v18.7.0/node-v18.7.0-linux-x64.tar.xz'\npath = 'node-v18.7.0-linux-x64/bin/node'\nchecksum = '8bc6a1b9deaed2586d726fc62d4bee9c1bfc5a30b96c1c4cff7edd15225a11a2'\n\n[windows-x64]\nurl = 'https://nodejs.org/dist/v18.7.0/node-v18.7.0-win-x64.zip'\npath = 'node-v18.7.0-win-x64\\node.exe'\nchecksum = '9c0abfe32291dd5bed717463cb3590004289f03ab66011e383daa0fcec674683'\n```\n\nNow make it executable and run it:\n\n```\n$ chmod +x ./bin/node\n$ ./bin/node -v\nv18.7.0\n```\n\nThe tarball is fetched once from nodejs.org, extracted into a cache directory, then reused on future `./bin/node` calls.\n\n## What am I supposed to do with this?\n\nCommit a set of chims into a `/bin` directory in your project's repo. Other people can just add this directory to their\n`$PATH` and won't have to manually install each utility. Also run the chims in CI/CD so you have dev/prod parity with\nyour tools!\n\n## See also\n\n* [chim.sh](https://chim.sh/) - the documentation website\n* [GitHub (jdxcode/chim)](https://github.com/jdxcode/chim) - the repository\n* [GitHub (jdxcode/chim.sh)](https://github.com/jdxcode/chim.sh) - the repository for the documentation\n* [GitHub Discussions](https://github.com/jdxcode/chim/discussions) - message board for chim\n* [GitHub Releases (Changelog)](https://github.com/jdxcode/chim/releases) - see the latest releases\n* [Homebrew Formula](https://github.com/jdxcode/homebrew-tap/blob/main/chim.rb) - the Homebrew formula\n* [Crates.io (chim)](https://crates.io/crates/chim) - the crate on crates.io\n* [Discord](https://discord.gg/j3KUQj5HsN) - the chim discord server\n* [Introductory blog post](https://jdxcode.com/posts/2022-09-04-introducing-chim/) - a blog post introducing chim\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdx%2Fchim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdx%2Fchim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdx%2Fchim/lists"}