https://github.com/rbadillap/pastecn
pastebin + shadcn = pastecn. Paste your code and get a shadcn-compatible registry URL instantly.
https://github.com/rbadillap/pastecn
components pastebin react registry shadcn ui ux
Last synced: about 1 month ago
JSON representation
pastebin + shadcn = pastecn. Paste your code and get a shadcn-compatible registry URL instantly.
- Host: GitHub
- URL: https://github.com/rbadillap/pastecn
- Owner: rbadillap
- License: mit
- Created: 2026-01-17T21:54:07.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-01-23T20:11:49.000Z (about 1 month ago)
- Last Synced: 2026-01-25T05:40:00.252Z (about 1 month ago)
- Topics: components, pastebin, react, registry, shadcn, ui, ux
- Language: TypeScript
- Homepage: https://pastecn.com
- Size: 389 KB
- Stars: 84
- Watchers: 0
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# pastecn
**pastebin + shadcn = pastecn**
Create shareable shadcn/ui registry URLs. Paste your code, get a URL that works directly with `npx shadcn@latest add`.

## Features
- **Instant Registry URLs** - Convert any code into shadcn-compatible endpoints
- **Multi-file Support** - Create blocks with multiple files (components + hooks + libs)
- **Auto-save Drafts** - localStorage persistence keeps your work safe across page refreshes
- **Multiple Types** - Support for components, hooks, libs, and arbitrary files
- **Zero Config** - No auth, no signup, just paste and share
- **Immutable URLs** - Once created, snippets never change (perfect for sharing)
## Quick Start
1. Paste your code at [pastecn.com](https://pastecn.com)
2. Select type (component/hook/lib/file) and set filename
3. Click "Create Snippet" to get your registry URL
### Install a snippet
```sh
# Using namespace (shorter)
npx shadcn@latest add @pastecn/{id}
# Using full URL
npx shadcn@latest add https://pastecn.com/r/{id}
```
## Contributing
Contributions welcome. Open an issue, submit a pull requests, share your idea!
## License
Licensed under the [MIT License](LICENSE.md)