Thank you for considering contributing to the Media Content Downloader project! We welcome contributions from the community.
If you encounter a bug or have a feature request:
- Search existing issues to avoid duplicates
- Create a new issue with:
- Clear title and description
- Steps to reproduce (for bugs)
- Expected vs actual behavior
- Your environment (OS, PowerShell version, yt-dlp version)
-
Fork the repository
git fork https://github.com/silrenan/0xbitdrain.git
-
Create a feature branch
git checkout -b feature/your-feature-name
-
Make your changes
- Follow PowerShell best practices
- Add comments for complex logic
- Test your changes thoroughly
-
Commit your changes
git commit -m "Add: brief description of changes" -
Push to your fork
git push origin feature/your-feature-name
-
Create a Pull Request
- Use clear, descriptive variable names
- Follow PowerShell naming conventions (PascalCase for functions, camelCase for variables)
- Include error handling for new features
- Add comments for complex logic
- Use consistent indentation (4 spaces)
Before submitting:
- Test the script with various media URLs from different platforms
- Verify error handling works correctly
- Test on different platforms if possible
- Ensure the script works with empty/invalid input files
- Provide a clear description of changes
- Reference related issues
- Include testing steps
- Keep PRs focused on a single feature/fix
- Update documentation if needed
- Clone your fork
- Ensure yt-dlp is installed
- Create test input files with sample URLs from various platforms
- Test changes thoroughly
Feel free to open an issue for any questions about contributing!