JSPM

@involvex/gemini-cli-context

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q73894F
  • License MIT

updates Gemini.md files for Gemini-cli .

Package Exports

  • @involvex/gemini-cli-context
  • @involvex/gemini-cli-context/src/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@involvex/gemini-cli-context) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

# @involvex/gemini-cli-context

updates 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.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

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 start

You 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:

  1. Obtain a Gemini API key from the Google AI Studio.
  2. Create a .env file in the root directory of this project.
  3. Add your API key to the .env file:
GEMINI_API_KEY=YOUR_API_KEY

Replace 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 !