Why do you want to open source it?
Almost no projects get contributors, if that's what you're looking for.
No, don't rewrite to use open source alternatives. Write what you need.
I've written open source code which depends on proprietary packages. It's not a problem.
Without knowing why you want to open source it, it's hard to be more definite.