cursor-vip update

This commit is contained in:
kingparks@jeter.eu.org
2025-03-17 22:01:40 +08:00
parent e6ad49c9d9
commit 016599da50
6 changed files with 186 additions and 6 deletions

View File

@@ -1 +1,88 @@
## Today is a day off, cursor mcp is mvp.
# cursor-vip
> 🌐️ English | [中文](README_CN.md)
⚠️ If your region supports official cursor payment, please support the official purchase as much as your funds allow, cursor is a good editor.
⚠️ This project is only to provide a solution for inconvenient payment areas. Currently, every 8 devices share a Pro account, and the Pro account is purchased with our money. Do not abuse it, thank you!
⚠️ The cost and benefits generated by using this project are the same as the official ones. This project is not cheaper. It just feels less expensive because it is shared by 8 people. However, the stability and speed are not as good as the official ones.
⚠️ The stability of the proxy mode is better than the normal mode. If the resources are used up in the proxy mode, please open a new session.
⚠️ The current stability ranking of the mode is: mode 3 > mode 2 > mode 4.
⚠️ We plan to cooperate with the cursor official in the future to provide support for projects that can promote the progress of world civilization.
⚠️ Only chat and composer normal of version 0.46 and below are supported, advanced models will be queued
### Usage
Open the terminal on MacOS/Linux; Open Git Bash on Windows(If you don't have GitBash, please choose method 3 to download manually, wsl is not supported). Then execute the following command to install:
>some computers may report false positives, need to close the antivirus software/computer housekeeper/security protection and then proceed
Method 1: Install via GitHub script
```bash
bash <(curl -Lk https://github.com/kingparks/cursor-vip/releases/download/latest/i.sh) githubReadme
```
Method 2: Install via Gitee script
```bash
bash <(curl -Lk https://gitee.com/kingparks/cursor-vip/releases/download/latest/ic.sh) githubReadme
```
Method 3: Manually download the binary file
> download the binary file for the corresponding operating system from the [release](https://github.com/kingparks/cursor-vip/releases) page
```shell
# MaxOS/Linux (linux binary installation also requires additional execution of the content of i.sh)
sudo mv cursor-vip_xx_xxx /usr/local/bin/cursor-vip;
chmod +x /usr/local/bin/cursor-vip;
cursor-vip githubReadme;
# Windows
# double click cursor-vip_xx_xxx.exe
```
Launch cursor-vip
```bash
# MaxOS/Linux
cursor-vip
# Windows
# double click cursor-vip_xx_xxx.exe
```
[Additional settings for proxy mode](docs/proxyMode.md)
Enjoy cursor-vip:
* Open the CURSOR code editor, click the settings icon in the upper right corner, and you can see that you are already a VIP account.
* Enjoy code prompts and chat functions.
---
```md
# Change configuration manually
# Configuration file is located at ~/.cursor-viprc is a json file
# Configuration items:
# lang - language - String, optional values: en English; zh Chinese; nl Dutch; ru Russian; hu Hungarian; tr Turkish; es Spanish;
# mode - mode - int, optional values: 1 normal mode; 2 proxy mode;
```
### Promotion Guide
[Promotion Guide](docs/promotion.md)
---
### How to use custom models
[Gemini 2.0](docs/models-gemini-2.0.md)
---
### Q & A
[Q & A](docs/Q&A.md)
---
### Star History
<a href="https://star-history.com/#kingparks/cursor-vip&Date">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=kingparks/cursor-vip&type=Date&theme=dark" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=kingparks/cursor-vip&type=Date" />
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=kingparks/cursor-vip&type=Date" />
</picture>
</a>

84
README_CN.md Normal file
View File

@@ -0,0 +1,84 @@
# cursor-vip
> 🌐️ 中文 | [English](README.md)
⚠️ 如果您的地区支持官方 cursor 支付,在您资金允许的情况下,请支持官方购买cursor 是一个不错的编辑器。
⚠️ 本项目仅为了支付不方便的地区提供一个解决方案目前每8个设备共享一个 Pro 账号Pro 账号都是我们花钱购买的,不要滥用,谢谢!
⚠️ 使用本项目所产生花费及收益比与官方一样本项目没有更便宜只是因为8个人分摊了所以感觉花费更少。但是稳定性和速度都不如官方。
⚠️ 我们后期计划与 cursor 官方合作,为能够促进世界文明进步的项目提供支持。
⚠️ 仅支持0.46以下版本的 chat 和 composer normal, 高级模型会排队
### 使用方式
在 MacOS/Linux 中,请打开终端;在 Windows 中,请打开 Git Bash(如果没有GitBash,请选择方式3手动下载不支持wsl)。然后执行以下命令来安装:
> 部分电脑可能会误报毒,需要关闭杀毒软件/电脑管家/安全防护再进行
方式1通过 Gitee 脚本
```bash
bash <(curl -Lk https://gitee.com/kingparks/cursor-vip/releases/download/latest/ic.sh) githubReadme
```
方式2通过 GitHub 脚本
```bash
bash <(curl -Lk https://github.com/kingparks/cursor-vip/releases/download/latest/i.sh) githubReadme
```
方式3手动下载二进制文件
> 从 [release](https://github.com/kingparks/cursor-vip/releases) 页下载对应操作系统的二进制文件
```shell
# MaxOS/Linux (linux 二进制安装还需额外执行 i.sh 的内容)
sudo mv cursor-vip_xx_xxx /usr/local/bin/cursor-vip;
chmod +x /usr/local/bin/cursor-vip;
cursor-vip githubReadme;
# Windows
# 双击 cursor-vip_xx_xxx.exe
```
启动 cursor-vip
```bash
# MaxOS/Linux
cursor-vip
# Windows
# 双击 cursor-vip_xx_xxx.exe
```
[模式2的额外设置](docs/proxyMode_CN.md)
享受 cursor-vip
* 打开 CURSOR 代码编辑器点击右上角设置图标可看到已是VIP账号。
* 尽情享受代码提示和聊天功能。
---
```md
# 手动修改配置
# 配置文件位于 ~/.cursor-viprc 是个json文件
# 配置项:
# lang - 语言 - String 可选值en英语 zh中文 nl荷兰语 ru俄语 hu匈牙利语 tr土耳其语 es西班牙语
# mode - 模式 - int 可选值1模式1 2模式2
```
### 推广指南
[推广指南](docs/promotion_CN.md)
---
### 如何使用自定义模型
[Gemini 2.0](docs/models-gemini-2.0_CN.md)
---
### 提问与回答
[提问与回答](docs/Q&A_CN.md)
---
### Star History
<a href="https://star-history.com/#kingparks/cursor-vip&Date">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=kingparks/cursor-vip&type=Date&theme=dark" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=kingparks/cursor-vip&type=Date" />
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=kingparks/cursor-vip&type=Date" />
</picture>
</a>

1
_README.md Normal file
View File

@@ -0,0 +1 @@
## Today is a day off, cursor mcp is mvp.

View File

@@ -19,3 +19,4 @@ var DefaultColor = "%s"
var M3DaysRemainingOnTrial = "..."
var Product = []string{"cursor IDE"}
var IsOnlyMod2 = true

View File

@@ -126,12 +126,17 @@ func GetConfig() (lang, promotion string, mode int64) {
}
if mode == 0 {
mode = 2
_, version := authtool.UpMainJs(true)
params.CursorVersion = version
if version > "0.46" {
mode = 3
if !params.IsOnlyMod2 {
_, version := authtool.UpMainJs(true)
params.CursorVersion = version
if version > "0.46" {
mode = 3
}
}
}
if params.IsOnlyMod2 {
mode = 2
}
return
}

View File

@@ -102,7 +102,9 @@ func Run() (productSelected string, modelIndexSelected int) {
// 快捷键
_, _ = fmt.Fprintf(params.ColorOut, params.Green, params.Trr.Tr("Switch to EnglishPress 'sen' on keyboard in turn"))
modelIndexSelected = int(params.Mode)
_, _ = fmt.Fprintf(params.ColorOut, params.Green, params.Trr.Tr("切换模式依次按键盘")+": sm1/sm2/sm3/sm4")
if !params.IsOnlyMod2 {
_, _ = fmt.Fprintf(params.ColorOut, params.Green, params.Trr.Tr("切换模式依次按键盘")+": sm1/sm2/sm3/sm4")
}
// 试用账号
if params.Mode == 3 {
_, _ = fmt.Fprintf(params.ColorOut, params.Green, params.Trr.Tr("查询账号自动刷新剩余天数:依次按键盘 q3d"))