Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/friedrith/contributing-generator
A generator for the CONTRIBUTING.md, README.md, LICENSE, etc
https://github.com/friedrith/contributing-generator
cli contributing markdown npm
Last synced: 3 months ago
JSON representation
A generator for the CONTRIBUTING.md, README.md, LICENSE, etc
- Host: GitHub
- URL: https://github.com/friedrith/contributing-generator
- Owner: friedrith
- License: mit
- Created: 2024-03-05T23:54:48.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-03-16T17:46:43.000Z (11 months ago)
- Last Synced: 2024-05-12T05:02:44.583Z (9 months ago)
- Topics: cli, contributing, markdown, npm
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/contributing-generator
- Size: 315 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# contributing-generator
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/friedrith/contributing-generator/release.yml)
![NPM Version](https://img.shields.io/npm/v/contributing-generator)A smart and interactive prompt to generate documentation in **CONTRIBUTING.md**, **LICENSE**, **CODE_OF_CONDUCT.md**, **package.json**, **SECURITY.md** and **README.md** files for your project.
`contributing-generator` gathers as maximum information as possible from your git configuration, package.json and github profile to generate the files.
![]()
## Get Started
```bash
$ npx contributing-generator? What do you want to generate? (Use arrow keys)
❯ license
contributing
readme
code_of_conduct
pull_request_template
package
security
```Check the templates of these files in the [templates](./templates) folder.
> We suggest you to commit your changes before running the generator, as it will overwrite some files and you might want to revert some changes.
## Why using contributing-generator?
In comparison of other tools, it is smart and interactive. It will detect the license if existing, the year, the organization name from your github or gitlab and a lot of other information.
```bash
? What do you want to generate? license
? Choose a license: MIT # <-- coming from your package.json
? Year: 2024
? Organization: John Smith # <-- coming from your github profile
? Path: (/Users/john/code/contributing-generator)
```> `contributing-generator` was tested with github, gitlab and bitbucket.
## Contributing
Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code practices and the process for submitting pull requests.
```bash
pnpm install # Install dependenciespnpm dev # Start the project
```## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.