1.0.2 • Published 9 months ago
grepup v1.0.2
grepup
AI-Assisted Code Migration with Claude 3.7 Sonnet & ast-grep
Installation
npm install -g grepupPrerequisites
- Node.js 20 or higher
- ast-grep CLI (
npm install -g @ast-grep/cli)
Usage
Simply run:
grepupFollow 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 configDevelopment
To run the CLI in development mode, clone the repository and run:
npm install
npm run devFeel free to contribute to the project by opening a pull request.