npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

dotcn

v0.0.12-alpha

Published

Simple CLI tool to install shadcn compatible components from various ui-libraries such as magic-ui, aceternity-ui or hexta-ui etc..

Readme

dotcn

npm versionMIT License

Simple CLI tool to install shadcn compatible components and manage shadcn compatible UI libraries such as magic-ui, aceternity-ui, hexta-ui, and more.


Table of Contents


Features

  • 📦 Install shadcn-compatible components from multiple UI libraries with just one single command, no more dealing with long URLS.

  • 🛠️ Supports libraries like magic-ui, aceternity-ui, hexta-ui, kib-ui, and more

  • 🧩 Extensible registry system

  • 📝 TypeScript support


Usage

  1. First initalize dotcn in your project.

[!IMPORTANT] Make sure that you initialize dotcn in the same directory as components.json,

pnpm dlx dotcn@latest init
# optionally you can specify a directory using -c or --cwd, by default it uses current directory.
  1. Now add registries such as magic-ui aceternity-ui etc...
    For that you need two things :
    1. name will be used as unique identifier.
    2. URL of that registry where it's components are hosted.
pnpm dlx dotcn@latest registries add magic-ui https://magicui.design/r/
  1. You can now add any component from magic-ui by just mentioning it's name,
pnpm dlx dotcn@latest add magic-ui marquee # adds the marquee component from magic-ui
  1. Optionally you can mark magic-ui as default, so that you don't have to repeatedly specify it.
pnpm dlx dotcn@latest mark-default magic-ui

Then you can just:

pnpm dlx dotcn@latest add marquee

It will copy the marquee component into your project.

You no longer have to remember all those long URLs, just add any registry and then install it like dotcn add <registry> <component>

Available Commands

  • init — Initalize a registries.json in your project.
  • add — Add a component from registry
  • registries — Manage registries (add, remove, ~~list~~, mark-default, etc.)

Options

  • --help — Show help for a command
  • --version — Show CLI version

Examples

Add a Component

dotcn add magic-ui marquee

Add a New Registry

dotcn registries add kibo-ui https://www.kibo-ui.com/registry/

Remove a Registry

dotcn registries remove magic-ui

Local Development

  1. Fork this Repo
  2. Clone the repository:
git clone https://github.com/atybdot/dotcn.git
cd dotcn
  1. Install dependencies:
pnpm install
# or
npm install
  1. change branch to your feature-title
git checkout -b <feature>
  1. Run in development mode:
pnpm dev
# or
npm run dev
  1. Build for production:
pnpm build
# or
npm run build
  1. Lint & Format:
pnpm lint
pnpm format
pnpm check
  1. Push Code to Github
git push origin <feature>
  1. Open Pull Request

Roadmap

  • [ ] Add search command — Allow users to search famous registries (magic-ui, kib-ui, hexta-ui, etc.) directly from the CLI
  • [ ] Add command to list installed registries
  • [ ] Add import/export finctionality
  • [ ] Refactor codebase — Improve developer experience and clean up code

Contributing

Contributions are welcome! Please open issues and pull requests to help improve dotcn.


License

MIT © @atybdot