# @involvex/gemini-cli-contextupdates Gemini.md files for Gemini-cli .
# npx @involvex/gemini-cli-context@latest Gemini.md - Node.js
- npm
npm install
├── .env
├── .prettierrc
├── dist
│ └── gemini-cli-context.cjs
├── eslint.config.js
├── Gemini.md
├── package-lock.json
├── package.json
├── README.md
└── src
├── config.js
├── index.js
└── utils
└── gemini.js
-
start: node src/index.js -
lint: eslint . -
lint:fix: eslint . --fix -
format:check: prettier --check . -
format: prettier --write . -
prebuild: if not exist dist mkdir dist -
build: esbuild src/index.js --bundle --platform=node --outfile=dist/gemini-cli-context.cjs
- TEXT_ONLY:
gemini-2.5-flash - TEXT_AND_IMAGE:
gemini-2.5-pro
To update the project context and generate Gemini.md (and optionally README.md), run the following command:
npm startYou will be prompted to provide a detailed project description and whether to update README.md.
This project uses the Google Gemini API. To use it, you can provide your API key in two ways:
- Obtain a Gemini API key from the Google AI Studio.
- Create a
.envfile in the root directory of this project. - Add your API key to the
.envfile:
GEMINI_API_KEY=YOUR_API_KEYReplace YOUR_API_KEY with your actual Gemini API key.
You can also pass the API key directly when running the script:
npm start -- --apikey="YOUR_API_KEY"
Note the -- before --apikey which is necessary to pass arguments to the Node.js script.
# Enjoy !
- Node.js
- npm
npm install
├── .env
├── .github
│ └── FUNDING.yml
├── .gitignore
├── .prettierrc
├── dist
│ └── gemini-cli-context.cjs
├── eslint.config.js
├── Gemini.md
├── package-lock.json
├── package.json
├── README.md
├── repomix-output.xml
└── src
├── config.js
├── index.js
└── utils
└── gemini.js
start : node src/index.js
lint : eslint .
lint:fix : eslint . --fix
format:check : prettier --check .
format : prettier --write .
prebuild : if not exist dist mkdir dist
build : esbuild src/index.js --bundle --platform=node --banner:js="#!/usr/bin/env node" --outfile=dist/gemini-cli-context.cjs
bundle : repomix
postbundle : echo 'Project bundled into a single file using repomix. You can find the output in the project root.'
├── .env
├── .github
│ └── FUNDING.yml
├── .gitignore
├── .prettierrc
├── dist
│ └── gemini-cli-context.cjs
├── eslint.config.js
├── Gemini.md
├── package-lock.json
├── package.json
├── README.md
├── repomix-output.xml
└── src
├── config.js
├── index.js
└── utils
└── gemini.js
start : node src/index.js
lint : eslint .
lint:fix : eslint . --fix
format:check : prettier --check .
format : prettier --write .
prebuild : if not exist dist mkdir dist
build : esbuild src/index.js --bundle --platform=node --banner:js="#!/usr/bin/env node" --outfile=dist/gemini-cli-context.cjs
bundle : repomix
postbundle : echo 'Project bundled into a single file using repomix. You can find the output in the project root.'
-
TEXT_ONLY: gemini-2.5-flash
-
TEXT_AND_IMAGE: gemini-2.5-pro
To update the project context and generate Gemini.md (and optionally README.md), run the following command:
npm startYou will be prompted to provide a detailed project description and whether to update README.md.
This project uses the Google Gemini API. To use it, you can provide your API key in two ways:
- Obtain a Gemini API key from the Google AI Studio.
- Create a
.envfile in the root directory of this project. - Add your API key to the
.envfile:
GEMINI_API_KEY=YOUR_API_KEY
Replace YOUR_API_KEY with your actual Gemini API key.
You can also pass the API key directly when running the script:
npm start -- --apikey="YOUR_API_KEY"Note the -- before --apikey which is necessary to pass arguments to the Node.js script.
Contributions are welcome! Please feel free to submit a Pull Request.