Well.. if it works, just add it.. It can always be updated if bugs are found. You can mark it as beta if you want.. I’m afraid that it will lost in the forums otherwise, I had trouble finding the thread already.
You can even add it as a MaxiGallery addon if you like, but I have understood from your posts that it can be used with any db table as an utility snippet for something else, not just with MaxiGallery..
In any case, I would suggest to put it in the repository and update later if needed.. There’s always more and more things you’d like to do to your code before releasing it to public and then again, you have less and less time and energy to do it, trust me.