Don't store data in home directory
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
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.
Is there no way to specify an output folder?
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.
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/
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.
Also see:
- #183
Also, it should allow us to store the models in an external HDD, not on the main HDD.
You can customize data folder by making symbolic link via terminal: ln -s TARGET_PATH .diffusionbee