Your AI-powered CLI companion

Enhance your terminal workflow with natural language processing

About Shuru

Shuru is your local AI assistant for the command line. Ask questions in plain English, and get instant help with terminal commands and project tasks.

Works offline with Ollama, or connect to AI providers like OpenAI and Gemini. You choose how you want to run it.

$ shuru --ai
๐Ÿ‘‹ Hey there! I am Shuru AI!
I'm here to help you set up and manage your project. Let's get started! What would you like to do?

โœ” โ†’ ยท setup a new nodejs project
โœ“ Got it! Here's what I suggest:

๐Ÿ“‹ Planned Actions:
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€

Type: ProjectSetup
Description: Set up a new Node.js project

1. ๐Ÿ“ Create directory: nodejs-project
2. ๐Ÿ“ Change Work Directory: nodejs-project
3. โ–ถ๏ธ Run: npm init -y

โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
? What would you like to do? โ€บ
โฏ Execute plan
  Modify plan
  Start over
  Exit

Features

๐Ÿ”’ Your Choice of AI

Run completely offline with Ollama, or connect to cloud providers like OpenAI and Gemini. You're in control of your data.

๐Ÿš€ Cross-Platform

Works seamlessly on Linux, macOS, and Windows terminals.

๐Ÿค– AI-Powered

Leverages advanced language models to understand and assist with complex commands.

โšก Lightning Fast

Optimized for speed with local execution and minimal latency.

Installation

Quick Install

sh -c "$(curl -fsSL https://shuru.run/install.sh)"

From Source

git clone https://github.com/shuru-project/shuru
cd shuru
cargo build --release

Configuration

Create ~/.shuru/config.toml with your AI provider settings:

[ai]
default_provider = "openai"

[ai.providers.openai]
api_key = "YOUR_OPENAI_API_KEY"
model = "gpt-4-turbo"

[ai.providers.gemini]
api_key = "YOUR_GEMINI_API_KEY"
model = "gemini-1.5-pro"