https://github.com/frectonz/license-gen
A license generator made with rust.
https://github.com/frectonz/license-gen
license license-generator rust
Last synced: 9 months ago
JSON representation
A license generator made with rust.
- Host: GitHub
- URL: https://github.com/frectonz/license-gen
- Owner: frectonz
- License: mit
- Created: 2022-05-10T10:28:00.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-02-22T11:06:11.000Z (over 2 years ago)
- Last Synced: 2025-09-29T10:52:13.872Z (9 months ago)
- Topics: license, license-generator, rust
- Language: Rust
- Homepage: https://asciinema.org/a/496158
- Size: 65.4 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# license-gen
A license generator made with rust.
The CLI needs an `email` and a `name` to generate the license file. It looks for them in a couple of places.
- Envoironment variable `USER`
- Git username form your `.gitconfig`
- Author field in `package.json`
## Run it with Nix
```bash
nix run github:frectonz/license-gen
```
## Install
```bash
cargo install license-gen
```
## Supported licenses
- Apache-2.0
- BSD-1-Clause
- BSD-2-Clause
- BSD-3-Clause
- ISC
- MIT
- UNLICENSE
- WTFPL
## Demo
[](https://asciinema.org/a/496158)