{"id":49564809,"url":"https://github.com/srikant-code/prelook-studio","last_synced_at":"2026-05-03T11:10:45.845Z","repository":{"id":335900938,"uuid":"1147272162","full_name":"srikant-code/prelook-studio","owner":"srikant-code","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-01T18:50:50.000Z","size":130,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-02T03:11:51.731Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://prelook-studio.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srikant-code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-01T13:44:14.000Z","updated_at":"2026-02-01T18:50:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/srikant-code/prelook-studio","commit_stats":null,"previous_names":["srikant-code/prelook-studio"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/srikant-code/prelook-studio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srikant-code%2Fprelook-studio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srikant-code%2Fprelook-studio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srikant-code%2Fprelook-studio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srikant-code%2Fprelook-studio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srikant-code","download_url":"https://codeload.github.com/srikant-code/prelook-studio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srikant-code%2Fprelook-studio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32566464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-03T11:10:45.075Z","updated_at":"2026-05-03T11:10:45.840Z","avatar_url":"https://github.com/srikant-code.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cimg width=\"1200\" height=\"475\" alt=\"GHBanner\" src=\"https://github.com/user-attachments/assets/0aa67016-6eaf-458a-adb2-6e31a0763ed6\" /\u003e\n\u003c/div\u003e\n\n# 💈 Prelook Studio\n\nAI-powered hairstyle visualization platform that lets users try on different hairstyles before visiting the salon.\n\n![Version](https://img.shields.io/badge/version-2.0.0-blue)\n![License](https://img.shields.io/badge/license-MIT-green)\n![React](https://img.shields.io/badge/React-18.x-61DAFB?logo=react)\n![TypeScript](https://img.shields.io/badge/TypeScript-5.x-3178C6?logo=typescript)\n\nView your app in AI Studio: https://ai.studio/apps/drive/1w567IJmIOBuw_O9ASVvs4u5kWlVe5Jxk\n\n## ✨ Features\n\n### For Customers\n- 📸 **Upload or Capture** - Use your camera or upload an existing photo\n- 🎨 **AI Transformation** - Generate photorealistic hairstyle previews instantly\n- 🔄 **360° Views** - Unlock front, left, right, and back angles (premium feature)\n- 📱 **Quick Login** - Returning users get 1-tap access to their history\n- 💾 **Session History** - All your generated styles saved automatically\n- 📍 **Salon Finder** - Book appointments at nearby salons\n\n### For Salon Partners\n- 🏪 **Admin Dashboard** - Manage bookings and customer flow\n- 📊 **Analytics** - Track AI sessions and revenue\n- 🎫 **Walk-in Codes** - Issue special codes for customers with salon perks\n\n## 🚀 Quick Start\n\n**Prerequisites:**  Node.js 18+\n\n1. **Install dependencies:**\n   ```bash\n   npm install\n   ```\n\n2. **Set up environment:**\n   - Copy `.env.local.example` to `.env.local` (if not exists)\n   - Add your Gemini API key:\n     ```\n     API_KEY=your_gemini_api_key_here\n     ```\n\n3. **Run the app:**\n   ```bash\n   npm run dev\n   ```\n\n4. Visit `http://localhost:5173`\n\n## 📁 Project Structure\n\n```\nprelook-studio/\n├── src/                        # NEW: Organized source (in progress)\n│   ├── components/ui/          # Reusable UI components ✅\n│   ├── hooks/                  # Custom React hooks ✅\n│   ├── services/               # API \u0026 business logic ✅\n│   ├── types/                  # TypeScript definitions ✅\n│   └── constants/              # App constants ✅\n├── components/                 # Current components (active)\n├── services/                   # Current services (active)\n├── App.tsx                     # Main application\n└── types.ts                    # Type definitions\n```\n\nSee [ARCHITECTURE.md](./ARCHITECTURE.md) for complete documentation.\n\n## 🎯 User Flow Improvements\n\n### ✅ New Users\n- **Before:** Forced to login first\n- **After:** Directly see upload/camera interface - no login required to start!\n\n### ✅ Returning Users  \n- **Before:** Manual email/password every time\n- **After:** 1-tap quick login from recent users list with OTP\n\n## 🛠️ Technology Stack\n\n- **React 18** + **TypeScript** - UI framework with type safety\n- **Vite** - Lightning-fast build tool\n- **Tailwind CSS** - Utility-first styling\n- **Google Gemini AI** - Image generation\n- **Lucide React** - Beautiful icons\n\n## 💳 Credit System\n\n- **Free**: 2 credits (try before you buy)\n- **Pro**: ₹99 - 15 credits  \n- **Ultimate**: ₹169 - 60 credits\n\n**Usage:**\n- 1 credit = Front view generation\n- 2 credits = Unlock 360° views (all angles)\n\n## 🎨 New UI Component Library\n\nProduction-ready components in `src/components/ui/`:\n\n```typescript\nimport { Button, Card, Avatar, Badge, Modal, Input } from '@/components/ui';\n\n\u003cCard variant=\"elevated\" padding=\"lg\"\u003e\n  \u003cAvatar src={user.avatar} size=\"lg\" /\u003e\n  \u003cBadge variant=\"success\"\u003eActive\u003c/Badge\u003e\n  \u003cButton variant=\"primary\" fullWidth\u003eGet Started\u003c/Button\u003e\n\u003c/Card\u003e\n```\n\n## 📱 Responsive Design\n\nFully responsive across:\n- 📱 Mobile: Touch-optimized, full-screen camera\n- 📧 Tablet: Adaptive layouts  \n- 💻 Desktop: Multi-column interface\n\n## 🔄 Migration Status\n\n### ✅ Completed\n- Production folder structure created\n- Reusable UI component library built\n- Custom hooks implemented (useAuth, useHistory, useLocalStorage)\n- **Fixed authentication flow** for new vs returning users\n- Comprehensive documentation added\n\n### 🚧 In Progress\n- Migrating components to new `src/` structure\n- Updating import paths\n\n### 📋 Planned\n- Complete migration \u0026 cleanup\n- Unit tests\n- Performance optimization\n\n## 📄 License\n\nMIT License - see [LICENSE](LICENSE) for details.\n\n---\n\n\n**Built with ❤️ by the Prelook Studio Team**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrikant-code%2Fprelook-studio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrikant-code%2Fprelook-studio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrikant-code%2Fprelook-studio/lists"}