Skip to content

unkn0wncode/extract-cursor-protos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cursor Protobuf Extractor

This tool extracts Protobuf definitions from the Cursor application.

Some of this projects code is based on the work from everestmz/cursor-rpc, but that repository's extractor doesn't work with the latest versions of Cursor. You can use the extracted proto file with the client found in the linked repository.

Don't wanna bother?

Just download proto from cursor/aiserver/v1

Requirements

Before you begin, ensure you have the following installed:

  • Go: Required to run the main extraction script.
  • npm: Used to install necessary packages for preprocessing.

The script will automatically install the required npm packages upon execution.

Usage

To run the extractor, simply execute the following command in your terminal:

go run main.go

In some cases it may show TypeError, that's okay as long as it generated a populated .proto file.

Compatibility

This extractor is compatible with the following versions of Cursor:

  • Latest stable release (v1.2.4)
  • Nightly builds

Output

The extracted Protobuf files will be generated and placed inside the cursor/ directory within the project folder.

About

A tiny tool for extracting Cursor protobuf definitions. Working with latest Cursor and Cursor Nightly.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published