RecoverApp
A Swift app for recovering deleted files from removable drives
This app came about when a friend asked me to recover some files from a hard drive. I used some open source software, Photorec and Testdisk but neither worked very well. Photorec recovered a lot of files but there was no folder information and I ended up with a lot of files that had to be sorted and renamed. I had to write a script to sort all the files based on file types. Everything worked out OK because the files my friend wanted were recovered and he didn't care about the rest. There is lots of commercial software available but I didn't want to pay for something I wouldn't use very often if at all.
Out of curiosity I asked Claude (an early version of free Sonnet) to build something for me. I went to ChatGPT and had it build a full requirement specification for file recovery software the gave this to Sonnet and it did pretty well. It crafted the software but there were some issues to work out. I would test the software then go back to Claude with any errors or odd behaviour and it would try to resolve them. I did like the fact that Claude generated all the Xcode files which made it easy to compile and test.
I left that project and carried on with some other work and ended up using Opus 5.5 for some development. It worked so well that I pointed it at the source folder of the Recovery app and told it to review the software and make any recommendations. It did a full code review and it also read the requirements document and the Readme that Sonnet had created then gave me it's recommendations. I told Claude to go ahead with what it recommended and it fixed all the errors and omissions it found, it then created a git repository and pushed and committed the code. I tested it one 3 different types of USB drives and SD Cards and so far it has passed with flying colours.