Raised: $0
0% of monthly goal Help us cross the finish line!
Goal: $12,000
Raised: $0 Goal: $12,000
0% of monthly goal Help us cross the finish line!
Sponsor DDEV

If you find this add-on useful, please star it on GitHub — stars show appreciation and help maintainers know their work matters.

ddev-cursor

DDEV add-on to manage Cursor IDE configuration directory in the container right.

Installation

ddev add-on get MurzNN/ddev-cursor

The issue

When you attach the IDE to the DDEV container, it automatically creates multiple directories in the home directory, and downloads all necessary files there, and everything works great!

But there are several issues with this:

  1. The directory disappears after restarting the DDEV container, so every time all files have to be downloaded again.

  2. Some directories contain user-related settings, which better to have shared between all projects. For example, the list of extensions

  3. Cache files are stored together with the data, making the directory size huge and not easy to clean up.

Solution

  1. Add-on creates persistent volumes for the related directories to make them not disappear on each restart.

  2. User-related settings mounted to $HOME/.local/state/ddev-cursor to be shared between all DDEV projects.

  3. Cache-related directories mounted to $HOME/.cache/ddev-cursor to be easily cleaned up with all other caches.

If you find this add-on useful, please star it on GitHub — stars show appreciation and help maintainers know their work matters.