1.0.2 • Published 3 months ago

grepup v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
3 months ago

grepup

AI-Assisted Code Migration with Claude 3.7 Sonnet & ast-grep

Installation

npm install -g grepup

Prerequisites

  • Node.js 20 or higher
  • ast-grep CLI (npm install -g @ast-grep/cli)

Usage

Simply run:

grepup

Follow the interactive prompts to: 1. Describe your code migration needs 2. Review the generated ast-grep rules 3. Apply the migration to your codebase

LLMs

Currently, grepup supports only Claude 3.7 Sonnet. When you run the CLI for the first time, it'll prompt you to provide your API Key. We do not store your API key on our server. It's stored only on your local machine.

To update your API key, run:

grepup config

Development

To run the CLI in development mode, clone the repository and run:

npm install
npm run dev

Feel free to contribute to the project by opening a pull request.