- Google Chrome Version (install the version necessary to access Built-in Prompt API)
- Ensure you meet the system requireemtns, including minimum storage for local LLM
- Ensure you review acknowledge Google's generative AI Prohibited Uses Policy
- Clone the repository
- Create
.envfile with the following api key:GOOGLE_GENERATIVE_AI_API_KEYin the file (for example: GOOGLE_GENERATIVE_AI_API_KEY="YOUR-KEY-HERE")- This is needed to access Gemini Cloud
generateContent()API
- This is needed to access Gemini Cloud
- Install NPM dependencies
npm i
-
initialize and run backend server to enable gemini cloud api usage
npm run backend -
(Recommended Option) build Chrome Extension and run extension within browser a)
npm run buildb) in chrome://extensions, load unpacked from the build folder (e.g.,/.output/chrome-mv3) -
(Secondary Option) run WXT configured chrome extension; npm run dev