Thank you for your interest in contributing! This document provides guidelines for contributing to the RTMS Samples repository.
- Fork the repository
- Clone your fork locally
- Create a new branch for your feature/fix
- Folders: Use
snake_casewith language suffixsend_audio_to_zoom_scribe_transcribe_service_jssave_transcript_sdk
- Files: Use
camelCasefor JavaScript,snake_casefor Python - Language suffixes:
_js,_sdk,_python,_go,_java
Each sample should include a readme.md with:
- Title and description
- Prerequisites (environment variables)
- Implementation details / flow
- Running instructions
- Project-specific features
- Troubleshooting section
- Keep
.envand.env.examplevariable names identical - Include every environment variable read by the sample code
- Use
YOUR_<VARIABLE>_HEREplaceholders for credentials in.env.example - Keep operational defaults such as ports, modes, and timeouts in
.env.example - Never commit actual
.envfiles - Use
ZOOM_prefix for Zoom credentials
Run the environment audit before submitting changes:
node scripts/audit-env-consistency.mjsUse --fix to add code-backed variables, normalize placeholders, remove proven-stale
local keys, and create missing ignored .env files:
node scripts/audit-env-consistency.mjs --fix- Ensure your code follows the naming conventions
- Update the sample's README if needed
- Test your changes locally
- Create a PR with a clear description
[category] Brief description
Examples:
[audio] Add Google Speech-to-Text sample[boilerplate] Fix Python WebSocket reconnection[docs] Update ARCHITECTURE.md diagram
- Use present tense ("Add feature" not "Added feature")
- Keep first line under 72 characters
- Reference issues when applicable
- Create folder in appropriate category with correct naming
- Include
readme.mdfollowing the standard format - Include
.env.examplewith required variables - Add
package.json(JS) orrequirements.txt(Python) - Update the main
readme.mdif adding a new category
Open an issue for questions or discussions about potential contributions.