This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/drive/1Rlag5HDS4Wav5vrVq_GIS0mfCAPNnyo_
Prerequisites: Node.js
- Install dependencies:
npm install
- Set the
GEMINI_API_KEY
in .env.local to your Gemini API key - Run the app:
npm run dev
To confirm that every HTML template maps Google Drive downloads through API links (falling back to UC links when needed) instead of the shareable view URLs, run the following search from the repository root:
rg "downloadUrl: viewUrl"
The command should produce no matches. Any future regression where a template assigns a downloadUrl
directly to the viewUrl
will show up in this search so it can be corrected immediately.
Run the Playwright checks that load representative UI variants and assert they construct Google Drive asset URLs using the UC view form:
npm run test:playwright