This is a simple script which parses your ShareX history file and deletes any screenshots which have been uploaded to Imgur.
The application will also check to see if screenshots exist locally before deleting them, and will download any missing screenshots.
-
Locate your latest history JSON file (History-XXXX-XX-XXX.json) in your ShareX/Backup directory and place it in the project root directory, renaming it to
history.json
.(You can also get your history JSON file by extracting the file created from
Application Settings -> Settings -> Export
) -
Edit
config.js
and add your current ShareX screenshots folder
Open run.bat
or run the commands:
yarn
yarn start