Thank you for your interest in contributing to 0xBitNet! This document provides guidelines to help you get started.
If you find a bug, please open an issue with:
- A clear title and description
- Steps to reproduce the issue
- Expected vs actual behavior
- Browser and GPU information (if relevant)
Feature requests are welcome. Please open an issue describing:
- The problem you're trying to solve
- Your proposed solution
- Any alternatives you've considered
- Fork the repository
- Create a feature branch from
maingit checkout -b feature/your-feature
- Make your changes
- Ensure your code passes linting and tests
npm run lint npm run test - Commit with a clear message
git commit -m "Add: brief description of your change" - Push and open a Pull Request against
main
git clone https://github.com/m96-chan/0xBitNet.git
cd 0xBitNet
npm install
npm run dev- TypeScript for all source code
- WGSL for GPU kernels
- Use the existing code style — the linter will catch most issues
Use a short prefix to categorize your commit:
Add:— New feature or fileFix:— Bug fixUpdate:— Enhancement to existing functionalityRefactor:— Code restructuring without behavior changeDocs:— Documentation onlyTest:— Adding or updating tests
- WGSL kernel optimization and correctness
- Browser compatibility testing
- Documentation and examples
- Performance benchmarking
By contributing, you agree that your contributions will be licensed under the MIT License.