Open Source vs Source-Available
People think any code you can read online is open source, and it is not. Open source needs a license that lets anyone use, change and share the code for any purpose. Source-available code can be read, but its license bans some uses, such as selling it as a hosted service. So it fails the Open Source Definition.
Open Source Software
Software whose code anyone may read, use, change and share.
Open source software is software whose code anyone may read, use, change and share. The rights come from an open source license, like MIT or the GPL. Anyone can suggest fixes, and many projects are built by people at different companies. Linux, Python, Git and React are all open source. Open source does not always mean free of cost, and it never means free of rules.
Source-Available License
A license that lets you read the code but limits how you use it. It is not open source.
A source-available license lets you read the code but puts limits on how you may use it. For example, it may ban selling the code as a web service that competes with its maker. Because of those limits, it is not open source. The Open Source Definition says a license may not stop anyone from using the code for any kind of work. Some firms moved to such licenses to guard their business.
In one line
- Open Source Software
- Software whose code anyone may read, use, change and share.
- Source-Available License
- A license that lets you read the code but limits how you use it. It is not open source.