kaguya  by ykdojo

ChatGPT plugin for local file access and script execution

created 2 years ago
1,197 stars

Top 32.6% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

Kaguya is a ChatGPT plugin enabling users to interact with local files and execute Python, JavaScript, and bash scripts directly from ChatGPT. It targets developers seeking to integrate their development environment with AI-powered code generation and manipulation, offering a controlled way to manage local codebases.

How It Works

Kaguya operates as a local server, accessible via Docker, that exposes a REST API for file system operations and command execution. It restricts file access to a designated FILES directory, ensuring a controlled environment. The plugin leverages ChatGPT's conversational interface to interpret user commands, translate them into API calls, and execute them on the local machine.

Quick Start & Requirements

Highlighted Details

  • Supports file operations: list, read, update (search/replace, whole file), append, create, delete, rename.
  • Enables execution of Python, JavaScript, and bash scripts.
  • API endpoints are documented in openapi.yaml.
  • Recommended custom instructions for effective ChatGPT interaction are provided.

Maintenance & Community

  • Discord server available for community support.
  • VS Code extension waitlist is open.

Licensing & Compatibility

  • License details are not explicitly stated in the README.

Limitations & Caveats

File operations are restricted to the FILES directory. Large files (over ~600 lines for reading, ~80 lines for writing) may cause performance issues or task failures. The plugin relies on OpenAI's plugin devtools, which may have a waitlist.

Health Check
Last commit

1 year ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
0 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.