Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Install components from your GitHub repository aka shadcn CLI for your own UI library
Install components from your GitHub repository
aka shadcn CLI for your own UI library.
Login
npx fetty login
? Enter your GitHub personal access token: [hidden]
✓ Successfully logged in as mrzmyr
[!NOTE] The token is stored using
keytar
and will be used to fetch components from your GitHub repository. Required permissions: "Contents: Read-only".
Initialize
First you need to have a GitHub repository with components to install from, see fetty-components-repository for example.
npx fetty init
? Enter the GitHub repository (owner/repo): mrzmyr/fetty-registry
? Where should components be installed locally? src/components/cf
✓ Configuration saved successfully
Install component
npx fetty add button
Fetching https://github.com/mrzmyr/fetty-registry/tree/main/src/components/button
✔ Installed `button` to `src/components/cf/button`
Use component
import { Button } from "src/components/cf/button";
npx fetty login
Add GitHub credentials
npx fetty init
Create
fetty.config.json
file
npx fetty add
Fetch components and install them to your project
npx fetty logout
Remove stored credentials
FAQs
Install components from your GitHub repository aka shadcn CLI for your own UI library
We found that fetty demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.