One time I started working on one open source alternative, but one big problem I found was that their PSD file documentation was incorrect at a few places, and it lags behind what is currently available.
And though Photopea[0] is not open source, it can mostly get things done for my minimal use-cases.