MCPcopy Index your code
hub / github.com/jnsahaj/tweakcn

github.com/jnsahaj/tweakcn @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
1,137 symbols 3,032 edges 436 files 2 documented · 0% updated 25d ago★ 10,12631 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

tweakcn.com

Vercel OSS Program

Discord GitHub Repo stars X (formerly Twitter) URL

tweakcn is a powerful Visual Theme Editor for tailwind CSS & shadcn/ui components. It comes with Beautiful theme presets to get started, while aiming to offer advanced customisation for each aspect of your UI

tweakcn.com

Motivation

Websites made with shadcn/ui famously look the same. tweakcn is a tool that helps you customize shadcn/ui components visually, to make your components stand-out. The goal is to build a platform where a user can discover endless customization options and then have the ability to put their own twist on it.

Current Features

You can find the full feature list here: https://tweakcn.com/#features

Run Locally

IMPORTANT: For contributions, please see CONTRIBUTING.md.

Prerequisites

  • Node.js 18+
  • npm / yarn / pnpm

Installation

  1. Clone the repository:
git clone https://github.com/jnsahaj/tweakcn.git
cd tweakcn
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev
  1. Open http://localhost:3000 in your browser.

Contributors

Made with contrib.rocks.

Interested in Contributing?

Contributions are welcome! Please feel free to submit a Pull Request.

Star History

  <img alt="GitHub Star History for jnsahaj/tweakcn" src="https://api.star-history.com/svg?repos=jnsahaj/tweakcn&type=Date">

Extension points exported contracts — how you extend this code

UsageStats (Interface)
(no doc)
actions/ai-usage.ts
ShadcnStatusPayload (Interface)
(no doc)
types/live-preview-embed.ts
ThemeEditorPreviewProps (Interface)
(no doc)
types/theme.ts
BaseEditorState (Interface)
(no doc)
types/editor.ts
CommunityThemeAuthor (Interface)
(no doc)
types/community.ts
SubscriptionCheck (Interface)
(no doc)
types/subscription.ts
CopyButtonProps (Interface)
(no doc)
components/copy-button.tsx
DebugButtonProps (Interface)
(no doc)
components/debug-button.tsx

Core symbols most depended-on inside this repo

cn
called by 443
lib/utils.ts
colorToken
called by 32
utils/theme-style-generator.ts
formatColor
called by 32
utils/theme-style-generator.ts
convertColor
called by 32
utils/registry/themes.ts
formatColor
called by 32
utils/registry/v0.ts
toast
called by 30
hooks/use-toast.ts
oauthError
called by 29
lib/oauth.ts
get
called by 29
db/index.ts

Shape

Function 971
Interface 145
Class 12
Method 9

Languages

TypeScript100%

Modules by API surface

public/live-preview.js18 symbols
types/errors.ts17 symbols
public/live-preview.min.js17 symbols
components/ui/menubar.tsx16 symbols
utils/ai/ai-prompt.tsx15 symbols
components/ui/dropdown-menu.tsx15 symbols
components/ui/context-menu.tsx15 symbols
utils/theme-style-generator.ts14 symbols
lib/oauth.ts14 symbols
components/loader.tsx14 symbols
components/editor/theme-preset-select.tsx13 symbols
actions/community-themes.ts13 symbols

Dependencies from manifests, versioned

@ai-sdk/google2.0.11 · 1×
@ai-sdk/react2.0.28 · 1×
@base-ui-components/react1.0.0-beta.2 · 1×
@dnd-kit/core6.3.1 · 1×
@dnd-kit/modifiers9.0.0 · 1×
@dnd-kit/sortable10.0.0 · 1×
@dnd-kit/utilities3.2.2 · 1×
@eslint/eslintrc3 · 1×
@google/generative-ai0.24.1 · 1×
@hookform/resolvers5.2.1 · 1×
@lexical/react0.31.0 · 1×

For agents

$ claude mcp add tweakcn \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact