I think you made a good move by releasing the code and, please, do ask for upfront cash, or don't take the job. Nothing good can come out of not doing so.
The OP's comments about how he wasn't some greedy person looking for a fat check shows he's a bit deluded as well. It's not greedy to get paid for the hard work you do that benefits others, and it's a peculiar mental illness in our industry that many claim it is greedy to be paid. It is not only perfectly fine to be paid for your work, it's fine to be paid very well if you are very good, and there is no shame or greed in doing so.