Repository navigation
Getting Started
Thanks for your interest in contributing! Kodo is a small project built by two people, so every contribution genuinely matters. This document covers everything you need to know to get started.
Detailed information regarding individual types of contributions can be found in the Contributions section of this wiki. Please refer to this page as a quick-start guide.
Examples for all types of extensions can be found in Kodo-Extension-Template.
Kodo uses these NuGet packages:
-
Avalonia12.1.5 -
Avalonia.Desktop12.1.5 -
Avalonia.AvaloniaEdit12.0.0 -
Avalonia.Themes.Fluent12.1.5 -
Avalonia.Fonts.Inter12.1.5 -
AvaloniaUI.DiagnosticsSupport2.2.3 -
DiscordRichPresence1.6.1.70 -
Svg.Controls.Skia.Avalonia12.0.0.17
To run Kodo locally, you'll need:
- .NET minimum version 10
- Change your directory to Kodo's source folder:
cd Kodo\Source(from the repository root - e.g.cd path\to\Kodo\Kodo\Sourceif you cloned topath\to\Kodo) - For best results, run
dotnet build Kodo.csprojto catch any errors. This is optional. - Run
dotnet run- it'll take a few seconds then open up
That's it. No complicated build pipeline, no extra tools.
Plugin authors: build
Kodo.csprojonce first so that your plugin can findKodo\Source\bin\Debug\net10.0\Kodo.dll(Source\bin\Debug\net10.0\Kodo.dllfrom the repo root;..\..\Kodo\Kodo\Source\bin\Debug\net10.0\Kodo.dllfromTemplatePlugin-HintPathwithPrivate=false).
-
AI Integration
- a) No AI integration in native/default Kodo, full stop.
- b) Extensions may add or use AI, but only where the effect is minimal and scoped. For example: enhancing an existing feature like CodePredict with AI is allowed; adding a general-purpose AI chat interface is not. Acceptance of AI-related extensions is at the maintainer's discretion during PR review, even if a submission technically fits these guidelines.
-
Code Quality
- PRs to the main Kodo app (not extensions) must be high-quality and add clear, meaningful value.
- Bloat, redundant functionality, or low-value features will be rejected, regardless of code quality. If we need more information about your PR's contents, we'll make an attempt to contact you.
If something's broken, open an Issue and describe:
- What you were doing when it happened
- What you expected to happen
- What actually happened
- Your OS and .NET version if relevant
If you have Aptabase data tracking enabled, slimmer crash logs are sent automatically, with them being sent to us without revealing any personal information. If you'd like to describe the error better, please open an Issue! (Tip: if an error dialog appears, use the Report on GitHub button - this will auto-fill your Issue with all the information we need.)
- Fork the repo
- Make your changes on a new branch
- Open a Pull Request with a clear description of what you changed and why
Please keep PRs focused, one thing per PR makes it much easier to review. If you're planning something large, open an Issue first so we can discuss it before you put in the work.
Look at the existing code and match it. A few things to keep consistent:
- Instead of a per-file changelog comment, make a good PR - a clear title and description of what you changed and why goes a long way for review.
- Keep comments descriptive but not excessive - explain why, not just what
- Don't leave dead code or commented-out blocks behind
By contributing, you agree that your contributions to Kodo's codebase are licensed under GPL v3.0, and that your extensions are licensed under the EXTENSIONS_LICENSE.
Jump into the Discord, we're always here to help.
Kodo is licensed under the GNU GPL-v3.0. Extension developers: see the EXTENSIONS_LICENSE in the main repository.