Contributions are welcome for bug fixes, documentation, tests, tooling, and targeted improvements to the CLI, server UI, agents, and tool system.
Prerequisites:
- .NET 9 SDK
- Node.js >= 20.19.0 or >= 22.12.0
- Ollama locally if you want to exercise runtime chat flows beyond build/test
Clone the repository and run:
dotnet build -m:1 /nodeReuse:false
dotnet test -m:1 /nodeReuse:falseOptional web-only validation:
cd src/bashGPT.Web
npm testsrc/bashGPT.Core/: shared domain logic, configuration, providers, shell, storagesrc/bashGPT.Cli/: CLI entrypoint and command parsingsrc/bashGPT.Server/: local server and embedded browser UI hosttests/: mirrored test projects by area
- C# uses nullable reference types and implicit usings.
- Use 4 spaces and file-scoped namespaces where appropriate.
PascalCasefor public types and members,camelCasefor locals and parameters.- Keep classes focused by area and avoid broad cross-cutting changes unless required.
- Prefer ASCII unless a file already clearly uses Unicode.
- Add or update tests with behavior changes.
- Prefer the matching test project for the changed area.
- Keep test names descriptive in the
Method_Condition_Resultstyle. - If a change affects the embedded web frontend, run the relevant
npmtests or build path.
- Keep PRs scoped to one issue or one coherent change set.
- Include:
- a short summary of the change
- the commands you ran for verification
- any config, environment, or migration notes
- Avoid mixing unrelated refactors with user-facing fixes.
- Update
CHANGELOG.mdunder[Unreleased]for any user-facing additions, changes, fixes, or security improvements.
Use short conventional-style messages such as:
fix: verhindere plaintext-secret im settings apidocs: aktualisiere launch-checkrefactor: vereinfache provider factory
Do not open public issues for undisclosed vulnerabilities. Follow the guidance in SECURITY.md.