diffusionbee-stable-diffusion-ui icon indicating copy to clipboard operation
diffusionbee-stable-diffusion-ui copied to clipboard

Don't store data in home directory

Open adinklotz opened this issue 3 years ago • 8 comments

Currently, DiffusionBee keeps generated images and other data in a ~/.diffusionbee directory. It is annoying and bad practice to unnecessarily clutter my home directory with hidden folders. I believe the macOS standard would be to keep this sort of data in the library in ~/Library/Application Support/DiffusionBee. Especially since we already store some data there, it would make more sense to consolidate

adinklotz avatar Jan 14 '23 18:01 adinklotz

Also, deleting the history doesn't get rid of the generated images (~/.diffusionbee/images) nor the input images (~/.diffusionbee/inp_images), it only deletes them from data.json. If I delete my history, I expect the input and output data to be gone as well.

PatrikTheDev avatar Jan 15 '23 18:01 PatrikTheDev

Is there no way to specify an output folder?

batmanscode avatar Feb 22 '23 17:02 batmanscode

I'd add that it'd be even nicer to be able to select an output directory in the app's settings. Say, if you'd like to store your generated images in your iCloud-synced Documents directory, on an external drive, etc.

fortinmike avatar Jun 05 '23 15:06 fortinmike

I suggest moving the following directories:

  • ~/.diffusionbee/data.json~/Library/Application Support/data.json
  • ~/.diffusionbee/downloads/~/Library/Application Support/Downloads/
  • ~/.diffusionbee/custom_models/~/Library/Application Support/Custom Models/
  • ~/.diffusionbee/images/~/Library/Application Support/Images/
  • ~/Library/Application Support/Cache/~/Library/Caches/DiffusionBee/Cache/
  • ~/Library/Application Support/Code Cache/~/Library/Caches/DiffusionBee/Code Cache/
  • ~/Library/Application Support/GPUCache/~/Library/Caches/DiffusionBee/GPUCache/

CyberSkull avatar Jun 19 '23 05:06 CyberSkull

The latest version (with the new interface) compounds this problem as it stores the default Stable Diffusion model as a yet another filename and does not delete the old models.

gingerbeardman avatar Jul 06 '23 11:07 gingerbeardman

Also see:

  • #183

gingerbeardman avatar Jul 07 '23 14:07 gingerbeardman

Also, it should allow us to store the models in an external HDD, not on the main HDD.

macsen0 avatar Oct 03 '23 16:10 macsen0

You can customize data folder by making symbolic link via terminal: ln -s TARGET_PATH .diffusionbee

lordofflakes avatar Mar 03 '24 18:03 lordofflakes