Develop the registry
Local development
Requirements:
- Node.js 20 or newer
- npm 10 or newer
git clone https://github.com/qentrah/DUI.git
cd DUI
npm install
npm run devOpen http://localhost:3000.
Before submitting a change:
npm run lint
npm run build
npm run registry:build
npm run registry:validateRegistry structure
app/ Documentation website
components/ui/ Installable component source
components/library/ Documentation previews
lib/ Shared utilities and catalogs
public/r/ Generated registry payloads
registry.json Registry source of truth
components.json Local shadcn configurationWhen adding an installable component:
- Add its source to
components/ui. - Declare the item and dependencies in
registry.json. - Add its documentation metadata to
lib/catalog.ts. - Add a preview and example source.
- Build and validate the registry.
Contributing
Contributions are welcome. Read CONTRIBUTING.md before opening a pull request. By participating, you agree to follow the CODE_OF_CONDUCT.md.
For security issues, follow the private reporting process in SECURITY.md.
Source captured: 2026-10-11