Kaguya is a ChatGPT plugin that allows you to load and edit local files in a controlled manner, as well as run any Python, JavaScript and bash scripts. This makes it a powerful tool for developers, enabling them to interact with the file system and run scripts directly from ChatGPT.
API endpoint
The project provides several API endpoints that allow you to interact with the file system.openapi.yaml
The API is described in the documentation. Here is a brief overview:
POST /api/executeCommand
: Execute shell commands.GET /api/listFilesInDirectory
: List the files and directories under the specified directory.GET /api/readFile
: Read the content of the file in the user directory.POST /api/update
: Updates a file in a user directory by performing a search and replace operation.POST /api/updateWholeFile
: Replace the entire content of the file in the user directory.POST /api/createFile
: Create a new file.POST /api/deleteFile
: Delete files in the user directory.POST /api/renameFile
: Renames a file in the user directory.POST /api/appendToFile
: Append content to the end of the existing file.POST /api/createDirectory
: Create a new directory.POST /api/deleteDirectory
: Delete a directory and its contents.POST /api/readMultipleFiles
: Read the contents of multiple files.
#Kaguya #Homepage #Documentation #Downloads #ChatGPT #Plugin #News Fast Delivery