New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

shadcnify

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shadcnify

CLI for publishing components to Shadcnify registries

latest
Source
npmnpm
Version
0.0.9
Version published
Maintainers
1
Created
Source

Shadcnify CLI

A command-line interface for publishing components to Shadcnify registries. Select files from your project and publish them as a registry that can be installed with shadcn/ui.

Installation

For End Users

# Install globally
npm install -g shadcnify

# Or use npx (no installation needed)
npx shadcnify

The CLI automatically downloads the correct binary for your platform (macOS, Linux, or Windows).

For Development

# Clone the repo
git clone https://github.com/martinsione/shadcnify.com
cd shadcnify.com/apps/cli

# Install dependencies
bun install

# Run in dev mode
bun run dev

How It Works

  • The CLI scans your current directory for files (respecting .gitignore)
  • Use arrow keys to navigate, spacebar to select files
  • Type to search/filter files with fuzzy matching
  • Press Enter to publish selected files
  • Get your registry URL and installation command

Building

To build the standalone executable for your current platform:

bun run build

This creates a single binary at dist/shadcnify (~66MB) that includes the entire Bun runtime and all dependencies.

Note: Due to OpenTUI's native dependencies, you can only build for your current platform. Cross-compilation is not supported.

Configuration

Environment Variables

  • API_ENDPOINT - The API endpoint for registry creation
    • Default: https://shadcnify.com/api/registry (production)
    • Development: http://localhost:3000/api/registry

To use a custom endpoint:

API_ENDPOINT=https://your-domain.com/api/registry ./dist/shadcnify

Features

  • 📁 Automatic file discovery with gitignore support
  • 🔍 Fuzzy search file filtering
  • ⌨️ Keyboard-driven interface
  • 🚀 Direct publishing to Shadcnify
  • 📋 Get installation command instantly

Keyboard Shortcuts

  • ↑/↓ - Navigate files
  • Space - Toggle file selection
  • Enter - Submit selected files
  • Backspace - Clear search
  • Type - Search/filter files
  • Ctrl+C - Exit

This project was created using bun create tui. create-tui is the easiest way to get started with OpenTUI.

Keywords

shadcn

FAQs

Package last updated on 11 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts