Skip to main content

Interactive snapshot/cache guard for opencode and Cursor

Project description

snapguard

Official CLI package for keeping opencode/Cursor snapshot growth under control.

Install (local dev)

uv tool install --force /Users/ever/Documents/GitHub/snapguard

Install via Homebrew

brew tap ever-oli/homebrew-tap
brew install ever-oli/homebrew-tap/snapguard

Install via PyPI

uv tool install snapguard
# or
pipx install snapguard

Note: PyPI publishing is wired via GitHub Actions on v* tags. First-time setup requires creating the snapguard project on PyPI and adding a Trusted Publisher for repo ever-oli/snapguard, workflow .github/workflows/publish-pypi.yml, environment pypi.

Commands

snapguard --interactive
snapguard --status
snapguard --dry-run
snapguard --schedule hourly --cap-gb 5

# short alias
sg --interactive

What it monitors

  • ~/.local/share/opencode/snapshot
  • ~/Library/Application Support/Cursor/User/workspaceStorage
  • ~/Library/Application Support/Cursor/snapshots
  • ~/Library/Application Support/Cursor/User/globalStorage

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snapguard-0.1.1.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

snapguard-0.1.1-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file snapguard-0.1.1.tar.gz.

File metadata

  • Download URL: snapguard-0.1.1.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for snapguard-0.1.1.tar.gz
Algorithm Hash digest
SHA256 64913657cbb247d496aa7e0f194777b45b30c07fc67eb2e37047a638de768a7c
MD5 9a3c6b9959ecb81ddd38ad507e348e00
BLAKE2b-256 e9357541558b42303acfcec104335d6ce50529183250dcb392bc12089d9d592c

See more details on using hashes here.

Provenance

The following attestation bundles were made for snapguard-0.1.1.tar.gz:

Publisher: publish-pypi.yml on ever-oli/snapguard

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file snapguard-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: snapguard-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for snapguard-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 25bc667da328178f104406110c332f1425f78f6c654449d48ad2e8d4f83e1444
MD5 79c1cd64a17778515faacb41b392395e
BLAKE2b-256 bd9fd32ba3cdbadf77e16f9cfcb3aac708dcddab41733990bedd9e99bfded8fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for snapguard-0.1.1-py3-none-any.whl:

Publisher: publish-pypi.yml on ever-oli/snapguard

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page