No description
|
|
||
|---|---|---|
| .github/workflows | python version change | |
| cursor_sync | modularised main.py | |
| tests | setup tests | |
| .env.example | basic push pull func | |
| .gitignore | ignore test coverage files | |
| .python-version | python version change | |
| codecov.yml | added codecov config | |
| main.py | modularised main.py | |
| pyproject.toml | python version change | |
| pytest.ini | setup tests | |
| README.md | status badge | |
| uv.lock | python version change | |
Cursor Settings Sync
A CLI tool to sync Cursor settings (extensions, themes, keymaps) across computers using GitHub Gists.
Setup
Generate a GitHub Personal Access Token with the "gist" scope and create a .env file with:
GH_TOKEN=your_github_token_here
Install uv if you don't have it installed. Then setup the python env.
uv sync
source .venv/bin/activate
# or on Windows
.\.venv\Scripts\activate
Usage
Run the project with uv:
uv run python main.py push # Upload settings to GitHub Gist
uv run python main.py pull # Download settings from GitHub Gist
Testing
Run tests with:
uv run pytest