Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.25 KB

CONTRIBUTING.md

File metadata and controls

49 lines (34 loc) · 1.25 KB

Contributing

Thanks for contributing to ttscli.

Prerequisites

  • Go (see go.mod for the project version baseline)
  • A Google Cloud Text-to-Speech API key for manual CLI testing

Local Setup

make tools
export PATH="$(go env GOPATH)/bin:$PATH"

Development Workflow

  1. Create a feature branch from main.
  2. Make focused changes with tests.
  3. Run quality checks before opening a PR:
make check
  1. Update docs when behavior or flags change.

Adding a text-to-speech provider? See "Adding a provider" in the README: one implementation file plus one Spec entry in internal/tts/registry.go.

Commit Style

Use conventional-style prefixes where possible:

  • feat: for user-facing features
  • fix: for bug fixes
  • refactor: for structure/maintainability
  • test: for test-only changes
  • docs: for documentation updates
  • perf: for performance improvements (e.g., latency, memory usage)
  • style: for code style or formatting changes
  • ci: for CI/CD configuration updates
  • chore: for tooling/automation changes

Release Process

  • Tags matching v*.*.* trigger the release workflow.
  • Releases are built with GoReleaser from .goreleaser.yml.
  • Built binaries include version metadata visible via ttscli --version.