1.0.2 • Published 2 months ago

slaveshell v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

💪 SUPER AI AGENT 1.0

An intelligent CLI assistant that understands Hindi and English commands to automate development workflows

License Node Version npm

✨ Features

  • 🚀 Project Generation: Scaffold complex projects (MERN, Python Flask, React etc.)
  • 💻 Process Management: Monitor and control running processes and servers
  • 📁 File Operations: Advanced file system operations and watching
  • 📦 Package Management: Handle npm and pip packages seamlessly
  • 🗄️ Database Operations: Work with MongoDB, MySQL and more
  • 🔄 Git Integration: Initialize, commit, push and manage repositories
  • 🌐 Deployment: Deploy to various platforms (Firebase, Heroku, AWS etc.)

🚀 Quick Start

Installation

npm install -g slaveshell

Usage

  1. Start the shell:
slave
  1. Enter your Gemini API key when prompted (first run only)

  2. Start typing commands in Hindi or English!

📝 Example Commands

Project Creation

# Create a MERN Stack Project
ek full stack MERN project banao authentication ke sath

# Create a Python Flask API
Python Flask ka API banao MongoDB connection ke sath

# Create a Responsive Website
ek responsive website banao Bootstrap se

Database Operations

# Setup MongoDB
mongodb setup karo aur users collection banao

# Create Product Table
database me product table banao price aur name fields ke sath

# Backup Database
database backup file create karo

Deployment & CI/CD

# Deploy to Firebase
production build banao aur firebase pe deploy karo

# Create Docker Image
docker image banao node application ka

# Setup GitHub Actions
github actions setup karo automatic testing ke liye

Development Tasks

# Webpack Build
webpack se production build banao

# Git Operations
git repository initialize karo aur github pe push karo

# Run Tests
tests cases run karo aur code coverage report banao

System Operations

# Run Background Server
background me server chalao aur logs save karo

# Setup Cron Job
cron job setup karo database backup ke liye

# Monitor Resources
memory usage monitor karo server ka

⚙️ Configuration

Configuration is stored in ~/.ai-agent-config.json. You can modify settings using:

shell
>> settings

Available settings:

  • API Key Configuration
  • Project Directory Settings
  • Language Preference (Hindi/English)
  • Log Level Configuration
  • Auto-save Preferences

📊 Command History & Logs

  • View recent commands: info
  • Access logs: ~/.ai-agent.log
  • Error logs: ~/.ai-agent-errors.log

🛠️ Architecture

The AI Agent is built with:

  • Google Gemini Pro: For natural language processing
  • Node.js: Core runtime environment
  • Express: For server operations
  • Mongoose: MongoDB operations
  • Chokidar: File system watching
  • Chalk & Ora: Beautiful CLI interface

🔧 Development

# Clone the repository
git clone https://github.com/VanshGoyal000/SlaveShell.git

# Install dependencies
cd SlaveShell
npm install

# Run locally
npm start

🤝 Contributing

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

Distributed under the MIT License. See LICENSE for more information.

👤 Author

Vansh Goyal

🙏 Acknowledgments

  • Google Gemini Pro for AI capabilities
  • The Node.js community for amazing tools
  • All contributors who help improve this project

🔮 Future Plans

  • Add support for more languages
  • Integrate with more cloud platforms
  • Add AI-powered code review capabilities
  • Implement project templates system
  • Add voice command support