Depends what you want to do with it. My experience is only second hand but it seems that it's hard to commercialise open source. Two basic commercialisation strategies would be 1) providing premium support 2) hosting saas of your product. If it is a side project - than open sourcing might give you extra motivation to keep working on it.
From personal experience - I had a couple of open source repositories for javascript components with 3+k stars and it was impossible to monetize and was taking a lot of time and energy to maintain (ultimately giving me depression and I had to abandon those).