{"id":31910635,"url":"https://github.com/altudev/hairfluencer","last_synced_at":"2025-10-13T16:53:21.154Z","repository":{"id":315861142,"uuid":"1060876969","full_name":"altudev/hairfluencer","owner":"altudev","description":"Adım adım Vibe Coding ile Adapty x Fal Hackathon için AI mobil projemizi geliştiriyoruz! 🚀","archived":false,"fork":false,"pushed_at":"2025-09-21T08:53:50.000Z","size":1174,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-21T09:06:57.471Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/altudev.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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-09-20T19:18:54.000Z","updated_at":"2025-09-21T08:07:26.000Z","dependencies_parsed_at":"2025-09-21T09:07:00.536Z","dependency_job_id":"ba4548a4-5a05-40bd-bba8-a431fb4aa420","html_url":"https://github.com/altudev/hairfluencer","commit_stats":null,"previous_names":["altudev/hairfluencer"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/altudev/hairfluencer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altudev%2Fhairfluencer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altudev%2Fhairfluencer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altudev%2Fhairfluencer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altudev%2Fhairfluencer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/altudev","download_url":"https://codeload.github.com/altudev/hairfluencer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altudev%2Fhairfluencer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016117,"owners_count":26085804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-10-13T16:53:19.529Z","updated_at":"2025-10-13T16:53:21.147Z","avatar_url":"https://github.com/altudev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hairfluencer - AI Hairstyle Try On\n\nHairfluencer is an AI-powered mobile application that enables users to instantly visualize new haircuts and colors using advanced AI transformation technology. Built as a hackathon MVP using Turborepo, Expo, and FAL.ai.\n\n## Features\n\n- **AI Hairstyle Transformation**: Upload a selfie and try on different hairstyles using FAL.ai's nano-banana/edit model\n- **Dual Language Support**: Full support for English and Spanish interfaces\n- **Authentication**: Secure login with email/password or Google OAuth\n- **Favorites System**: Save and manage your favorite hairstyle transformations\n- **Admin Panel**: Web-based management interface for hairstyle gallery and analytics\n\n## Project Structure\n\nThis is a Turborepo monorepo containing:\n\n### Apps\n- `apps/mobile`: Expo React Native app (primary client) for iOS/Android\n- `apps/api`: Bun + Hono backend API with Better Auth and Drizzle ORM\n- `apps/web`: Next.js 15 admin panel with Turbopack\n\n### Packages\n- `packages/eslint-config`: Shared ESLint configurations\n- `packages/typescript-config`: Shared TypeScript configurations\n\n## Quick Start\n\n### Prerequisites\n- Node.js 18+\n- Bun 1.2.22+\n- PostgreSQL database\n- FAL.ai API key\n- Google OAuth credentials (optional)\n\n### Installation\n\n```bash\n# Clone the repository\ngit clone https://github.com/yourusername/hairfluencer.git\ncd hairfluencer\n\n# Install dependencies\nbun install\n```\n\n### Environment Setup\n\nCreate `.env` files in the respective app directories:\n\n**apps/api/.env:**\n```bash\nDATABASE_URL=postgres://user:password@localhost:5432/hairfluencer\nDRIZZLE_DATABASE_URL=postgres://user:password@localhost:5432/hairfluencer\nBETTER_AUTH_SECRET=your-32-character-minimum-secret-key\nBETTER_AUTH_URL=http://localhost:3001\nFRONTEND_URL=http://localhost:8081\nGOOGLE_CLIENT_ID=your-google-client-id\nGOOGLE_CLIENT_SECRET=your-google-client-secret\nFAL_API_KEY=your-fal-api-key\nFAL_MODEL_ID=nano-banana/edit\n```\n\n**apps/mobile/.env:**\n```bash\nEXPO_PUBLIC_API_URL=http://localhost:3001\nEXPO_PUBLIC_GOOGLE_CLIENT_ID=your-google-client-id\nEXPO_PUBLIC_ADAPTY_PUBLIC_KEY=your-adapty-public-key\n```\n\n**apps/web/.env:**\n```bash\nNEXT_PUBLIC_API_URL=http://localhost:3001\n```\n\n### Database Setup\n\n```bash\n# Navigate to API directory\ncd apps/api\n\n# Generate database migrations\nbun run db:generate\n\n# Apply migrations\nbun run db:migrate\n\n# (Optional) Open Drizzle Studio for database management\nbun run db:studio\n```\n\n## Development\n\n### Run all apps simultaneously\n```bash\nbun dev\n```\n\n### Run individual apps\n\n**Mobile App (Expo):**\n```bash\ncd apps/mobile\nbunx expo install [package]  # Install packages with Expo compatibility\nbun start                     # Start Expo development server\nbun ios                       # Run on iOS simulator\nbun android                   # Run on Android emulator\nbun web                       # Run in web browser\n```\n\n**API Server:**\n```bash\ncd apps/api\nbun dev  # Runs on http://localhost:3001\n```\n\n**Admin Panel:**\n```bash\ncd apps/web\nbun dev  # Runs on http://localhost:3000\n```\n\n## Building for Production\n\n```bash\n# Build all apps\nbun build\n\n# Build specific app\nbun build --filter=mobile\nbun build --filter=api\nbun build --filter=web\n```\n\n## Code Quality\n\n```bash\n# Run linting for all apps\nbun lint\n\n# Format all TypeScript and Markdown files\nbun format\n\n# Type check all apps\nbun check-types\n```\n\n## Tech Stack\n\n- **Mobile**: Expo SDK 53, React Native 0.79, React Navigation, Expo Router\n- **Backend**: Bun, Hono, Better Auth, Drizzle ORM, PostgreSQL\n- **Admin**: Next.js 15, React 19, Tailwind CSS v4, Turbopack\n- **AI**: FAL.ai platform (nano-banana/edit model)\n- **Payments**: Adapty SDK for in-app purchases\n- **Monorepo**: Turborepo with Bun workspaces\n\n## Project Goals (Hackathon MVP)\n\n- Launch working MVP within 14 days\n- Achieve 200+ user sign-ups in the first week\n- Complete 100+ AI hairstyle try-ons\n- Maintain \u003c8 second transformation time (90th percentile)\n- Collect 50+ user feedback responses\n\n## Contributing\n\nPlease read [AGENTS.md](AGENTS.md) for development guidelines and [CLAUDE.md](CLAUDE.md) for AI assistant integration instructions.\n\n## License\n\nThis project is proprietary and confidential.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltudev%2Fhairfluencer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faltudev%2Fhairfluencer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltudev%2Fhairfluencer/lists"}