Materializr
Open-source parametric 3D CAD for makers — constraint sketches, solid modeling, threads, SVG & text engraving, STL/STEP export. Android, iPad, Linux, Mac, Windows. Vibe coded.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证正在加载完整 README。 以下为已保存的摘录。
AI-powered interior design assistant that transforms your room photos into stunning design variations using Google's Gemini Vision model. Upload a room image, choose your style, and get professional design suggestions instantly.查看完整 README ↗Report Bug · Request Feature · Discussions
Magic Room is an AI-powered interior design assistant that helps anyone transform their living spaces. Upload a photo of your room, select a design theme, and get instant professional design suggestions powered by Google's Gemini Vision model. With a transparent credit system, secure authentication, and privacy-first approach, redesigning your space has never been easier.
pnpm dev at http://localhost:3000Quick preview: Upload room photo → Select design theme → AI generates variations → Compare with slider → Download results
| Category | Technology |
|---|---|
| Framework | Next.js 15 (App Router) |
| Language | TypeScript (strict) |
| Styling | Tailwind CSS v4 + shadcn/ui |
| State Management | Zustand |
| Auth | Clerk |
| Database | Supabase (PostgreSQL) |
| AI Model | Google Gemini 3.1 Flash (via OpenRouter) |
| Rate Limiting | Upstash Redis |
| Payments | Stripe |
| Validation | Zod |
| Logging | Pino |
| Hosting | Vercel |
git clone https://github.com/ThanosKa/magic-room.git
cd magic-room
pnpm install
cp .env.example .env.local
# Fill in the following variables:
# Clerk: NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY, CLERK_SECRET_KEY
# Supabase: NEXT_PUBLIC_SUPABASE_URL, SUPABASE_SERVICE_ROLE_KEY, SUPABASE_ANON_KEY
# Stripe: STRIPE_SECRET_KEY, STRIPE_WEBHOOK_SECRET, NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY, STRIPE_PRICE_IDS
# OpenRouter: OPENROUTER_API_KEY
# Upstash Redis: UPSTASH_REDIS_REST_URL, UPSTASH_REDIS_REST_TOKEN
# App: NEXT_PUBLIC_APP_URL
Run the Supabase migrations:
# Apply migrations from supabase/migrations/
# Or run the SQL files in order through your Supabase dashboard
pnpm dev
# Visit http://localhost:3000
pnpm lint — ESLint quality checkspnpm type-check — TypeScript compilation checkpnpm test:run — Run Vitest test suitepnpm test:coverage — Run tests with coverage reportmagic-room/
├── app/ # Next.js App Router pages and API routes
│ ├── api/ # API endpoints (generate, checkout, webhooks)
│ ├── generate/ # Main generation page
│ └── pricing/ # Pricing page
├── components/ # Reusable UI components
│ ├── ui/ # shadcn/ui components
│ └── ... # Custom components
├── lib/ # Utility libraries and configurations
│ ├── openrouter.ts # AI model integration
│ ├── stripe.ts # Payment processing
│ └── supabase.ts # Database client
├── stores/ # Zustand state management
├── supabase/ # Database migrations and seed data
├── tests/ # Test files
└── .github/ # GitHub configuration
The easiest way to deploy Magic Room is with Vercel:
.env.localNEXT_PUBLIC_APP_URL to your production domainBuild locally and run on Node 20+:
pnpm build
pnpm start
.github/workflows/ci.yml runs automated checks on every push and pull request:
Contributions are welcome! Please read CONTRIBUTING.md and follow our Code of Conduct. Use the issue templates for bugs and features, and the PR template when submitting changes.
Report security vulnerabilities privately as described in SECURITY.md. Do not file public issues for security concerns.
Licensed under Apache License 2.0. See LICENSE.