https://github.com/piperubio/shadcn-registry
shadcn/ui registry | Descriptions Component
https://github.com/piperubio/shadcn-registry
next nextjs shadcn shadcn-react shadcn-registry shadcn-ui
Last synced: about 1 month ago
JSON representation
shadcn/ui registry | Descriptions Component
- Host: GitHub
- URL: https://github.com/piperubio/shadcn-registry
- Owner: piperubio
- License: mit
- Created: 2025-08-14T19:34:59.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2026-02-12T04:50:54.000Z (4 months ago)
- Last Synced: 2026-02-12T14:29:18.858Z (4 months ago)
- Topics: next, nextjs, shadcn, shadcn-react, shadcn-registry, shadcn-ui
- Language: TypeScript
- Homepage: https://piperubio-shadcn-registry.vercel.app
- Size: 256 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.es.md
- License: LICENSE
Awesome Lists containing this project
README
# Piperubio Component Registry
Registro de componentes custom de shadcn/ui, alojado como sitio Astro para demos y distribución.
Propósito
- Este repositorio construye un registro de componentes para el CLI `shadcn`. Los
componentes React y Astro viven bajo la carpeta `registry/` (conceptualmente importable
como `@registry/`). El registry genera manifiestos JSON (servidos desde `public/r/`) que
el CLI de `shadcn` utiliza para instalar componentes en proyectos usando un flujo copy/paste.
Los manifiestos se generan con `pnpm registry:build`.
*[Read in English](README.md)*
## Stack
- Framework host: Astro
- Componentes: React + Tailwind CSS
- Testing: Vitest + Testing Library
- Tipos: TypeScript (strict)
## Inicio rápido
```bash
git clone https://github.com/piperubio/shadcn-registry.git
cd shadcn-registry
pnpm install
pnpm run dev
```
Abre `http://localhost:4321`.
## Uso del registry
Instala desde la URL de tu registry:
```bash
npx shadcn@latest add description --registry-url https://registry.piperubio.dev
```
Los assets del registry se sirven desde:
- `/r/registry.json`
- `/r/.json` (ejemplo: `/r/description.json`)
Segregación por framework:
- Componentes React (`*.tsx`): `registry/ui/react/`
- Componentes Astro (`*.astro`): `registry/ui/astro/`
## Estructura del proyecto
```txt
shadcn-registry/
├── registry/
│ └── ui/
│ ├── react/ # Componentes React del registry (*.tsx)
│ └── astro/ # Componentes Astro del registry (*.astro)
├── public/
│ └── r/ # Endpoints públicos del registry
│ ├── registry.json
│ ├── description.json
│ └── registry/ui/
├── src/
│ ├── components/
│ ├── layouts/
│ ├── pages/
│ ├── styles/
│ └── test/
└── components.json
```
## Scripts
```bash
pnpm run dev
pnpm run build
pnpm run start
pnpm run lint
pnpm test
pnpm run test:run
pnpm run test:ui
```
## Producción
El sitio de producción está desplegado en:
`https://piperubio-shadcn-registry.vercel.app`