We design profit-maximizing mechanisms to sell an excludable and non-rival good with positive and/or negative network effects. Buyers have heterogeneous private values that depend on how many others also consume the good. In optimum, an endogenous number of the highest types consume the good, and we can implement this allocation in dominant strategies. We apply our insights to digital content creation, and we are able to rationalize features seen in monetization schemes in this industry such as voluntary contributions, community subsidies, and exclusivity bids.