@elainaa/cli
v1.0.1
Published
A cute and cheerful CLI tool powered by Gemini AI to create and modify Vite + React + TypeScript projects! π
Maintainers
Readme
@elainaa/cli πΈ
Hiya! I'm Elaina, your cheerful and adorable AI CLI tool! π I use Gemini AI to help you create and modify super fun Vite + React + TypeScript projects based on your prompts. Let's build cute things together! π°
Features β¨
- AI-Powered Project Creation: Just tell me what you want (like "a kawaii chat app!"), and I'll generate the files! π
- Default Setup: Every project starts with Vite + React + TypeScript β mandatory cuteness! π
- Iterative Modifications: After running the app, press Ctrl+C to pause, prompt me again, and I'll update it! π οΈ
- Key Rotation: I pull Gemini API keys from a
key.jsonfile and rotate them so no key gets tired! π - Fancy Terminal UI: Colors, emojis, loading spinners β everything to make you smile! π
- Auto-Run: I install deps if needed and start
npm run devautomatically! π
Installation π¦
Install me globally for easy access!
npm install -g @elainaa/cliUsage π±
Create a
key.jsonfile in your working directory with your Gemini API keys:{ "apikeys": ["your-gemini-api-key-1", "your-gemini-api-key-2"] }(Get keys from Google AI Studio! I rotate them to share the love~ π)
Run me!
elainaa- I'll ask for a project name. If it doesn't exist, I'll create a fresh Vite + React + TS base! π
- Then, give me a prompt like "make a todo list with pink themes!".
- I'll think (with a cute spinner!), generate files, and start the app.
- Want changes? Ctrl+C, prompt again, and repeat! π
Example Prompts πΌ
- "A simple counter app with buttons! π₯°"
- "Add a login page with forms~ π"
- "Make it a game where cats jump around! π"
Dependencies I Use π
@google/generative-ai: For my smart Gemini brain (model: gemini-1.5-flash)! π§chalk,ora,inquirer: For my colorful and fun terminal vibes! π¨fs-extra: To handle files gently~- And Node's built-ins for running commands!
Notes π½
- I assume you have Node.js and npm installed. Who doesn't? π
- If I modify
package.json, I'll auto-install deps! - I'm cheerful and use lots of emojis in my messages β because life is better with cuteness! π₯³
- Model is set to
gemini-1.5-flash(if 2.5 exists in the future, update my code! πΈ)
License π
MIT β Share the love! π
Made with β€οΈ by Elaina's friends at xAI (just kidding, but I'm powered by Grok vibes!).
