daytimedrinkingclub / shipstation

Generate landing pages, html templates, portfolios and more using state of the art AI tools. Works most of the times. Works really really well sometimes!
https://shipstation.ai/
67 stars 59 forks source link

One of Possibel Fix For #24 Automated Website Analysis and Repair System #35

Closed vikaswakde closed 4 weeks ago

vikaswakde commented 1 month ago

Implement Automated Website Analysis and Repair System

one possible fix for #24

Overview

This PR introduces an automated system for analyzing and repairing deployed websites. The system uses image analysis and AI-assisted code generation to detect and fix common issues, ensuring higher quality and consistency in our generated websites.

Approach

  1. Capture screenshots after deployment (using Puppeteer)
  2. Analyze the screenshots (using Google Cloud Vision API)
  3. Repair the website if issues are detected (using a repair service)
  4. Re-deploy the website after repairs
  5. Capture new screenshots after repairs
  6. Re-analyze the website and finalize deployment

Key Changes

1. Screenshot Capture (server/services/screenshotService.js)

2. Image Analysis (server/services/imageAnalysisService.js)

3. Website Repair (server/services/repairService.js)

4. Deployment Process (server/controllers/ctoToolController.js)

5. Google Cloud Authentication (server/config/googleCloudAuth.js)

ptmaroct commented 1 month ago

@vikaswakde @ms4n is already working on this, you can meet him in office and collaborate together on this

vikaswakde commented 1 month ago

@vikaswakde @ms4n is already working on this, you can meet him in office and collaborate together on this

That would, be great, I was also having some errors in that