{"id":28414356,"url":"https://github.com/idea2app/shadcnx","last_synced_at":"2026-01-29T00:03:55.896Z","repository":{"id":288067897,"uuid":"966713643","full_name":"idea2app/ShadcnX","owner":"idea2app","description":"A command line helper for Shadcn UI CLI, Git commit modified component codes only.","archived":false,"fork":false,"pushed_at":"2025-12-21T19:10:05.000Z","size":52,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-22T21:32:30.036Z","etag":null,"topics":["command-line","component-library","git","shadcn-ui"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/idea2app.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-04-15T10:45:49.000Z","updated_at":"2025-12-21T19:10:08.000Z","dependencies_parsed_at":"2025-04-15T12:36:26.615Z","dependency_job_id":null,"html_url":"https://github.com/idea2app/ShadcnX","commit_stats":null,"previous_names":["idea2app/shadcnx"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/idea2app/ShadcnX","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idea2app%2FShadcnX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idea2app%2FShadcnX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idea2app%2FShadcnX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idea2app%2FShadcnX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idea2app","download_url":"https://codeload.github.com/idea2app/ShadcnX/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idea2app%2FShadcnX/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28856911,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T22:56:21.783Z","status":"ssl_error","status_checked_at":"2026-01-28T22:56:00.861Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["command-line","component-library","git","shadcn-ui"],"created_at":"2025-06-03T08:14:42.972Z","updated_at":"2026-01-29T00:03:55.891Z","avatar_url":"https://github.com/idea2app.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ShadcnX CLI\n\nA command line helper for [Shadcn UI CLI][1], `git commit` modified component codes only.\n\n[![NPM Dependency](https://img.shields.io/librariesio/github/idea2app/ShadcnX.svg)][2]\n[![CI \u0026 CD](https://github.com/idea2app/ShadcnX/actions/workflows/main.yml/badge.svg)][3]\n\n[![NPM](https://nodei.co/npm/shadcn-helper.png?downloads=true\u0026downloadRank=true\u0026stars=true)][4]\n\n## Features\n\n- 🚀 Automatic framework detection (React, Vue, Svelte)\n- 📦 Smart CLI selection based on `components.json#$schema` or `package.json`\n- 🔧 Git-friendly: only commits modified component codes\n\n## Installation\n\n```bash\nnpm i shadcn-helper -g\n```\n\n## Framework Detection\n\nShadcnX automatically detects your project's framework and uses the appropriate CLI:\n\n- **React** uses `shadcn` CLI with schema `https://ui.shadcn.com/schema.json`\n- **Vue** uses `shadcn-vue` CLI with schema `https://www.shadcn-vue.com/schema.json`\n- **Svelte** uses `shadcn-svelte` CLI with schema `https://www.shadcn-svelte.com/schema.json`\n\nDetection priority:\n\n1. If `components.json` exists, uses the `$schema` field to determine the framework\n2. Otherwise, detects framework from `package.json` dependencies (`react`, `vue` or `svelte`)\n3. Defaults to React if no framework is detected\n\n## Usage\n\n### add components\n\n```bash\nshadcn-helper add official-component-name https://third-party.org/path/to/component\n```\n\n### edit a component\n\n```bash\nshadcn-helper edit component-name\n```\n\n### install added components\n\n```json\n{\n  \"name\": \"my-web-app\",\n  \"private\": true,\n  \"scripts\": {\n    \"install\": \"npx shadcn-helper install\"\n  }\n}\n```\n\n## User cases\n\n1. https://github.com/idea2app/Next-shadcn-ts\n\n[1]: https://ui.shadcn.com/docs/cli\n[2]: https://libraries.io/npm/shadcn-helper\n[3]: https://github.com/idea2app/ShadcnX/actions/workflows/main.yml\n[4]: https://www.npmjs.com/package/shadcn-helper","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidea2app%2Fshadcnx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidea2app%2Fshadcnx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidea2app%2Fshadcnx/lists"}