Open source Not […] allow […] commercial applications
For some definitions of open source, this is contradictory (FOSS). Some non FOSS licenses do limit commercial use while making the source available, this could be a possibility for you.
But, I’d instead recommend that you check if a copyleft license such as the GPL provide enough protections for your use case.
A lot of fun so far ! Thanks for making this