@involvex/gemini-cli-context
v1.0.4
Published
updates Gemini.md files for Gemini-cli .
Maintainers
Readme
# @involvex/gemini-cli-contextupdates Gemini.md files for Gemini-cli .
Getting Started
Quick Start
# npx @involvex/gemini-cli-context@latest Gemini.md Prerequisites
- Node.js
- npm
Installation
npm install
Project Structure
├── .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
Available Scripts
start: node src/index.jslint: eslint .lint:fix: eslint . --fixformat:check: prettier --check .format: prettier --write .prebuild: if not exist dist mkdir distbuild: esbuild src/index.js --bundle --platform=node --outfile=dist/gemini-cli-context.cjs
AI Models Used
- TEXT_ONLY:
gemini-2.5-flash - TEXT_AND_IMAGE:
gemini-2.5-pro
Usage
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.
Configuration
This project uses the Google Gemini API. To use it, you can provide your API key in two ways:
Option 1: Using a .env file (Recommended for security)
- 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.
Option 2: Passing as a command-line argument
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.
Github-Repository
Support
# Enjoy !
