Can you release it as open source code?

Sure; I’ll throw it online in a few hours when I’m at my computer.