Adding the possibility of manually executing the garbage collector
IPFS Desktop is a standalone version of an IPFS node with a user-friendly UI. The application is for users who do not like or do not want to work with a CLI at all.
The garbage collector (part of an IPFS installation) is used to manage the local repository and deletes unpinned content from it, when it is executed or triggered by the values from the config file (normally 10 GB).
The garbage collector is triggered by the values defined in the configuration file, but cannot be started manually by the user. To do this, an appropriate CLI-compatible package (e.g. go-ipfs) must first be installed in order to access the repository. This way is extremely inconvenient and not suitable for a user with little IT knowledge. But IPFS Desktop is especially aimed at these users.
Adding a button, which starts the garbage collector manually, allows users to easily and cleanly remove content that is not pinned (e.g. if illegal content was loaded by mistake). This will attract more users to install a local IPFS node.
Mockups / Examples
One possibility to place this function would be in the settings.
- Users without CLI knowledge can easily clean up their repository.
- This removes the fear that inexperienced users can share illegal content and cannot stop it without deleting the entire IPFS installation.
- As a result, more people will be able to use IPFS Desktop and the IPFS will grow.
Posted on Utopian.io - Rewarding Open Source Contributors