What is the open source obligation?

The obligation of open source is through BSD open source protocol, because BSD open source protocol is a protocol that gives users great freedom. Basically, users can freely use and modify the source code as they want, and redistribute the modified code as open source or proprietary software.

However, the premise of "do whatever you want" When you use the BSD protocol to publish code or develop your own products based on the BSD protocol code, you need to meet three conditions:

1. If the redistributed product contains source code, the source code must contain the BSD protocol in the original code.

2. If only the binary class library/software is redistributed, the BSD protocol needs to be included in the original code in the document and copyright notice of the class library/software.

3. Do not use the name of the author/organization of the open source code and the name of the original product for marketing.

Similar to BSD open source protocol is Apache Licence 2.0.

Apache Licence is a protocol adopted by Apache, a famous non-profit open source organization. Similar to BSD, this protocol also encourages the code to enjoy and respect the copyright of the original author, and also allows the code to be modified before being released.

The conditions to be met are also similar to BSD:

1. You need to give the user of the code an Apache license.

2. If the code is modified, it needs to be explained in the modified file.

3. In the extended code (the modified code and the code derived from the source code), it is necessary to include the description of the agreement, trademark and patent statement specified by the original author in the original code.

If the redistributed product contains a notification file, an Apache license is required in the notification file. You can add your own license to the notification, but it cannot be displayed as a change to the Apache license.

Apache license is also a business-friendly license. Users can also modify the code as needed and publish/sell it as an open source or commercial product.