The computing sense is short for
开放源代码 'open source code', and the word also works as a verb:
公司决定开源 'the company decided to open-source it'. The older sense comes from
开源节流 'open up sources and restrict the outflow', that is, earn more and spend less.