Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rishabhknowss/ezcodegen
Ezcodegen( npm copilot :> )
https://github.com/rishabhknowss/ezcodegen
cli code generative-ai
Last synced: about 2 months ago
JSON representation
Ezcodegen( npm copilot :> )
- Host: GitHub
- URL: https://github.com/rishabhknowss/ezcodegen
- Owner: rishabhknowss
- License: mit
- Created: 2024-01-02T17:15:02.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-01-03T08:01:26.000Z (12 months ago)
- Last Synced: 2024-01-03T08:32:28.789Z (12 months ago)
- Topics: cli, code, generative-ai
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@rishabhknows/ezcodegen
- Size: 839 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# EZcodegen
EZcodegen is a command-line tool for generating and debugging code using Google Generative AI
## Installation
```
npm install @rishabhknows/ezcodegen
```## Setup
To use ezcodegen, you need to set up your environment by creating a `.env` file with your [Gemini Pro](https://ai.google.dev/) API key:
```dotenv
API_KEY="YOUR_GEMINI_PRO_KEY"
```## Usage
```
npx ezcodegen -f "" -p ""
```
Add filename to `edit/write` and prompt `what to edit/write`
```
npx ezcodegen -f "index.js" -p "create a simple express server"
```
## Getting Startedhttps://github.com/rishabhknowss/EZcodegen/assets/97790876/d4b41d93-464a-45ba-b9a6-948720be9bfd