gamin-ui
v1.0.0
Published
[](https://github.com/AbinVarghexe/componetui/actions/workflows/ci.yml) [](htt
Readme
Gamin UI Registry Platform
Source-first UI registry for creative developers. Gamin UI distributes components as editable React source code directly into local workspaces via CLI.
What’s included
- Registry content under
registry/ - API routes for listing, fetching, and searching components
- CLI entrypoint:
gamin-ui - Local preview page at
/preview - Metadata validation and smoke tests
Quick start
Install dependencies:
pnpm installRun the app:
pnpm run devOpen:
http://localhost:3000/previewhttp://localhost:3000/api/componentshttp://localhost:3000/api/search?q=hero
CLI
Search the registry:
node ./bin/gamin-ui.js search heroAdd a component to a project:
node ./bin/gamin-ui.js add button --dest ./my-projectAdd a component and install its declared dependencies:
node ./bin/gamin-ui.js add hero-modern --dest ./my-project --installCheck for updates:
node ./bin/gamin-ui.js upgrade --check --dest ./my-projectApply updates:
node ./bin/gamin-ui.js upgrade --dest ./my-projectRegistry format
Each component directory contains:
metadata.jsonwith id, name, version, frameworks, dependencies, and file list- one or more source files such as
.tsx
Example paths:
registry/button/metadata.jsonregistry/button/button.tsx
Testing
Run the smoke test suite:
pnpm testRun metadata validation only:
pnpm run validate:metadataRun the combined release check:
pnpm run release:check- Validate registry metadata.
- Run smoke tests.
- Verify
/previewrenders the registry components. - Verify
/api/componentsand/api/searchreturn the expected results. - Confirm
gamin-ui add,search, andupgradework against a clean temp project.
Contributing
We welcome contributions from the community! Please read our Contributing Guide to learn about our branching model, local development workflows, code standards, and how to submit pull requests.
