dryui
Health Uyari
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Gecti
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
This tool provides a comprehensive suite of 160+ Svelte UI components, along with a CLI, MCP server, and feedback engine. It is designed to help developers build consistent user interfaces while keeping AI coding assistants on track.
Security Assessment
Overall Risk: Low. The automated code scan reviewed 12 files and found no dangerous patterns, malware, or hardcoded secrets. The tool does not request any dangerous system permissions. While the MCP server and feedback components inherently make local network requests to communicate with your editor and backend, this is expected behavior for an editor integration. The CLI provides standard setup and validation commands without exhibiting malicious shell execution.
Quality Assessment
The project is actively maintained, with its most recent updates pushed today. It uses the standard, permissive MIT license and includes clear documentation and setup instructions. The primary concern is its low community visibility; having only 5 GitHub stars means the codebase has not been extensively vetted by a large audience. However, the source code is open for manual review.
Verdict
Safe to use, though its low community adoption means you may want to quickly review the source code if integrating it into a critical production environment.
160+ components and theme controls, plus a CLI, MCP, and feedback engine to keep AI on track.
DryUI
160+ components and theme controls, plus a CLI, MCP, and feedback engine to keep AI on track.
Docs and editor setup: https://dryui.dev/getting-started
Workspace Packages
| Package | Description |
|---|---|
@dryui/primitives |
Headless, unstyled components built on native browser APIs |
@dryui/ui |
Styled components with scoped Svelte styles and CSS variable theming |
@dryui/lint |
Svelte preprocessor that enforces DryUI CSS discipline |
@dryui/cli |
CLI for setup, discovery, install planning, tokens, and feedback tooling |
@dryui/mcp |
MCP server exposing ask and check for in-editor discovery and validation |
@dryui/theme-wizard |
Optional guided theme generator |
@dryui/feedback |
Optional feedback annotation UI |
@dryui/feedback-server |
Companion feedback server and MCP backend |
@dryui/plugin |
Plugin bundle for Claude Code, Codex, and Gemini CLI |
Quick Start
Start with the CLI:
bun install -g @dryui/cli@latest
dryui
No global install? Use bunx @dryui/cli or npx -y @dryui/cli.
Install the UI package:
npm install @dryui/ui
Use it in Svelte:
<script>
import '@dryui/ui/themes/default.css';
import '@dryui/ui/themes/dark.css';
import { Button, Card } from '@dryui/ui';
</script>
<Card.Root>
<Card.Header>
<h2>Hello</h2>
</Card.Header>
<Card.Content>
<Button>Click me</Button>
</Card.Content>
</Card.Root>
Prefer <html class="theme-auto"> so DryUI follows the system color scheme by default. Use data-theme="light" or data-theme="dark" only for explicit overrides.
AI And Editor Integration
The CLI is the default entry point. Once it is working, add the skill and MCP layer for your editor from https://dryui.dev/getting-started.
Repo contributors should treat apps/docs/src/lib/ai-setup.ts as the canonical setup source for editor snippets and MCP config examples.
Develop From Source
bun install
bun run docs
bun run validate
Testing In A Clean VM
To exercise the published install flow end-to-end without touching your host, use smolvm. Two wrappers are in the root package.json:
bun vm:test # ephemeral: bunx @dryui/cli init + bun run build, exits when done
bun vm # ephemeral: init + vite dev (HMR) at http://localhost:<auto-port>
bun vm:exec dryui list # run a command inside the live `bun vm` session (any terminal)
bun vm prints ✓ DryUI dev server ready (HMR): http://localhost:<PORT> once Vite is actually serving; Ctrl+C tears the VM down. bun vm:exec <args> runs the given command in the scaffolded VM via a shared-volume relay, so you can drive the CLI (dryui list, dryui info Button, etc.) against the live project from any other tab. Install smolvm with curl -sSL https://smolmachines.com/install.sh | /bin/bash (use /bin/bash explicitly so a Homebrew Intel bash on your PATH does not request the wrong platform tarball).
Implementation notes and smolvm/Vite gotchas live in scripts/vm.ts.
See the supporting docs for the rest:
CONTRIBUTING.mdfor contributor workflowACCESSIBILITY.mdfor the accessibility baselinepackages/ui/skills/dryui/rules/theming.mdfor CSS and token rulesRELEASING.mdfor release and npm-auth guidance
Design Principles
- Zero-dependency core runtime built on native browser APIs
- Two-tier architecture: headless primitives plus styled UI components
- Svelte 5 runes only
- CSS variable theming via
--dry-* - CLI-first workflow with optional MCP and skill integration
License
MIT
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi