https://github.com/tiehuis/licenses
Plaintext licenses
https://github.com/tiehuis/licenses
licenses plaintext-licenses
Last synced: 3 months ago
JSON representation
Plaintext licenses
- Host: GitHub
- URL: https://github.com/tiehuis/licenses
- Owner: tiehuis
- Created: 2016-05-12T10:25:55.000Z (about 9 years ago)
- Default Branch: gh-pages
- Last Pushed: 2016-05-14T01:12:14.000Z (about 9 years ago)
- Last Synced: 2025-01-26T19:33:40.343Z (5 months ago)
- Topics: licenses, plaintext-licenses
- Language: Groff
- Homepage: https://tiehuis.github.io/licenses/
- Size: 1.6 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# licenses
An archive of most `spdx` licenses with correct formatting with properly
marked fields.All licenses may be formatted with special templated code which can be
autopopulated by tools using these. The format is the same as that of
`choosealicense`.`[fullname]`, `[login]`, `[email]`, `[project]`, `[description]`, `[year]`
# Structure
### h
Stores header information### a
Stores compiled archives### t
Stores actual license text## r
Stores generic license readme excerpts# Usage
A small bash function which can be added to your `.bashrc` may be the
following.```
function license {
[ -z "$1" ] && echo 'no license specified!' && returnif [ -z "$2" ]; then
output='LICENSE'
else
output="$2"
fiwget "https://tiehuis.github.io/licenses/t/$1" -nv -O "$output"
}
```