Thank you for your interest in contributing to TensorBlock Studio! This document provides guidelines and instructions for contributing to the project.
All contributors are expected to adhere to our code of conduct, which promotes a welcoming and inclusive environment for everyone.
- Fork the repository on GitHub
- Clone your fork to your local machine:
git clone https://github.com/yourusername/TensorBlock-Studio.git cd TensorBlock-Studio - Install dependencies:
npm install
- Set up environment variables:
- Copy
.env.exampleto.env - Add any required API keys or configuration values
- Copy
- Create a new branch for your feature or bugfix:
git checkout -b feature/your-feature-name # or git checkout -b fix/issue-description - Make your changes following our Code Style Guide
- Run the development server:
npm run dev
- Test your changes to ensure they work as expected
- Commit your changes with clear, descriptive commit messages:
git commit -m "Add: implementation of feature X" - Push your branch to your fork:
git push origin feature/your-feature-name
- Open a Pull Request against the main repository:
- Provide a clear title and description
- Reference any related issues
- Fill out the pull request template
- Keep PRs focused on a single feature or bugfix
- Make sure your code follows our Code Style Guide
- All tests must pass
- Update documentation for any changes to APIs or features
- Include screenshots or GIFs for UI changes when possible
- Write tests for new features and bugfixes
- Ensure all existing tests pass before submitting a PR
- Run tests locally with:
npm run test
- Update documentation when changing or adding features
- Document new components and functions with JSDoc comments
- Update README.md if your changes affect how users interact with the application
- Follow the TypeScript and React best practices outlined in our Code Style Guide
- Use ESLint to ensure code quality:
npm run lint
- Use the GitHub issue tracker to report bugs or request features
- Check for existing issues before creating a new one
- Provide detailed steps to reproduce bugs
- Include information about your environment (OS, browser, etc.)
├── app/ # Electron main process files
├── docs/ # Documentation
├── src/
│ ├── components/ # React components
│ ├── services/ # Application services
│ ├── styles/ # Global styles
│ └── types/ # TypeScript type definitions
- Use GitHub issues for bug reports and feature requests
- Join our community discussions for general questions and ideas
Thank you for contributing to TensorBlock Studio!