-
-
Notifications
You must be signed in to change notification settings - Fork 12
feat: add more license options #186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is a great feature I want to support but did not. The key point is that I personally do not want to maintain the whole list especially for the license template for all possible options. Maybe we can integrate with something like https://choosealicense.com/? Actually, I did not investigate more on it. Let me know if you have any suggestions. :-) |
That's a real great option. Also, I know it first time that licenses are well-grouped on it. |
GitHub also provide an API to Get A License. I would suggest to use this kind of services instead. |
After reading it, it seems that a token is needed to use the API. But the token is not possible to expose to consumers by hard-coding. Maybe we need a secure token. 😒 |
Yep, it is true. I mean the API is just another possible option. If possible, I would prefer not to maintain all the license contents in the repo. I will also do more investigation myself. Will come up again after some progress. |
We can use jinja to render license template under the folder https://github.com/github/choosealicense.com/tree/gh-pages/_licenses @huxuan , see license file content meta on https://github.com/github/choosealicense.com/tree/gh-pages#license-metadata |
After some brief investigation, seems there is no well-maintained jinja template for open source licenses. Even for the choosealicense repo, it is a txt file and fields are not formatted in jinja variables. Maybe we have to maintain it ourselves. I will add more comments in the corresponding PR. |
Uh oh!
There was an error while loading. Please reload this page.
Add more options as below:
The text was updated successfully, but these errors were encountered: