{"id":28148867,"url":"https://github.com/suraj-kumar00/pictora-ai","last_synced_at":"2026-04-04T08:42:10.649Z","repository":{"id":277402281,"uuid":"932309453","full_name":"Suraj-kumar00/pictora-ai","owner":"Suraj-kumar00","description":"Build Pictora AI, a photo generator SAAS product","archived":false,"fork":false,"pushed_at":"2025-05-01T14:40:07.000Z","size":394,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-01T14:43:43.345Z","etag":null,"topics":["3-tier-architecture","devops","docker","expressjs","full-stack-application","github-actions","kubernetes","nextjs","photoai","pictoraai","postgresql"],"latest_commit_sha":null,"homepage":"","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/Suraj-kumar00.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}},"created_at":"2025-02-13T17:51:34.000Z","updated_at":"2025-05-01T14:40:11.000Z","dependencies_parsed_at":"2025-03-15T18:21:55.122Z","dependency_job_id":"acb003bc-3516-46e7-9ad6-5ac4b4e618b2","html_url":"https://github.com/Suraj-kumar00/pictora-ai","commit_stats":null,"previous_names":["suraj-kumar00/photo-ai","suraj-kumar00/pictora-ai"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suraj-kumar00%2Fpictora-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suraj-kumar00%2Fpictora-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suraj-kumar00%2Fpictora-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suraj-kumar00%2Fpictora-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Suraj-kumar00","download_url":"https://codeload.github.com/Suraj-kumar00/pictora-ai/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254253939,"owners_count":22039792,"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","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":["3-tier-architecture","devops","docker","expressjs","full-stack-application","github-actions","kubernetes","nextjs","photoai","pictoraai","postgresql"],"created_at":"2025-05-15T01:14:52.736Z","updated_at":"2025-12-30T20:10:25.574Z","avatar_url":"https://github.com/Suraj-kumar00.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003ePictora AI - Photo Generator\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./apps/web/public/favicon.svg\" alt=\"Pictora Logo\" width=\"200\"/\u003e\n\u003c/p\u003e\n\nPictora AI is a powerful AI image platform that lets you generate stunning images and train custom AI models. Built with cutting-edge technology, it enables users to create unique AI-generated artwork and train personalized models on their own image datasets. Whether you're an artist looking to expand your creative possibilities or a developer building AI-powered image applications, Pictora AI provides an intuitive interface and robust capabilities for AI image generation and model training.\n\n## Tech Stack\n\n- **Frontend**: Next.js 14 (App Router), TypeScript, Tailwind CSS, Shadcn/UI\n- **Backend**: Node.js with TypeScript\n- **Authentication**: Clerk\n- **Containerization**: Docker\n- **Package Management**: bun\n- **Monorepo Management**: Turborepo\n\n## DevOps practices\n\n## CI/CD Architecture\n\n## Project Structure\n\n### Apps and Packages\n\n- `web`: Next.js frontend application\n- `backend`: Node.js backend service\n- `@repo/ui`: Shared React component library\n- `@repo/typescript-config`: Shared TypeScript configurations\n- `@repo/eslint-config`: Shared ESLint configurations\n\n## Getting Started\n\n### Environment Setup\n\n1. Create `.env` files:\n\n```bash\n# apps/web/.env.local\nNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_publishable_key\nCLERK_SECRET_KEY=your_secret_key\nNEXT_PUBLIC_BACKEND_URL=http://localhost:8000\n```\n\n## Installation steps for local developments\n\n```bash\n# Install dependencies\nbun install\n\n# Run development servers\nbun run dev\n\n# Build all packages\nbun run build\n```\n\n## Features\n\n- AI-powered image generation\n- User authentication and authorization\n- Image gallery with preview\n- Download generated images\n- Responsive design\n\n## Development Commands\n\n```bash\n# Run frontend only\nbun run start:web\n\n# Run backend only\nbun run start:backend\n\n# Run both frontend and backend\nbun run dev\n```\n\n## Installation with Docker in Seconds\n\n### Environment Variables Required\n\n```bash\n# Frontend Environment Variables\nNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_live_Y2xlcmsuMTAweGRldnMuY29tJA\nNEXT_PUBLIC_BACKEND_URL=http://localhost:8000\nNEXT_PUBLIC_STRIPE_KEY=pk_test_51QsCmFEI53oUr5PHZw5ErO4Xy2lNh9LkH9vXDb8wc7BOvfSPc0i4xt6I5Qy3jaBLnvg9wPenPoeW0LvQ1x3GtfUm00eNFHdBDd\nCLERK_SECRET_KEY=your_clerk_secret_key\n\n# Backend Environment Variables\nDATABASE_URL=supabase_db_url\n```\n\n### Docker Commands\n\n```bash\n# Navigate to docker directory\ncd docker\n\n# Build images\ndocker build -f Dockerfile.frontend -t pictora-ai-frontend ..\ndocker build -f Dockerfile.backend -t pictora-ai-backend ..\n\n# Run frontend container\ndocker run -p 3000:3000 \\\n  -e NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_live_Y2xlcmsuMTAweGRldnMuY29tJA \\\n  -e NEXT_PUBLIC_BACKEND_URL=http://localhost:8000\\\n  -e NEXT_PUBLIC_STRIPE_KEY=pk_test_51QsCmFEI53oUr5PHZw5ErO4Xy2lNh9LkH9vXDb8wc7BOvfSPc0i4xt6I5Qy3jaBLnvg9wPenPoeW0LvQ1x3GtfUm00eNFHdBDd \\\n  -e CLERK_SECRET_KEY=your_clerk_secret_key \\\n  pictora-ai-frontend\n\n# Run backend container\ndocker run -p 8000:8000 \\\n  -e DATABASE_URL=your_database_url \\\n  pictora-ai-backend\n\n```\n\n## Project Structure\n\n## Star the repo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuraj-kumar00%2Fpictora-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuraj-kumar00%2Fpictora-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuraj-kumar00%2Fpictora-ai/lists"}