sapper-iq
v1.1.35
Published
AI-powered development assistant that executes commands and builds projects
Maintainers
Readme
Sapper
🚀 AI-powered development assistant that executes commands and builds projects
Sapper is a command-line interface that connects to Ollama models to help you build, manage, and execute development tasks through natural language conversations.
Features
- 🤖 AI-powered assistance - Chat with local Ollama models
- 🛠️ Multi-tool execution - File operations, shell commands, directory management
- 💬 Conversational interface - Natural language project management
- 🔄 Session persistence - Resume previous conversations
- 🎯 Context-aware - Automatically detects directory contents
- ⚡ Live streaming - See AI responses in real-time
- 🔒 Security prompts - Review commands before execution
Installation
npm install -g sapperPrerequisites
- Node.js 16+
- Ollama installed and running
- At least one Ollama model downloaded
Usage
sapperCommands
/resetor/clear-session- Start a new session/session-info- Show current session details/step- Toggle step-by-step mode/help- Show command helpexit- Exit Sapper
Example Interactions
> set up a React project in ./my-app
> run the development server
> create a login component with TypeScript
> add Tailwind CSS stylingHow It Works
- Connect to Ollama - Choose from your available local models
- Natural conversation - Describe what you want to build or do
- AI executes tools - Creates files, runs commands, manages projects
- Review & approve - Security prompts for shell commands
- Context awareness - Sapper understands your project structure
Supported Tools
SHELL- Execute terminal commandsREAD- Read file contentsWRITE- Create/edit filesMKDIR- Create directoriesLIST- List directory contentsSEARCH- Search for text in files
Examples
Create a Next.js project:
> create a Next.js app with TypeScript and Tailwind in ./my-nextjs-appAdd features to existing project:
> analyze the codebase in ./my-project
> add a user authentication system
> create API endpoints for user managementDevelopment
git clone https://github.com/yourusername/sapper
cd sapper
npm install
chmod +x sapper.mjs
./sapper.mjsLicense
MIT
Author
Ibrahim Ihsan
