{"id":30666263,"url":"https://github.com/thecodechaser/ai-image-studio","last_synced_at":"2025-08-31T21:49:00.572Z","repository":{"id":312131353,"uuid":"1046439900","full_name":"thecodechaser/ai-image-studio","owner":"thecodechaser","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-28T18:00:44.000Z","size":73,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"dev","last_synced_at":"2025-08-29T00:08:16.751Z","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/thecodechaser.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-08-28T17:32:40.000Z","updated_at":"2025-08-28T18:00:47.000Z","dependencies_parsed_at":"2025-08-29T00:08:22.899Z","dependency_job_id":null,"html_url":"https://github.com/thecodechaser/ai-image-studio","commit_stats":null,"previous_names":["thecodechaser/ai-image-studio"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/thecodechaser/ai-image-studio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodechaser%2Fai-image-studio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodechaser%2Fai-image-studio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodechaser%2Fai-image-studio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodechaser%2Fai-image-studio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thecodechaser","download_url":"https://codeload.github.com/thecodechaser/ai-image-studio/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodechaser%2Fai-image-studio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273046451,"owners_count":25036179,"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-08-31T02:00:09.071Z","response_time":79,"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-08-31T21:48:55.745Z","updated_at":"2025-08-31T21:49:00.556Z","avatar_url":"https://github.com/thecodechaser.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://img.shields.io/badge/thecodechaser-blueviolet)\n\n# AI Image Studio\n\n\u003e AI Image Studio is a lightweight React app for rapid image-ideation. Upload a PNG/JPG (auto-downscaled if large), enter a prompt, choose a style, and see a live summary before generating. A mocked API simulates latency, errors, retries with backoff, and aborts, while the last five results persist as a clickable history. Built with TypeScript and Tailwind, it’s fast, accessible, and keyboard-friendly—perfect for testing AI-studio flows without backend complexity.\n\n## Preview:\n\n![screenshot](./public/images/previews/preview1.png)\n\n![screenshot](./public/images/previews/preview2.png)\n\n![screenshot](./public/images/previews/preview3.png)\n\n## Built With\n\n- HTML\n- CSS\n- JavaScript\n- TypeScript\n- REACT\n- Vite\n- Tailwind CSS\n\n## Design Notes\n\n- **Layout:** The UI is split into two main sections:  \n  - Left side: Upload image, enter prompt, and choose style.  \n  - Right side: Live preview with recent generations history.  \n  This provides a clear workflow from input → preview → history.  \n\n- **Styling:** TailwindCSS is used for a clean, modern interface with responsive spacing, typography, and visible focus states for accessibility.  \n\n- **Accessibility:** All interactive elements (upload, dropdown, buttons) are keyboard navigable with ARIA labels where appropriate.  \n\n- **Image Handling:** Client-side downscaling ensures uploaded images ≤1920px before sending, keeping performance smooth.  \n\n- **Error Handling:** The mocked API introduces simulated latency and errors. Automatic retries with exponential backoff are implemented, along with an **Abort** option for in-flight requests.  \n\n- **History:** The last 5 generations are stored in `localStorage` and displayed with timestamp, prompt, and style. Clicking restores them in the preview.  \n\n- **Performance Optimizations:** Memoization is used in components where needed, and assets are split to keep bundle size lean.  \n\n---\n\n## Live version\n\n[AI Image Studio](https://ai-image.thecodechaser.com)\n\n## Getting Started\n\nTo get a local copy up and running follow these simple example steps.\n\n### Prerequisites\n- A text editor(preferably Visual Studio Code)\n- Node\n- Web browser\n\n### Install\n- [Git](https://git-scm.com/downloads)\n- [Node](https://nodejs.org/en/download/)\n\n### Using it Locally\n\n- Clone the project\n\n```bash \ngit clone git@github.com:thecodechaser/ai-image-studio.git\n\ncd ai-image-studio\n```\n\n- Install dependencies\n\n```bash\nnpm i \nor\nnpm install\n```\n- To Start the development server\n```bash\nnpm run dev\n```\n\n- To test the project\n```bash\nnpm run test\n```\n\n\n## Visit And Open Files\n\n[Visit Repo](https://github.com/thecodechaser/ai-image-studio)\n\n## Download Repo\n\n[Download Repo](https://github.com/thecodechaser/ai-image-studio/archive/refs/heads/main.zip)\n\n## Authors\n\n👤 **Ranjeet Singh**\n\n- Website: [thecodechaser.com](https://thecodechaser.com)\n- GitHub: [@thecodechaser](https://github.com/thecodechaser)\n- Twitter: [@thecodechaser](https://twitter.com/thecodechaser)\n- LinkedIn: [thecodechaser](https://linkedin.com/in/thecodechaser)\n\n## 🤝 Contributing\n\nContributions, issues, and feature requests are welcome!\n\nFeel free to check the [issues page](https://github.com/thecodechaser/ai-image-studio/issues).\n\n## Show your support\n\nGive a ⭐️ if you like this project!\n\n## Acknowledgments\n\n- Inspiration: Modelia\n\n## 📝 License\n\nThis project is [MIT](./LICENSE) licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodechaser%2Fai-image-studio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthecodechaser%2Fai-image-studio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodechaser%2Fai-image-studio/lists"}