{"id":48439858,"url":"https://github.com/kitsunekode/loom-cli","last_synced_at":"2026-04-06T15:01:03.723Z","repository":{"id":348080560,"uuid":"1196410741","full_name":"KitsuneKode/loom-cli","owner":"KitsuneKode","description":"Preview-first dotfiles workflow CLI built on top of chezmoi.","archived":false,"fork":false,"pushed_at":"2026-03-30T19:02:50.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-30T19:19:58.855Z","etag":null,"topics":["bun","chezmoi","cli","config-management","developer-tools","dotfiles","linux","typescript"],"latest_commit_sha":null,"homepage":"https://github.com/KitsuneKode/loom-cli#readme","language":"TypeScript","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/KitsuneKode.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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-03-30T17:11:45.000Z","updated_at":"2026-03-30T19:02:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/KitsuneKode/loom-cli","commit_stats":null,"previous_names":["kitsunekode/loom-cli"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/KitsuneKode/loom-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KitsuneKode%2Floom-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KitsuneKode%2Floom-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KitsuneKode%2Floom-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KitsuneKode%2Floom-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KitsuneKode","download_url":"https://codeload.github.com/KitsuneKode/loom-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KitsuneKode%2Floom-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31477013,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T14:34:32.243Z","status":"ssl_error","status_checked_at":"2026-04-06T14:34:31.723Z","response_time":112,"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":["bun","chezmoi","cli","config-management","developer-tools","dotfiles","linux","typescript"],"created_at":"2026-04-06T15:00:46.577Z","updated_at":"2026-04-06T15:01:03.703Z","avatar_url":"https://github.com/KitsuneKode.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# loom\n\n`loom` is a preview-first dotfiles workflow CLI built on top of `chezmoi`.\nIt keeps one repo as the source of truth, lets you keep editing live files, and\nhelps you discover, inspect, track, ignore, sync back, and apply changes with\nexplicit control.\n\n[![CI](https://github.com/KitsuneKode/loom-cli/actions/workflows/ci.yml/badge.svg)](https://github.com/KitsuneKode/loom-cli/actions/workflows/ci.yml)\n[![npm package](https://img.shields.io/npm/v/%40kitsunekode%2Floom)](https://www.npmjs.com/package/@kitsunekode/loom)\n\nThe npm package name is `@kitsunekode/loom`. The installed executable stays `loom`.\n\n## Why it exists\n\n`chezmoi` is excellent at rendering one source repo onto scattered files in\n`$HOME`, but its raw commands are still a bit low-level for day-to-day\n\"what changed and what should I do with it?\" flows.\n\n`loom` adds that missing layer:\n\n- preview-first workflows instead of surprise mutation\n- human-readable discovery of managed, unmanaged, ignored, and template-backed files\n- stable `--json` output for agents and automation\n- `.loomignore` files that can live at the repo root or near noisy subtrees\n- no extra tracking database beyond your Git repo and `chezmoi`\n\n## Design goals\n\n- keep `chezmoi` as the engine\n- keep `git` as the review and history layer\n- default every mutation to preview-first\n- avoid partial local file corruption by validating before mutation and using\n  atomic local file writes where `loom` edits files itself\n- keep startup fast and dependencies minimal\n\n## Install locally\n\n```bash\nbun install\nbun run build\n./bin/loom doctor\n```\n\nOptional global link:\n\n```bash\nbun run link:global\n```\n\n## Versioning with Changesets\n\n`loom` uses [Changesets](https://github.com/changesets/changesets) for\nrelease intent and version bumps.\n\nNormal flow:\n\n```bash\nbun run changeset\ngit add .changeset\ngit commit -m \"feat: ...\"\n```\n\nWhen you're ready to cut a release version:\n\n```bash\nbun run version-packages\ngit add package.json bun.lock .changeset\ngit commit -m \"chore: version packages\"\n```\n\n## Publish to npm\n\nThe repo is ready for npm-style packaging:\n\n- `package.json` exposes `bin/loom`\n- `files` keeps the published package minimal\n- `prepack` builds `dist/loom.js`\n\nBefore publishing:\n\n```bash\nbun run changeset:status\nbun run check\nnpm pack --dry-run --ignore-scripts\nbun run release:dry-run\n```\n\nThe automated publish flow lives in `/.github/workflows/release.yml`.\nIt is configured for npm trusted publishing with GitHub OIDC, not `NPM_TOKEN`.\n\nBefore the first real publish, configure a trusted publisher on npm for:\n\n- GitHub user or org: `KitsuneKode`\n- Repository: `loom-cli`\n- Workflow filename: `release.yml`\n\nSee `docs/releasing.md` for the full release checklist.\n\nImportant:\n\n- pending changesets block the automated publish workflow\n- trusted publishing requires a GitHub-hosted runner and a matching npm trusted\n  publisher configuration\n- once versions are cut and no changesets are pending, the `main` branch release\n  workflow can publish the new npm version\n\n## Quick start\n\nInitialize a repo-local config in a dotfiles repo:\n\n```bash\nloom init --write\n```\n\nInspect what changed:\n\n```bash\nloom status\nloom diff ~/.config/zsh ~/.config/hypr\nloom discover ~/.config/hypr\n```\n\nSync live edits back into the repo:\n\n```bash\nloom pull ~/.config/zsh ~/.config/hypr\nloom pull --write ~/.config/zsh ~/.config/hypr\n```\n\nTrack a new config file:\n\n```bash\nloom track ~/.config/zed/settings.json\nloom track --write ~/.config/zed/settings.json\n```\n\nAdd a subtree-local ignore file:\n\n```bash\nloom ignore add --scope ~/.config/hypr 'shaders/.compiled.cache.glsl'\nloom ignore add --scope ~/.config/hypr --write 'shaders/.compiled.cache.glsl'\n```\n\n## Core model\n\n- `git`: review, commit, push, branch, revert\n- `chezmoi`: source/destination mapping, add, re-add, apply, templates, encryption\n- `loom`: discovery, inspection, ignore ergonomics, preview-first mutation\n\n## Commands\n\n- `loom init [--write]`\n- `loom doctor [--json]`\n- `loom config show [--json]`\n- `loom status [paths...] [--json]`\n- `loom diff [paths...]`\n- `loom discover [paths...] [--json]`\n- `loom inspect \u003cpaths...\u003e [--json]`\n- `loom pull [paths...] [--write] [--json]`\n- `loom apply [paths...] [--write] [--json]`\n- `loom track \u003cpaths...\u003e [--template|--encrypt|--exact|--follow|--interactive] [--write]`\n- `loom ignore add --scope \u003cdir\u003e \u003cpatterns...\u003e [--write]`\n- `loom ignore list \u003cpath\u003e [--json]`\n- `loom source \u003cpaths...\u003e`\n- `loom managed [--json]`\n- `loom unmanage \u003cpaths...\u003e [--write]`\n\nSee `docs/architecture.md`, `docs/config-reference.md`, and `docs/workflow.md`\nfor the full model.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitsunekode%2Floom-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkitsunekode%2Floom-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitsunekode%2Floom-cli/lists"}