Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nicepkg/gpt-runner
Conversations with your files! Manage and run your AI presets!
https://github.com/nicepkg/gpt-runner
ai anthropic chatgpt langchain llm openai prompt promptengineering
Last synced: 28 days ago
JSON representation
Conversations with your files! Manage and run your AI presets!
- Host: GitHub
- URL: https://github.com/nicepkg/gpt-runner
- Owner: nicepkg
- License: mit
- Created: 2023-05-14T08:06:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-11T13:14:48.000Z (about 1 year ago)
- Last Synced: 2024-09-29T13:41:26.483Z (about 1 month ago)
- Topics: ai, anthropic, chatgpt, langchain, llm, openai, prompt, promptengineering
- Language: TypeScript
- Homepage: https://github.com/nicepkg/gpt-runner
- Size: 53.3 MB
- Stars: 347
- Watchers: 5
- Forks: 41
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
- awesome-ChatGPT-repositories - gpt-runner - Conversations with your files! Manage and run your AI presets! (Prompts)
- awesome-chatgpt - gpt-runner
README
GPT Runner
English / [็ฎไฝไธญๆ ๐](https://github.com/nicepkg/gpt-runner/tree/main/README_CN.md)
Use GPT-Runner to manage your AI presets, engage in AI-powered conversations with your code, and significantly boost the development efficiency of both you and your team!
็จ GPT-Runner ็ฎก็ๆจ็ AI ้ข่ฎพ๏ผ้่ฟ AI ไธๆจ็ไปฃ็ ๆไปถ่ๅคฉ๏ผๆๅคงๆๅๆจๅๅข้็ๅผๅๆ็๏ผ
[![CLI][cli-image]][cli-url]
[![Web][web-image]][web-url]
[![VSCode][vscode-image]][vscode-url]
[![License](https://img.shields.io/github/license/nicepkg/gpt-runner)][gpt-runner-license]
[![GitHub stars](https://img.shields.io/github/stars/nicepkg/gpt-runner?style=social)][gpt-runner-url][CLI](https://github.com/nicepkg/gpt-runner/tree/main/packages/gpt-runner-cli/) / [Web Page](https://github.com/nicepkg/gpt-runner/tree/main/packages/gpt-runner-web/) / [VSCode Extension](https://github.com/nicepkg/gpt-runner/tree/main/packages/gpt-runner-vscode/) / [Issues](https://github.com/nicepkg/gpt-runner/issues) / [Buy Me a Coffee](https://bmc.link/jinmingyang)
[็ป็ซฏๅทฅๅ ท](https://github.com/nicepkg/gpt-runner/blob/main/packages/gpt-runner-cli/README_CN.md) / [็ฝ้กต็](https://github.com/nicepkg/gpt-runner/tree/main/packages/gpt-runner-web/) / [VSCode ๆฉๅฑ](https://github.com/nicepkg/gpt-runner/blob/main/packages/gpt-runner-vscode/README_CN.md) / [ๅ้ฆ](https://github.com/nicepkg/gpt-runner/issues) / [ๆ่ตๅผๅ่ ](https://user-images.githubusercontent.com/35005637/255805279-da299e44-ab7a-4038-b945-86d33128a775.jpg)
[cli-url]: https://github.com/nicepkg/gpt-runner/tree/main/packages/gpt-runner-cli/
[cli-image]: https://img.shields.io/badge/CLI-Node.js-green?logo=node.js
[gpt-runner-license]: https://github.com/nicepkg/gpt-runner/tree/main/LICENSE
[gpt-runner-url]: https://github.com/nicepkg/gpt-runner
[web-url]: https://github.com/nicepkg/gpt-runner/tree/main/packages/gpt-runner-web/
[web-image]: https://img.shields.io/badge/Web-React-blue?logo=react
[vscode-url]: https://github.com/nicepkg/gpt-runner/tree/main/packages/gpt-runner-vscode/
[vscode-image]: https://img.shields.io/badge/VSCode-Extension-blue?logo=visualstudiocodehttps://user-images.githubusercontent.com/35005637/252378643-f0d053ac-88db-4b92-966a-75a411a1ce6c.mp4
๐ Table of Contents
- [๐คทโโ๏ธ Why GPT-Runner?](#๏ธ-why-gpt-runner)
- [โ๏ธ Features](#๏ธ-features)
- [๐ Quick Start](#-quick-start)
- [The first way: CLI](#the-first-way-cli)
- [The second way: VSCode Extension](#the-second-way--vscode-extension)
- [๐ Documentation](#-documentation)
- [GPT-Runner Configs And AI Preset Files](#gpt-runner-configs-and-ai-preset-files)
- [GPT-Runner Ui Usage](#gpt-runner-ui-usage)
- [๐๏ธ Road map](#๏ธ-road-map)
- [๐ What's New](#-whats-new)
- [โ FAQ](#-faq)
- [๐ Sponsor](#-sponsor)
- [๐ค Contributor](#-contributor)
- [๐ Acknowledgement](#-acknowledgement)
- [๐ LICENSE](#-license)
## ๐คทโโ๏ธ Why GPT-Runner?
1. **๐ Conversations with Code Files:**
- Before using GPT-Runner: Manual copy and paste of multiple file codes into the ChatGPT window were required to propose features or fix bugs to AI.๐
- After using GPT-Runner: Simply select your project files from the file tree. The AI will provide responses based on the most recent contents of those files.๐คฉ2. **๐ Manage the Project's AI Presets:**
- Before using GPT-Runner: Project prompts saved in memos needed to be copied and pasted to ChatGPT for inquiries, making it difficult to put them under git version control.๐คช
- After using GPT-Runner: Each [xxx.gpt.md](https://github.com/nicepkg/gpt-runner/tree/main/docs/examples/example-en.gpt.md) file represents an AI role preset. They are easy to read, modify, and can be version-controlled. Team members can share and enhance AI presets, making the code they produce closer to 100% usability.๐ฅฐ## โ๏ธ Features
- **๐ Conversations with Code Files**: Select files or folders and engage in real-time conversations with AI.
- **๐ ๏ธ Powerful CLI and IDE integration:** Implement efficient AI workflows in various IDEs.
- **๐ AI Preset Manager:** Manage your AI presets, Just like a locally Storybook for AI presets.
- **๐ค Customize AI parameters:** Flexibly control the configuration of AI models.
- **๐ Support for third-party LLMs:** High compatibility and adaptability.
- **๐ Privacy-first:** Local data storage protects your privacy.
- **๐ Locale support:** Support for multiple languages.## ๐ Quick Start
> Make sure you have an Open AI Key or a Anthropic Key. You can get it from [Open AI](https://platform.openai.com/account/api-keys) or [Anthropic](https://www.anthropic.com/).
### The first way: CLI
> 1. Requirements NodeJS >= 16.15.0
> - To check your NodeJS version, run `node -v` in your terminal. If you need to install or update NodeJS, visit [the official NodeJS website](https://nodejs.org/) for download and installation instructions.
> 2. First run the following command to download this package, which will take a long time, which is normal.```bash
cd
npx gptr
```You can see the web interface in your browser at [http://localhost:3003](http://localhost:3003).
### The second way: VSCode Extension
> Requirements VSCode >= 1.78.0
Install the [GPT-Runner VSCode Extension](https://marketplace.visualstudio.com/items?itemName=nicepkg.gpt-runner) from the VSCode Marketplace.
## ๐ Documentation
### GPT-Runner Configs And AI Preset Files
For details about `gptr.config.json` configuration file, `xxx.gpt.md` AI preset file, `.gpt-runner` special directory, please refer to here:
[Introduction to GPT-Runner Configs And AI Preset Files](https://github.com/nicepkg/gpt-runner/blob/main/docs/gpt-config.en.md)
### GPT-Runner Ui Usage
[Introduction to GPT-Runner Ui Usage](https://github.com/nicepkg/gpt-runner/blob/main/docs/ui-usage.en.md)
## ๐๏ธ Road map
- [ ] Jetbrains Plugin: Add Jetbrains IDE Plugin
- [ ] Export And Import Chat History: Add dialogue import and export function
- [ ] AI Preset Store: Add AI Preset Store for community sharing AI Preset File
- [ ] Template Interpolation: Add template interpolation support
- [ ] Electron: Add an Electron client to expand the target audience to non-developers## ๐ What's New
- ๐ v1.0.0: First Release
## โ FAQ
> You can contact me via [[email protected]](mailto:[email protected])
>
> ๅฏน AI ๆๅๅผๅๆ็ๆๅ ด่ถฃ็๏ผๅฏไปฅๅ ๆ wechat: qq2214962083 ๅ ฅ็พคไบคๆต
>
> ่ฆๆฑ๏ผไผ็งๅญฆไธ็ฝ๏ผไฝฟ็จ่ฟ chatgpt[English > FAQ](https://github.com/nicepkg/gpt-runner/tree/main/docs/faq.en.md)
## ๐ Sponsor
Waiting for you...
## ๐ค Contributor
You can check out our [Contribution Guidelines](https://github.com/nicepkg/gpt-runner/tree/main/CONTRIBUTING.md)
This project exists thanks to all the people who contribute:
## ๐ Acknowledgement
GPT-Runner is made possible thanks to the inspirations from the following projects:
> in alphabet order
- [Docusaurus](https://github.com/facebook/docusaurus)
- [Gradio](https://github.com/gradio-app/gradio)
- [LangchainJs](https://github.com/hwchase17/langchainjs)
- [Monaco-React](https://github.com/suren-atoyan/monaco-react)
- [UnoCss](https://github.com/unocss/unocss)
- [VSCode-Material-Icon-Theme](https://github.com/PKief/vscode-material-icon-theme)
- [VSCode-Webview-Ui-Toolkit](https://github.com/microsoft/vscode-webview-ui-toolkit)## ๐ LICENSE
[MIT](https://github.com/nicepkg/gpt-runner/tree/main/LICENSE) License ยฉ 2023-PRESENT [Jinming Yang](https://github.com/2214962083)