Thank you for considering a contribution. This project is a cross-platform desktop integration (Rhino 8 + .NET + React) — small, focused PRs are easier to review than large rewrites.
- Read Engineering overview for architecture context.
- Check open GitHub Issues for duplicates.
- For large changes, open an issue or discussion first.
| Tool | Version | Notes |
|---|---|---|
| Rhino 8 | Latest | Windows or macOS |
| .NET SDK | 8.0.x | Backend + macOS plugin |
| .NET Framework | 4.8 dev pack | Windows plugin only |
| Node.js | 22.x | Matches CI |
| pnpm | 11.x | UI package manager |
git clone https://github.com/Bochyn/AI-Image-Studio.git
cd AI-Image-Studio
# Frontend → wwwroot
cd src/RhinoImageStudio.UI
pnpm install
pnpm run build
# Backend + plugin (pick your platform)
cd ../..
cd src && dotnet build RhinoImageStudio.sln # Windows
cd src && dotnet build RhinoImageStudio.Mac.sln # macOSDetailed guides:
| Area | Convention |
|---|---|
| User-facing docs | Polish (docs/pl/) |
| Code, comments, commits | English |
| Commit messages | Conventional Commits — feat(scope):, fix(scope):, refactor(scope):, docs: |
| Model capabilities | Only edit src/RhinoImageStudio.UI/src/lib/models.ts — backend validates separately |
| API contracts | Shared DTOs in RhinoImageStudio.Shared/Contracts |
| Display modes | Use DisplayModeMapping — do not hardcode Rhino English names |
- Read a file before changing it.
- Prefer surgical edits over full-file rewrites.
- Do not edit
src/RhinoImageStudio.Backend/wwwroot/by hand — runpnpm run buildin UI. - Do not commit API keys, databases, or local captures.
feat/short-description
fix/short-description
refactor/short-description
docs/short-description
- Create a branch from
master. - Make changes with tests when behavior changes.
- Run locally:
dotnet test src/RhinoImageStudio.Backend.Tests
pnpm --dir src/RhinoImageStudio.UI run lint
pnpm --dir src/RhinoImageStudio.UI run build
git diff --exit-code src/RhinoImageStudio.Backend/wwwroot- Open a PR with:
- Conventional title:
type(scope): Summary in imperative mood - Summary + test plan (see PR template)
- Conventional title:
- Ensure CI passes (Windows plugin, macOS plugin, frontend).
- Never commit secrets — see SECURITY.md.
- Run the candidate secret scan before pushing sensitive branches.
- Report vulnerabilities privately — do not open public issues with exploit details.
When your change affects behavior:
| Change type | Update |
|---|---|
| API endpoint | api/architecture.md |
| Bridge / plugin | engineering/cross-platform-bridge.md |
| Security | engineering/security.md |
| User workflow | guides/ + pl/przewodniki/ |
| Engineering decisions | engineering/code-quality.md or new engineering doc |
Reviewers will check:
- Windows and macOS impact for shared code
- Contract stability (
Shared/Contracts) - No secrets or generated junk in diff
- Tests or clear manual verification steps
- wwwroot rebuilt if UI changed
Open a GitHub Issue with the question label or refer to Troubleshooting.
External contributions are accepted only when the contributor agrees that the contribution is provided under the project license and may also be included in separately licensed commercial editions. If a change is substantial, maintainers may request a signed CLA or DCO sign-off before merge. See LICENSE for details.