Skip to main content

AI-powered terminal assistant for coding tasks

Project description

Ripperdoc - AI-Powered Terminal Assistant

Ripperdoc is an AI-powered terminal assistant for coding tasks, providing an interactive interface for AI-assisted development, file management, and command execution.

中文文档 | Contributing | Documentation

Features

  • AI-Powered Assistance - Uses AI models to understand and respond to coding requests
  • Multi-Model Support - Support for Anthropic Claude and OpenAI models
  • Rich UI - Beautiful terminal interface with syntax highlighting
  • Code Editing - Directly edit files with intelligent suggestions
  • Codebase Understanding - Analyzes project structure and code relationships
  • Command Execution - Run shell commands with real-time feedback
  • Tool System - Extensible architecture with specialized tools
  • Subagents - Delegate tasks to specialized agents with their own tool scopes
  • File Operations - Read, write, edit, search, and manage files
  • Todo Tracking - Plan, read, and update persistent todo lists per project
  • Background Commands - Run commands in background and monitor output
  • Permission System - Safe mode with permission prompts for operations
  • Multi-Edit Support - Batch edit operations on files
  • MCP Server Support - Integration with Model Context Protocol servers
  • Session Management - Persistent session history and usage tracking
  • Jupyter Notebook Support - Edit .ipynb files directly

Installation

Quick Installation

Install from git repository:

pip install git+https://github.com/quantmew/ripperdoc.git

Or install from source:

# Clone the repository
git clone <repository-url>
cd Ripperdoc

# Install from source
pip install -e .

Configuration

Set your API key as an environment variable:

export OPENAI_API_KEY="your-api-key-here"
# or for Anthropic Claude
export ANTHROPIC_API_KEY="your-api-key-here"

Usage

Interactive Mode (Recommended)

ripperdoc

This launches an interactive session where you can:

  • Ask questions about your codebase
  • Request code modifications
  • Execute commands
  • Navigate and explore files

Python SDK (headless)

Use Ripperdoc without the terminal UI via the new Python SDK. See docs/SDK_USAGE.md for examples of the one-shot query helper and the session-based RipperdocClient. 中文指南见 docs/SDK_USAGE_CN.md

SDK Examples

  • Basic Usage: Simple one-shot queries
  • Session Management: Persistent sessions with context
  • Tool Integration: Direct tool access and customization
  • Configuration: Custom model providers and settings

See the examples/ directory for complete SDK usage examples.

Safe Mode Permissions

Safe mode is the default. Use --unsafe to skip permission prompts. Choose a/always to allow a tool for the current session (not persisted across sessions).

Examples

Code Analysis

> Can you explain what this function does?

File Operations

> Read the main.py file and suggest improvements

Code Generation

> Create a new Python script that implements a REST API client

Project Navigation

> Show me all the Python files in the project

Development

Setup Development Environment

# Install development dependencies
pip install -e ".[dev]"

# Run tests
pytest

# Type checking
mypy ripperdoc

# Code formatting
black ripperdoc

# Linting
ruff ripperdoc

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Key License Terms

  • Commercial Use: Permitted
  • Distribution: Permitted
  • Modification: Permitted
  • Patent Grant: Included
  • Private Use: Permitted
  • Sublicensing: Permitted
  • Trademark Use: Not granted

For full license terms and conditions, please refer to the LICENSE file.

Credits

Inspired by:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ripperdoc-0.2.4.tar.gz (199.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ripperdoc-0.2.4-py3-none-any.whl (231.3 kB view details)

Uploaded Python 3

File details

Details for the file ripperdoc-0.2.4.tar.gz.

File metadata

  • Download URL: ripperdoc-0.2.4.tar.gz
  • Upload date:
  • Size: 199.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ripperdoc-0.2.4.tar.gz
Algorithm Hash digest
SHA256 1373ee3471652fa2baa274de8abf934035bc0c4de33680e127894a4b199fbb6d
MD5 bdece2bd6a668bdeea94021ebb580513
BLAKE2b-256 31afada674b335faf980ce15c30fd335e977ace6bda6ed2f3be6e19dd8e5392e

See more details on using hashes here.

File details

Details for the file ripperdoc-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: ripperdoc-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 231.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ripperdoc-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f644a7bd347445a9f43941a3bdc2995fb8d44e5e48229ca45c6965f5abd98009
MD5 07f40bd5b0bc853e141a7b1313a1c289
BLAKE2b-256 1790cb2f8713f0c1a2b2677737ed21b69503f8b0e30af27baaa3c15e619db877

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page