{"id":51101496,"url":"https://github.com/phucbm/registry-system","last_synced_at":"2026-06-24T11:01:18.269Z","repository":{"id":352563073,"uuid":"1215620192","full_name":"phucbm/registry-system","owner":"phucbm","description":"Installable registry system for Next.js + shadcn — scaffold, build pipeline, live demos, and Claude plugin","archived":false,"fork":false,"pushed_at":"2026-04-20T06:01:35.000Z","size":164,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-20T07:35:15.198Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phucbm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2026-04-20T05:08:57.000Z","updated_at":"2026-04-20T06:01:39.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/phucbm/registry-system","commit_stats":null,"previous_names":["phucbm/registry-system"],"tags_count":null,"template":true,"template_full_name":null,"purl":"pkg:github/phucbm/registry-system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phucbm%2Fregistry-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phucbm%2Fregistry-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phucbm%2Fregistry-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phucbm%2Fregistry-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phucbm","download_url":"https://codeload.github.com/phucbm/registry-system/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phucbm%2Fregistry-system/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34728928,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2026-06-24T11:01:17.360Z","updated_at":"2026-06-24T11:01:18.264Z","avatar_url":"https://github.com/phucbm.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# registry-system\n\nAdd a shadcn-compatible component registry to any Next.js project.\nLive Sandpack demos, `shadcn add` install commands, and a Claude plugin for managing components across projects.\n\n**Live demo**: https://phucbm.github.io/registry-system\n\n## Prerequisites\n\n- Next.js (app router)\n- Tailwind v4\n- shadcn CLI\n\n## Install into your project\n\n**1. Copy the engine:**\n```bash\nnpx degit phucbm/registry-system/src/registry-system src/registry-system\n```\n\n**2. Copy the starter component** (rename `example` to your namespace):\n```bash\nnpx degit phucbm/registry-system/registry/example registry/yourname\n```\n\n**3. Add scripts to `package.json`:**\n```json\n\"build:registry\": \"pnpm index-registry \u0026\u0026 pnpm shadcn build \u0026\u0026 pnpm clean-registry\",\n\"index-registry\": \"tsx src/registry-system/scripts/index-registry.ts\",\n\"clean-registry\": \"tsx src/registry-system/scripts/clean-example-registry.ts\"\n```\n\n**4. Set env vars** (copy `.env.example` → `.env.local`):\n```bash\nNEXT_PUBLIC_SITE_URL=https://your-site.com\nNEXT_PUBLIC_REGISTRY_NAMESPACE=yourname\nNEXT_PUBLIC_REGISTRY_FOLDER=r\n```\n\n**5. Build:**\n```bash\npnpm build:registry\n```\n\nThis generates `registry.json` and `public/r/*.json` — the served registry endpoints.\n\n## Claude Plugin\n\nInstall:\n```\n/plugin install registry-system@phucbm\n```\n\n| Skill | When to use | Example prompt |\n|---|---|---|\n| `create-component` | Starting a new component | `create registry component my-button` |\n| `validate-component` | Before publishing | `validate my-button` |\n| `push-to-registry` | Sharing a component with another repo | `push my-button to phucbm/my-site` |\n\n## How it works\n\n```\nregistry/{namespace}/blocks/{name}/\n├── {name}.tsx           your component\n├── example.tsx          live demo (runs in Sandpack)\n└── registry-item.json   shadcn registry manifest\n\n     ↓ pnpm build:registry\n\nregistry.json            shadcn registry root\npublic/r/{name}.json     served registry endpoints\n```\n\nSee [REGISTRY_RULES.md](./REGISTRY_RULES.md) for the full component spec.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphucbm%2Fregistry-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphucbm%2Fregistry-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphucbm%2Fregistry-system/lists"}