OpenCodeGUI へのコントリビュートについて
Thank you for your interest in contributing! Both English and Japanese are welcome in issues and pull requests.
This project itself is developed primarily through AI-assisted coding, and we welcome contributions made with AI tools as well. Whether you write code by hand or with the help of AI, all contributions are equally valued. Beginners are also very welcome — don't hesitate to open an issue or submit a PR, even if it's your first time contributing to open source.
Caution
Disclaimer: This project is experimental and developed primarily through AI-assisted coding. It is provided "as-is" without warranty of any kind. There may be unconventional implementations or areas requiring improvement. Your insights and contributions toward improving the codebase are sincerely appreciated.
- Node.js v22+
- npm
- OpenCode installed with LLM provider authentication configured
git clone https://github.com/<your-fork>/opencode-gui.git
cd opencode-gui
npm install
npm run buildnpm testOpening an issue before starting work is recommended. Use the provided issue templates.
For small fixes (typos, documentation improvements), you may open a PR directly.
- Fork the repository
- Create a branch from
development - Make your changes
- Ensure
npm run check,npm run buildandnpm testpass - Open a pull request against
development
PRs are squash-merged to keep the commit history clean.
This project uses Biome for linting and formatting. Run the following before submitting a PR:
npm run checkTo auto-fix issues:
npm run check:fixWhen your change affects behavior, add or update tests. Follow existing test patterns:
- Scenario tests:
webview/__tests__/scenarios/ - Component unit tests:
webview/__tests__/components/ - Hook unit tests:
webview/__tests__/hooks/ - Utility tests:
webview/__tests__/utils/
All pull requests are reviewed by the maintainer (@ktmage).
By submitting a pull request, you agree that your contributions are licensed under the MIT License that covers this project.
コントリビュートに興味を持っていただきありがとうございます!Issue や Pull Request は英語・日本語どちらでも構いません。
本プロジェクト自体が主に AI を活用したコーディングで開発されており、AI ツールを使ったコントリビュートも歓迎します。手書きでも AI の助けを借りても、すべてのコントリビュートを同等に評価します。初心者の方も大歓迎です。オープンソースへのコントリビュートが初めてでも、気軽に Issue や PR を出してください。
Caution
免責事項: 本プロジェクトは実験的な取り組みであり、主に AI を活用したコーディングにより開発されています。いかなる保証もなく「現状のまま」提供されます。一般的でない実装や改善が必要な箇所が含まれる可能性があります。コードベースの改善に向けたご意見やコントリビュートをいただけますと幸いです。
- Node.js v22+
- npm
- OpenCode がインストール済みで、LLM プロバイダの認証が完了していること
git clone https://github.com/<your-fork>/opencode-gui.git
cd opencode-gui
npm install
npm run buildnpm test作業を開始する前に Issue を立てることを推奨します。Issue テンプレートを利用してください。
小さな修正(typo、ドキュメント改善など)は直接 PR を出しても構いません。
- リポジトリをフォークする
developmentブランチからブランチを作成する- 変更を加える
npm run check、npm run build、npm testが通ることを確認するdevelopmentブランチに対して Pull Request を出す
PR は Squash merge でマージされます。
本プロジェクトでは Biome を Linter/Formatter として使用しています。PR を出す前に以下を実行してください:
npm run check問題を自動修正するには:
npm run check:fix動作に影響する変更の場合は、テストを追加・更新してください。既存のテストパターンに習って書いてください:
- シナリオテスト:
webview/__tests__/scenarios/ - コンポーネント単体テスト:
webview/__tests__/components/ - フック単体テスト:
webview/__tests__/hooks/ - ユーティリティテスト:
webview/__tests__/utils/
すべての Pull Request はメンテナー(@ktmage)がレビューします。
Pull Request を提出することにより、あなたのコントリビュートがこのプロジェクトの MIT ライセンス の下で提供されることに同意したものとみなされます。