Language: English | 简体中文
Thank you for your interest in contributing to the GenUI SDK open source project! There are many ways to contribute—you can choose one or more based on your strengths and interests:
- Report new bugs
- Provide more details for existing bugs, such as screenshots, detailed reproduction steps, or links to minimal reproducible demos
- Fix typos or improve documentation
- Fix bugs
- Implement new features
- Improve unit tests
- Participate in code reviews
Use GitHub Issues to report bugs. Please include the following information:
- Clear problem description: Describe what issue you encountered
- Reproduction steps: Describe in detail how to reproduce the issue
- Expected vs actual behavior: Explain what you expected and what actually happened
- Environment information: Node version, OS, relevant dependency versions, etc.
If you have ideas for new features, please submit them via Issues. Include:
- What problem the feature would solve
- Your expected API or usage pattern
- Fork this repository: Click the Fork button on the GenUI SDK repository
- Create a new branch:
git checkout -b feature/amazing-featureand start your changes - Follow code style: Ensure your code adheres to the project's coding standards
- Update documentation: Update README.md or relevant docs if needed
- Submit Pull Request: Submit a PR after completing your changes
- After forking to your account, clone your fork to your local machine
- Add the upstream remote to sync with the latest upstream code
- Run
pnpm iin the genui-sdk root directory to install dependencies - Run
pnpm devto start the playground - Open your browser to access it
# Replace username with your GitHub username
git clone git@github.com:username/genui-sdk.git
cd genui-sdk
# Add upstream remote
git remote add upstream git@github.com:opentiny/genui-sdk.git
# Install dependencies
pnpm i
# Start Playground development environment
pnpm devThe setup steps for server, docs, etc. are similar to the playground—only the start command differs. See package.json for specific commands.
- Ensure your local development environment is set up and running correctly
- Sync with upstream:
git pull upstream main - Create a new branch from upstream:
git checkout -b username/feature-name upstream/main - Develop locally
- Follow Conventional Commits when committing
- Push to your fork:
git push origin branch-name - Create a PR on the Pull Requests page
- Wait for code review and address feedback
If you're interested in GenUI SDK or the OpenTiny open source project, you're welcome to join via:
- Add WeChat assistant:
opentiny-officialto join the tech discussion group - Join the mailing list: opentiny@googlegroups.com
Thank you for contributing!