Materializr
開源參數式 3D CAD 給創客 — 受限草圖、實體建模、螺紋、SVG 與文字雕刻、STL/STEP 匯出。Android、iPad、Linux、Mac、Windows。Vibe 編碼。
AI 翻譯
尚未偵測到更新。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.