Skip to content

ArasanDev/jar-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jar-cli

A streamlined, terminal-based AI coding assistant. jar-cli empowers you to manage your codebase through natural language, using a suite of precise tools for file exploration, editing, and execution.

🚀 Features

  • Interactive REPL: A polished terminal interface built with [Ink].
  • Multi-Tool Support:
    • read: Precise file reading with line-number support.
    • write: Safely create files and nested directories.
    • edit: Surgical code updates with exact string matching.
    • grep: Fast regex-based searching across the codebase.
    • glob: Efficient file discovery using patterns.
    • bash: Integrated shell command execution.
  • Powered by OpenRouter: Access any large language model via the OpenRouter API.

📦 Installation

# Clone the repository
git clone https://github.com/AI-with-Tamil/jar-cli.git
cd jar-cli

# Install dependencies
bun install

🛠 Usage

Set your OpenRouter API key:

export OPENROUTER_API_KEY=your_key_here

Run the assistant:

# Using Bun
bun run dev

# Or build and run with Node
bun run build
node dist/index.js

Options

  • -m, --model <model>: Specify the model to use (default: google/gemini-3.1-flash-lite-preview).

📜 License

MIT

About

jar-cli is a terminal-first AI coding assistant that lets you inspect code, search files, edit source, and run shell commands from a clean Ink-based CLI using OpenRouter-powered models.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors