codra
v1.2.1
Published
A CLI AI assistant powered by Gemini and tools.
Downloads
7
Readme
Codra CLI 🤖
A powerful AI Assistant in your terminal, powered by Gemini and enhanced with useful system tools like file handling, command execution, and more.
🔧 Installation
npm install -g codraRequires Node.js v18+
🚀 Usage
Once installed globally, run:
codraThis will launch the interactive prompt where you can ask Codra anything!
🧠 Features
- 🔥 Powered by Gemini API (
gemini-2.0-flash) - 📂 Read or create files
- 🖥️ Execute CMD commands directly
- 🌦️ Get live weather info
- 🎛️ Use tools inside your AI workflow
- 💾 Secure API key storage in your home directory
📦 Available Commands
| Command | Description |
|-----------------------------|----------------------------------------------|
| codra | Launch the interactive assistant |
| codra update-key "yourKey"| Save your Gemini API key |
| codra show-key | Show the currently saved Gemini API key |
| codra help | Show usage and commands |
| codra info | Info about Codra and the developer |
🔐 Storing your API Key
Codra stores your Gemini API key in a config file at:
~/.ai-assistant-config.jsonYou can update your key at any time using:
codra update-key "your-gemini-api-key"📁 File Structure
codra/
├── bin/
│ └── main.js # Entry point CLI
├── src/
│ ├── index.js # Main prompt logic
│ ├── config.js # API key handling
│ └── tools.js # All tool implementations
├── package.json
├── README.md👨💻 Developer
- Name: Amit Dey
- Website: amitfr.tech
- GitHub: github.com/Amit00008
⭐️ Support
If you like this project, please consider giving it a ⭐️ on GitHub!
https://github.com/Amit00008/codra