https://github.com/marcuwynu23/git-community-standards
CLI tool to apply standard community files to a GitHub repository from a shared template source.
https://github.com/marcuwynu23/git-community-standards
code-of-conduct community-standars contributing funding git github guidelines license release-notes
Last synced: 3 months ago
JSON representation
CLI tool to apply standard community files to a GitHub repository from a shared template source.
- Host: GitHub
- URL: https://github.com/marcuwynu23/git-community-standards
- Owner: marcuwynu23
- License: mit
- Created: 2026-04-17T08:24:28.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-04-17T09:37:50.000Z (3 months ago)
- Last Synced: 2026-04-17T10:35:13.675Z (3 months ago)
- Topics: code-of-conduct, community-standars, contributing, funding, git, github, guidelines, license, release-notes
- Language: Go
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# git-community-standards
CLI tool to apply standard community files to a GitHub repository from a shared template source.
[](https://github.com/marcuwynu23/git-community-standards/actions/workflows/test.yml)
[](https://github.com/marcuwynu23/git-community-standards/actions/workflows/release.yml)
[](https://github.com/marcuwynu23/git-community-standards/releases)
[](./LICENSE)
[](https://go.dev/)
## Overview
`git-community-standards` helps keep repository governance docs consistent by downloading and writing common files such as:
- `README.md`
- `CONTRIBUTING.md`
- `CODE_OF_CONDUCT.md`
- `RELEASE-NOTES.md`
- `LICENSE` (when available in source)
- `SECURITY.md` (when available in source)
- `.github/FUNDING.yml`
- `.github/ISSUE_TEMPLATE/*`
- `.github/PULL_REQUEST_TEMPLATE.md`
The tool supports safe default behavior (skip existing files) and explicit override mode.
## Installation
### Build from source
```bash
git clone https://github.com/marcuwynu23/git-community-standards.git
cd git-community-standards
go build -o git-community-standards .
```
On Windows, build `git-community-standards.exe`.
### Development build with Makefile
```bash
make build
```
## Usage
This project is designed to be used in git-style form:
```bash
git community-standards list
git community-standards apply
git community-standards apply
git community-standards apply override
git community-standards apply override
git community-standards --version
git community-standards -v
```
If you run the binary directly, the same command arguments work without the leading `git`.
### Commands
- `list`: show available categories.
- `apply`: apply all categories.
- `apply `: apply one category.
- `override`: replace existing files instead of skipping them.
### Categories
- `root`
- `github`
- `issue-templates`
- `pr-template`
## Development
### Requirements
- Go 1.23+
- GNU Make (optional, for convenience commands)
### Local checks
```bash
make test
make build
```
### Release builds
```bash
make release
```
This produces binaries in `dist/` for:
- linux/amd64, linux/arm64
- darwin/amd64, darwin/arm64
- windows/amd64, windows/arm64
## CI and Releases
- `test.yml` validates tests and cross-platform build checks.
- `release.yml` runs on tags (`v*`), depends on test workflow, and publishes release assets for all OS/architecture targets.
## Contributing
Contributions are welcome. See `CONTRIBUTING.md` for contribution workflow and standards.
## License
See `LICENSE`.