Open Dlurak opened 10 months ago
Happy new year! It's a reasonable idea but would require some restructuring of this repo and additional URLs to support forever. I don't oppose it but probably won't personally get to it. Less convenient to type, but the following should (not in a place to test it at the moment) get you the same result (the licenses in this repo are the ones github.com knows about, this repo is ultimately the source):
$ curl https://api.github.com/licenses/agpl-3.0 | jq --raw-output '."body"' > LICENSE
Currently users have to visit the site, choose the license, copy it contents and put it into a new file.
I think it would be beneficial if only the content of a license would be available under a standalone uri. It would allow for things like this:
Happy new year 2024! What do you think?