About open source license
date
Jun 10, 2022
slug
about-opensource-license
status
Published
tags
Open Source
summary
Briefly learn about the open source license, and apply the license to your source code uploaded on github 🙂
type
Post
Last updated
Dec 22, 2022 11:01 AM
Getting Started
If you look at many open source repositories on Github, most licenses are specified. I have also used a lot of open source so far, but I think I lacked knowledge about licenses in open source, so I'm going to try to simplify it for proper use of open source.
However, we do not explain the limitations of each license separately, so if you need an explanation about the license, let's check the notice about the license.
In general, there are cases of using open source and cases of distributing open source. Let's take a look at each case.
If you redistribute (use) open source
The basic obligations of all open source licenses are notice and source code disclosure.
In general (at least on github), the restrictions on the license are indicated through the
LICENSE.md
(or LICENSE
) file and the license is notified in the README.md
file, so you can follow the restrictions of the license. Let's look at the example below.The blog, morethan_log, is a project created by redistributing Nobelium. As described in the README.md file of Nobelium, the project follows the MIT License, and the original author is listed in the README.md file of morethan_log in accordance with the rules described in the LICENSE file.
If you do not have a license
If the source code to be used is a source code for which the license is not specified, only the copyright holder has the right to use the code. Therefore, it is necessary to obtain permission for use through a request from the copyright holder of the corresponding code.
If you are distributing open source
Conversely, if you publish an open source project, how do you define the license? In fact, it would be nice to find out by creating an open source licensor on github.
Create LICENSE through Add file in the Repository where you want to apply the license.
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2F150dd959-a13a-452e-b04b-21da1bacf1ed%2F5922d5d5-952e-434b-88d8-aee53d6dfc33%2FUntitled.png%3Ftable%3Dblock%26id%3D4da138dd-f914-4372-98d3-11f960ffdf2a%26spaceId%3D150dd959-a13a-452e-b04b-21da1bacf1ed%26expirationTimestamp%3D1725825600000%26signature%3DAV09WtZiiv56vq1f0kpBzX9_rL_u4E5yw5GWTMlVhh0?table=block&id=4da138dd-f914-4372-98d3-11f960ffdf2a&cache=v2)
When the file name is entered as LICENSE, the Choose a license template button appears as follows.
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2F150dd959-a13a-452e-b04b-21da1bacf1ed%2Fe55a6dfc-0cac-4ffa-9402-6660b8cd4a36%2FUntitled.png%3Ftable%3Dblock%26id%3D2bc1aad7-b0df-42e4-842c-884596ac2186%26spaceId%3D150dd959-a13a-452e-b04b-21da1bacf1ed%26expirationTimestamp%3D1725825600000%26signature%3DyXi2nHtAUoiyPr9-xUI9BxBbn9SZFMjJWa9JR53l-DU?table=block&id=2bc1aad7-b0df-42e4-842c-884596ac2186&cache=v2)
Here, you can see the description of each license, select and create a license suitable for your open source. 🙂
![notion image](https://www.notion.so/image/https%3A%2F%2Ffile.notion.so%2Ff%2Ff%2F150dd959-a13a-452e-b04b-21da1bacf1ed%2F15cd6671-d3cf-4a5b-aa7e-d52436e16f71%2FUntitled.png%3Ftable%3Dblock%26id%3D52be80ee-ea44-44de-a96c-eea1764d8197%26spaceId%3D150dd959-a13a-452e-b04b-21da1bacf1ed%26expirationTimestamp%3D1725825600000%26signature%3D-mq2OzOSSnTUskR7U2_dz8-v8a-lBHRigueb7K4_DF4?table=block&id=52be80ee-ea44-44de-a96c-eea1764d8197&cache=v2)
concluding
There were many cases where I didn't pay attention to the license because it was annoying, but from now on, I'm going to keep it and use open source.