Use the following types to categorize your commits:
- feat: Introducing a new feature (
feat: Add support for multi-language transcripts) - fix: Fixing a bug (
fix: Resolve issue with empty transcripts) - docs: Updating documentation (
docs: Improve README.md with setup instructions) - style: Code style changes (formatting, indentation, missing semicolons)
- No logic changes (
style: Format HTML structure properly)
- No logic changes (
- refactor: Code restructuring without changing functionality (
refactor: Optimize Flask routing) - perf: Performance improvements (
perf: Reduce API call latency) - test: Adding or updating tests (
test: Add unit tests for transcript fetch) - chore: Routine tasks like package updates (
chore: Update Flask version in requirements.txt) - ci: Changes related to CI/CD (
ci: Configure GitHub Actions for automated testing)
To keep things structured, follow this naming format:
feat/add-transcript-downloadfix/fix-invalid-video-iddocs/update-readmechore/update-requirements
Before submitting a PR:
- Ensure your code is formatted and follows best practices.
- Run tests and verify that they pass.
- Keep PRs small and focused on a single feature or bug fix.
- Use clear commit messages and add meaningful PR descriptions.
- Add relevant documentation for new features.
✔️ Write meaningful commit messages
✔️ Avoid committing large, unrelated changes
✔️ Squash commits if necessary for a clean history
✔️ Always create a new branch for features/fixes
✔️ Keep PRs small and review-friendly
Following these guidelines ensures that the repository remains professional, structured, and easy to collaborate on.
Happy coding! 🚀