Code of Conduct
By participating in this project, you agree to maintain a respectful and inclusive environment. Be kind, constructive, and collaborative.Ways to Contribute
Report Bugs
Found a bug? Open an issue on GitHub with details about the problem and steps to reproduce it.
Suggest Features
Have an idea? Open an issue to discuss new features or improvements.
Add Platforms
Add support for new streaming platforms by following the platform implementation guide.
Improve Documentation
Help improve these docs or add examples to make the project more accessible.
Getting Started
Create a branch
Create a new branch for your changes:Use descriptive branch names:
feature/add-facebook-gaming- New featuresfix/polling-memory-leak- Bug fixesdocs/update-readme- Documentation updatesrefactor/platform-checkers- Code refactoring
Make your changes
Make your changes following the code style guidelines below. Remember to:
- Write clear, descriptive commit messages
- Add comments for complex logic
- Update documentation if needed
- Test your changes thoroughly
Commit your changes
Commit your changes with a clear message:Follow Conventional Commits format:
feat:- New featurefix:- Bug fixdocs:- Documentation changesrefactor:- Code refactoringtest:- Adding testschore:- Maintenance tasks
Code Style Guidelines
TypeScript
The project uses strict TypeScript configuration. Follow these guidelines:Code Formatting
We use Prettier for code formatting:- 2 spaces for indentation
- Semicolons required
- Double quotes for strings
- Trailing commas in multi-line structures
npm run format before committing.
ESLint Rules
The project uses ESLint with TypeScript rules:File Naming
- Use lowercase with hyphens:
platform-checker.ts - Use
.tsextension for TypeScript files - Keep file names descriptive and concise
Import Style
Pull Request Guidelines
PR Title
Use a clear, descriptive title:- ✅
feat: add support for Facebook Gaming platform - ✅
fix: resolve memory leak in polling service - ❌
updates - ❌
fix bug
PR Description Template
What Gets Reviewed
Reviewers will check:- Code quality: Is the code clean, readable, and maintainable?
- Type safety: Are types properly defined and used?
- Error handling: Are errors caught and logged appropriately?
- Testing: Have you tested the changes?
- Documentation: Are code comments and docs updated?
- Style: Does code follow the project’s style guidelines?
Adding New Platforms
When adding a new platform:- Follow the Adding Platforms guide
- Include test cases for live and offline states
- Add platform colors and emojis from official branding
- Document any API limitations or quirks
- Update the platform list in the README
Documentation Contributions
Documentation is just as important as code:- Fix typos and grammatical errors
- Improve clarity and readability
- Add examples and code snippets
- Update outdated information
- Add screenshots or diagrams
Project Structure
Understand the codebase structure:License
By contributing, you agree that your contributions will be licensed under the MIT License.Copyright: All contributions are Copyright (c) 2023 Bankk and contributors.
Questions?
If you have questions:- Open a GitHub Discussion
- Open an Issue for bugs or feature requests
- Check existing documentation and issues first