Does anyone have a script to remove snap? I paste it, maybe it asks me some questions (do I want to do this or that), and it's done?

Installing Ubuntu and setting it up to be usable is a larger and larger pain in the neck.

I made a thing called "unsnap" which removes snaps, and can optionally install the flatpak equivalents. https://github.com/popey/unsnap