Compare commits

...

24 Commits

Author SHA1 Message Date
yeongpin
380ea0b81d update readme 2025-01-13 14:45:31 +08:00
yeongpin
17733b2fd4 update readme 2025-01-13 14:05:24 +08:00
yeongpin
743baaa81f update image 2025-01-13 13:54:22 +08:00
yeongpin
b949c95475 recrop image 2025-01-13 13:52:35 +08:00
yeongpin
09e24598ce Update Readme 2025-01-13 13:51:18 +08:00
yeongpin
bd95140968 update readme 2025-01-13 13:34:59 +08:00
yeongpin
fa1f38ec1b update new readme 2025-01-13 13:17:14 +08:00
yeongpin
d91b90347a update sh 2025-01-13 13:15:13 +08:00
yeongpin
23e558a515 update new sh 2025-01-13 13:13:25 +08:00
yeongpin
9d2381844f update sh 2025-01-13 13:07:48 +08:00
yeongpin
b0ea217572 new mac sh 2025-01-13 13:05:47 +08:00
yeongpin
1f1366a0c9 update mac/linux after bash run application 2025-01-13 13:03:05 +08:00
yeongpin
3921129518 Update 1.0.3 Readme 2025-01-13 13:00:18 +08:00
yeongpin
0313751edd Remove unuse 2025-01-13 12:22:36 +08:00
yeongpin
8f3a30fc67 new reset ps1 2025-01-13 11:33:06 +08:00
yeongpin
ae0d1d2e19 Update Readme 2025-01-13 11:27:12 +08:00
yeongpin
59329f1ba4 add manual reset 2025-01-13 11:24:38 +08:00
yeongpin
9f3dff7c39 add new install.sh 2025-01-12 23:54:23 +08:00
Pin Studios
4415ab92b0 Update README.md 2025-01-12 22:40:51 +08:00
yeongpin
0f18aebcfb Update 1.0.2 readme 2025-01-12 22:39:33 +08:00
yeongpin
79097bec71 update readme 2025-01-12 21:20:21 +08:00
yeongpin
5673200533 Update Readme 2025-01-12 15:54:23 +08:00
yeongpin
a46be781a5 update readme 2025-01-11 22:34:23 +08:00
yeongpin
7289b55408 update readme 2025-01-11 22:12:04 +08:00
6 changed files with 333 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
# Cursor Free VIP
# Cursor Free VIP
<div align="center">
<p align="center">
<img src="./images/logo.png" alt="Cursor Pro Logo" width="200"/>
@@ -17,11 +17,71 @@ This is a tool to automatically bypass Cursor's membership check, automatically
這是一個自動化工具自動繞過Cursor的會員檢查自動升級為 "pro" 會員,支持 Windows 和 macOS 系統實時發送Token請求重置Cursor的配置。
<p align="center">
<img src="./images/pro_2025-01-11_00-51-07.png" alt="Cursor Pro Logo" width="400"/><br>
<img src="./images/pro_2025-01-11_00-51-07.png" alt="win" width="400"/><br>
</p>
<p align="center">
<img src="./images/pro_2025-01-13_13-49-55.png" alt="mac" width="400"/><br>
</p>
<p align="center">
<img src="./images/pro_2025-01-11_22-33-09.gif" alt="Cursor Pro Logo" width="600"/><br>
</p>
<br>
<p align="center">
### If this start with Pro Trial, you can use it, don't hurry to upgrade to Pro, unless you can't use Pro, because Pro sometimes will be slow mode
### 如果啟動後是 Pro Trial 會員可以使用就使用不用著急升級到Pro 會員除非不能使用Pro會員因為Pro 會員有時候會 慢速模式
##### If Using Pro Membership, if it is slow mode, please switch to gpt-4o-mini /cursor-slow /cursor-fast mode
##### 如果使用Pro會員是慢速模式的話請切換到gpt-4o-mini /cursor-slow /cursor-fast 模式
</p>
</div>
## 🔄 更新日志
<details open>
<summary>v1.0.4</summary>
1. Fix: Cursor's configuration | 修復Cursor的配置問題
2. Fix Cloud Lame | 修復雲端慢速模式
</details>
<details>
<summary>v1.0.3</summary>
1. Fix: Cursor's configuration | 修復Cursor的配置問題
2. Add Manual Reset Machine | 增加手動重置機器
3. Add CDN Cloud Control WatchDog | 增加CDN雲端控制WatchDog
4. Add Mac OS Support | 增加Mac OS支持
5. 759 ++ People use , but star only a few | 759 ++人使用,但只有幾個人點贊
<p align="center">
<img src="./images/what_2025-01-13_13-32-54.png" alt="Why" width="400"/><br>
</p>
</details>
<details>
<summary>v1.0.2</summary>
1. Fix: Some known issues | 修復了一些已知問題
2. Add cloud control device code | 增加雲端控制設備碼
3. Cloud reset device code | 雲端重置設備碼
4. Remove official WatchDog monitoring | 移除官方WatchDog監控
5. Remove Proxy official prompt | 移除Proxy 官方提示
6. Fix: Too Many Computer | 修復Too Many Computer 問題
7. Fix Billing Issue | 修復計費問題
8. Fix: Cursor's configuration | 修復Cursor的配置問題
9. Fix cursor-slow mode | 修復cursor-slow模式
</details>
<details>
<summary>v1.0.1</summary>
1. Fix: Reset machine ID | 修復了重置機器ID的問題
2. Fix: Bypass membership check | 修復了 繞過會員檢查的問題
3. Fix: Auto upgrade to "pro" membership | 修復了 自動升級為pro會員的問題
4. Fix: Real-time send Token request | 修復了 實時發送Token請求的問題
5. Fix: Reset Cursor's configuration | 修復了 重置Cursor的配置的問題
</details>
<details>
<summary>v1.0</summary>
1. Preview Image | 預覽圖<br>
@@ -39,7 +99,7 @@ This is a tool to automatically bypass Cursor's membership check, automatically
</p>
</details>
## Features | 功能特點
## Features | 功能特點
* Auto bypass Cursor's membership check<br>自動繞過Cursor的會員檢查<br>
@@ -52,7 +112,7 @@ This is a tool to automatically bypass Cursor's membership check, automatically
* Reset Cursor's configuration<br>重置Cursor的配置<br>
## System Support | 系統支持
## 💻 System Support | 系統支持
|Windows|x64|✅|macOS|Intel|✅|
|:---:|:---:|:---:|:---:|:---:|:---:|
@@ -60,16 +120,16 @@ This is a tool to automatically bypass Cursor's membership check, automatically
|Linux|x64|✅|Linux|x86|✅|
|Linux|ARM64|✅|Linux|ARM64|✅|
## How to use | 如何使用
## 👀 How to use | 如何使用
|⚠Must logout your account before running the script⚠|⚠️必須先登出你的帳戶再運行腳本⚠️ |
|:---:|:---:|
<br>
<details open>
<summary><b>腳本自動化運行</b></summary>
<summary><b>⭐ Auto Run Script | 腳本自動化運行</b></summary>
**Linux/macOS**
```bash
curl -fsSL https://raw.githubusercontent.com/yeongpin/cursor-free-vip/main/scripts/install.sh | sudo bash
curl -fsSL https://raw.githubusercontent.com/yeongpin/cursor-free-vip/main/scripts/install.sh -o install.sh && chmod +x install.sh && sudo ./install.sh
```
**Windows**
@@ -78,9 +138,23 @@ irm https://raw.githubusercontent.com/yeongpin/cursor-free-vip/main/scripts/inst
```
</details>
<details open>
<summary><b>⭐ Manual Reset Machine | 手動運行重置機器</b></summary>
**Linux/macOS**
```bash
curl -fsSL https://raw.githubusercontent.com/yeongpin/cursor-free-vip/main/scripts/reset.sh | sudo bash
```
**Windows**
```powershell
irm https://raw.githubusercontent.com/yeongpin/cursor-free-vip/main/scripts/reset.ps1 | iex
```
</details>
2. If you want to stop the script, please press Ctrl+C<br>要停止腳本,請按 Ctrl+C
## Note | 注意事項
## Note | 注意事項
* Confirm that Cursor is closed before running the script <br>請確保在運行腳本前已經關閉 Cursor<br>
@@ -92,7 +166,7 @@ irm https://raw.githubusercontent.com/yeongpin/cursor-free-vip/main/scripts/inst
## Common Issues | 常見問題
## 🚨 Common Issues | 常見問題
|如果遇到權限問題,請確保:|If you encounter permission issues, please ensure:|
|:---:|:---:|
@@ -100,13 +174,13 @@ irm https://raw.githubusercontent.com/yeongpin/cursor-free-vip/main/scripts/inst
## 貢獻 | Contribution
## 🤩 貢獻 | Contribution
歡迎提交 Issue 和 Pull Request
## Disclaimer | 免責聲明
## 📩 Disclaimer | 免責聲明
本工具僅供學習和研究使用,使用本工具所產生的任何後果由使用者自行承擔。 <br>

Binary file not shown.

After

Width:  |  Height:  |  Size: 555 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

121
scripts/install.sh Normal file
View File

@@ -0,0 +1,121 @@
#!/bin/bash
# 顏色定義
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
BLUE='\033[0;34m'
CYAN='\033[0;36m'
NC='\033[0m' # No Color
# Logo
print_logo() {
echo -e "${CYAN}"
cat << "EOF"
██████╗██╗ ██╗██████╗ ███████╗ ██████╗ ██████╗ ██████╗ ██████╗ ██████╗
██╔════╝██║ ██║██╔══██╗██╔════╝██╔═══██╗██╔══██╗ ██╔══██╗██╔══██╗██╔═══██╗
██║ ██║ ██║██████╔╝███████╗██║ ██║██████╔╝ ██████╔╝██████╔╝██║ ██║
██║ ██║ ██║██╔══██╗╚════██║██║ ██║██╔══██╗ ██╔═══╝ ██╔══██╗██║ ██║
╚██████╗╚██████╔╝██║ ██║███████║╚██████╔╝██║ ██║ ██║ ██║ ██║╚██████╔╝
╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝
EOF
echo -e "${NC}"
}
# 檢查是否為 root 用戶
check_root() {
if [ "$EUID" -ne 0 ]; then
echo -e "${RED}❌ 錯誤: 請使用 sudo 運行此腳本${NC}"
exit 1
fi
}
# 獲取最新版本
get_latest_version() {
echo -e "${CYAN} 正在檢查最新版本...${NC}"
local latest_release
latest_release=$(curl -s https://api.github.com/repos/yeongpin/cursor-free-vip/releases/latest)
if [ $? -ne 0 ]; then
echo -e "${RED}❌ 無法獲取最新版本信息${NC}"
exit 1
fi
VERSION=$(echo "$latest_release" | grep -o '"tag_name": ".*"' | cut -d'"' -f4 | tr -d 'v')
echo -e "${GREEN}✅ 找到最新版本: ${VERSION}${NC}"
}
# 檢測系統類型
detect_os() {
if [[ "$(uname)" == "Darwin" ]]; then
OS="mac"
else
OS="linux"
fi
}
# 創建臨時目錄
create_temp_dir() {
TMP_DIR=$(mktemp -d)
trap 'rm -rf "$TMP_DIR"' EXIT
}
# 下載並安裝
install_cursor_free_vip() {
local install_dir="/usr/local/bin"
local binary_name="CursorFreeVIP_${VERSION}_${OS}"
local binary_path="${install_dir}/cursor-free-vip"
local download_url="https://github.com/yeongpin/cursor-free-vip/releases/download/v${VERSION}/${binary_name}"
echo -e "${CYAN} 正在下載...${NC}"
if ! curl -L -o "${TMP_DIR}/${binary_name}" "$download_url"; then
echo -e "${RED}❌ 下載失敗${NC}"
exit 1
fi
echo -e "${CYAN} 正在安裝...${NC}"
chmod +x "${TMP_DIR}/${binary_name}"
mv "${TMP_DIR}/${binary_name}" "$binary_path"
if [ $? -eq 0 ]; then
echo -e "${GREEN}✅ 安裝完成!${NC}"
# 确保有执行权限
chmod +x "$binary_path"
# 获取实际用户
REAL_USER=$SUDO_USER
if [ -z "$REAL_USER" ]; then
REAL_USER=$(whoami)
fi
# 修改所有权
chown $REAL_USER "$binary_path"
echo -e "${CYAN} 正在以普通用戶身份啟動程序...${NC}"
if [[ "$(uname)" == "Darwin" ]]; then
# macOS: 使用 sudo -u 并保持环境变量
HOME_DIR=$(eval echo ~$REAL_USER)
sudo -u $REAL_USER HOME=$HOME_DIR "$binary_path"
else
# Linux
su - $REAL_USER -c "$binary_path"
fi
else
echo -e "${RED}❌ 安裝失敗${NC}"
exit 1
fi
}
# 主程序
main() {
print_logo
check_root
get_latest_version
detect_os
create_temp_dir
install_cursor_free_vip
}
# 運行主程序
main

127
scripts/reset.ps1 Normal file
View File

@@ -0,0 +1,127 @@
# 檢查是否是通過權限提升啟動的
param(
[switch]$Elevated
)
# 設置顏色主題
$Theme = @{
Primary = 'Cyan'
Success = 'Green'
Warning = 'Yellow'
Error = 'Red'
Info = 'White'
}
# ASCII Logo
$Logo = @"
"@
# 美化輸出函數
function Write-Styled {
param (
[string]$Message,
[string]$Color = $Theme.Info,
[string]$Prefix = "",
[switch]$NoNewline
)
$emoji = switch ($Color) {
$Theme.Success { "" }
$Theme.Error { "" }
$Theme.Warning { "⚠️" }
default { "" }
}
$output = if ($Prefix) { "$emoji $Prefix :: $Message" } else { "$emoji $Message" }
if ($NoNewline) {
Write-Host $output -ForegroundColor $Color -NoNewline
} else {
Write-Host $output -ForegroundColor $Color
}
}
# 檢查管理員權限
$isAdmin = ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")
if (-NOT $isAdmin) {
Write-Styled "需要管理員權限來運行重置工具" -Color $Theme.Warning -Prefix "權限"
Write-Styled "正在請求管理員權限..." -Color $Theme.Primary -Prefix "提升"
# 顯示操作選項
Write-Host "`n選擇操作:" -ForegroundColor $Theme.Primary
Write-Host "1. 請求管理員權限" -ForegroundColor $Theme.Info
Write-Host "2. 退出程序" -ForegroundColor $Theme.Info
$choice = Read-Host "`n請輸入選項 (1-2)"
if ($choice -ne "1") {
Write-Styled "操作已取消" -Color $Theme.Warning -Prefix "取消"
Write-Host "`n按任意鍵退出..." -ForegroundColor $Theme.Info
$null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown')
exit
}
try {
Start-Process powershell.exe -Verb RunAs -ArgumentList "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`" -Elevated"
exit
}
catch {
Write-Styled "無法獲取管理員權限" -Color $Theme.Error -Prefix "錯誤"
Write-Styled "請以管理員身份運行 PowerShell 後重試" -Color $Theme.Warning -Prefix "提示"
Write-Host "`n按任意鍵退出..." -ForegroundColor $Theme.Info
$null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown')
exit 1
}
}
# 如果是提升權限後的窗口,等待一下確保窗口可見
if ($Elevated) {
Start-Sleep -Seconds 1
}
# 顯示 Logo
Write-Host $Logo -ForegroundColor $Theme.Primary
Write-Host "Created by YeongPin`n" -ForegroundColor $Theme.Info
# 設置 TLS 1.2
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
# 創建臨時目錄
$TmpDir = Join-Path $env:TEMP ([System.Guid]::NewGuid().ToString())
New-Item -ItemType Directory -Path $TmpDir -Force | Out-Null
# 清理函數
function Cleanup {
if (Test-Path $TmpDir) {
Remove-Item -Recurse -Force $TmpDir -ErrorAction SilentlyContinue
}
}
try {
# 下載地址
$url = "https://github.com/yeongpin/cursor-free-vip/releases/download/ManualReset/reset_machine_manual.exe"
$output = Join-Path $TmpDir "reset_machine_manual.exe"
# 下載文件
Write-Styled "正在下載重置工具..." -Color $Theme.Primary -Prefix "下載"
Invoke-WebRequest -Uri $url -OutFile $output
Write-Styled "下載完成!" -Color $Theme.Success -Prefix "完成"
# 執行重置工具
Write-Styled "正在啟動重置工具..." -Color $Theme.Primary -Prefix "執行"
Start-Process -FilePath $output -Wait
Write-Styled "重置完成!" -Color $Theme.Success -Prefix "完成"
}
catch {
Write-Styled "操作失敗" -Color $Theme.Error -Prefix "錯誤"
Write-Styled $_.Exception.Message -Color $Theme.Error
}
finally {
Cleanup
Write-Host "`n按任意鍵退出..." -ForegroundColor $Theme.Info
$null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown')
}