Gathering detailed insights and metrics for @nicepkg/gpt-runner-cli
Gathering detailed insights and metrics for @nicepkg/gpt-runner-cli
Gathering detailed insights and metrics for @nicepkg/gpt-runner-cli
Gathering detailed insights and metrics for @nicepkg/gpt-runner-cli
Conversations with your files! Manage and run your AI presets!
npm install @nicepkg/gpt-runner-cli
Typescript
Module System
Min. Node Version
Node Version
NPM Version
49.1
Supply Chain
98.9
Quality
76.2
Maintenance
100
Vulnerability
100
License
TypeScript (90.34%)
CSS (4.54%)
Kotlin (3.35%)
JavaScript (1.43%)
HTML (0.28%)
MDX (0.03%)
Java (0.03%)
Total Downloads
8,251
Last Day
1
Last Week
1
Last Month
12
Last Year
2,135
351 Stars
259 Commits
42 Forks
5 Watching
6 Branches
9 Contributors
Latest Version
1.2.9
Package Id
@nicepkg/gpt-runner-cli@1.2.9
Unpacked Size
5.38 MB
Size
1.11 MB
File Count
9
NPM Version
9.6.3
Node Version
19.9.0
Publised On
15 Aug 2023
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
-50%
1
Compared to previous week
Last month
-83.1%
12
Compared to previous month
Last year
-65.1%
2,135
Compared to previous year
1
English / 简体中文 🌏
The GPT-Runner CLI is a powerful command-line tool that helps you manage your AI presets and engage in AI-powered conversations with your code to significantly boost your development efficiency. 💪
GPT-Runner CLI 是一款功能强大的命令行工具,可帮助您管理 AI 预设并与代码进行 AI 驱动的对话,从而显着提高您的开发效率。💪
- 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 for download and installation instructions.- Make sure you have an Open AI Key or a Anthropic Key. You can get it from Open AI or Anthropic.
- Slow installation is normal, because the package is a bit big.
To install the GPT-Runner CLI, use npm:
1npm install -g gptr 2 3# check version 4gptr --version 5 6# upgrade version 7# npm i -g gptr
This command tells npm (Node.js package manager) to install GPT-Runner CLI globally. Among them, the -g
option means global installation, which means you can run GPT-Runner CLI anywhere.
Go to your project folder and type the following command:
1gptr 2 3# it's equivalent to 4# npx gptr
Or you can run specific root path
1gptr ./src 2 3# it's equivalent to 4# npx gptr ./src
When you run gptr, it will retrieve the global config file gptr.config.json and *.gpt.md AI preset files in your current directory and the entire project valid files, and then open a web AI chat window in the browser.
You can now see the GPT-Runner's web in your browser at http://localhost:3003.
You can utilize the following options with GPT-Runner CLI:
-p, --port [port number]
: This option allows you to specify the port number for the server to listen on. By default, the value is 3003
. If you wish to modify this, simply append this option followed by the desired port number to your command. For example: --port 8080
.
-c, --config [filepath]
: This option allows you to specify the global configuration file path for GPT-Runner. If your configuration file is not in the default location, or if you have multiple configuration files, you can use this option to tell GPT-Runner which file to use. For example, if you have a configuration called gptr.config.json in the root of your project file, you can use this option as follows: --config ./gptr.config.json
. Of course, we will detect gptr.config.json in the gptr running directory by default.
--share
: This flag shares the link to the running server through a temporal link. It doesn't require a value, you can simple add it to enable the sharing feature. For example: gptr --share
. Some dependencies need to be downloaded when sharing for the first time, so it will be slower.
--no-open
: By default, the GPT-Runner CLI opens the user interface in your default web browser when you start the server. If you do not want this to happen, use this option. For example: gptr --no-open
.
--debug
: This flag runs the server in debug mode. In the debug mode, the CLI will output additional information that can be helpful for troubleshooting. To enable the debug mode, simple append this flag to your command. For example: gptr --debug
.
Here is an example of using all options:
1gptr --port 8080 --config ./gptr.config.json --share --no-open --debug
In this example, the GPT-Runner CLI will start a server available at port 8080, use the gptr.config.json configuration file, share the server link, not automatically open in the browser, and run in debug mode.
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
Introduction to GPT-Runner Ui Usage
You can contact me via 2214962083@qq.com
对 AI 提升开发效率感兴趣的,可以加我 wechat: qq2214962083 入群交流
要求:会科学上网,使用过 chatgpt
Waiting for you...
You can check out our Contribution Guidelines
This project exists thanks to all the people who contribute:
MIT License © 2023-PRESENT Jinming Yang
No vulnerabilities found.
No security vulnerabilities found.