Open Source & Contributing
OrbitTest Client is free and open-source software under the MIT License. The full source is at github.com/abhay-1994/Orbittest_client. Bug reports, ideas, documentation fixes and pull requests are all welcome.
The license, in plain words
Section titled “The license, in plain words”- You can use OrbitTest Client for free, for personal or commercial work, and study, modify, fork and redistribute the code.
- You must keep the copyright and license notice in copies of the code.
- The name and logo are not covered. The MIT license covers the code, not the OrbitTest name or logo. If you distribute a modified version, give it a different name and icon so users can tell it apart from the official app.
- Contributions are licensed under the same MIT terms. There’s no separate contributor license agreement (CLA) to sign.
Ways to contribute
Section titled “Ways to contribute”- Report a bug. Open a bug report with your app version (Settings → About), operating system and the exact steps to reproduce.
- Suggest a feature. Open a feature request. Describe the problem you want solved, not only the solution you have in mind.
- Improve the docs. The repository’s README and User Guide are plain Markdown, and fixes are always welcome.
- Write code. Look for issues labelled
good first issueorhelp wanted. For anything bigger than a small fix, open an issue first so the approach is agreed before you invest time.
Everyone taking part follows the project’s Code of Conduct.
Build from source
Section titled “Build from source”You need Node.js 22.12 or newer (CI uses Node 24; an .nvmrc is included, so nvm use picks the right version), npm and Git. You don’t need a C++ toolchain: the integrated terminal uses @lydell/node-pty, which ships prebuilt binaries for Windows, macOS and Linux.
git clone https://github.com/abhay-1994/Orbittest_client.gitcd Orbittest_clientnpm cinpm run devnpm run dev starts the Vite dev server and Electron together, with hot reload for the UI. Changes to files in electron/ need an app restart. Building from source is also the way to run OrbitTest Client on an Intel Mac.
Useful scripts
Section titled “Useful scripts”| Command | What it does |
|---|---|
npm run dev | Run the app in development mode |
npm run lint | Type-check the app and the CLI (tsc --noEmit) |
npm run lint:eslint | Run ESLint over the whole repository |
npm run format | Format everything with Prettier (npm run format:check only reports) |
npm run test:unit | Run the Vitest unit tests |
npm test | Run the backend smoke test (IPC handlers, request engine, Beacon, Surge, terminal) |
npm run build | Type-check and build the UI into dist/ |
npm run build:cli | Build the orbittest CLI into dist-cli/ |
npm run dist | Build an installer for your platform into release/ |
Project layout
Section titled “Project layout”electron/ Main process (main.cjs), preload bridge (preload.cjs), and lib/ modules: request engine, Beacon proxy, Ghost mock server, Surge, Pulsar, Git sync, terminalsrc/ React UI: components/ and lib/ (pure logic, hooks, report builders)cli/ The orbittest command-line runner and its reportersscripts/ Smoke test, dev launcher, and the pitch-deck generatordocs/ Screenshots used by the READMEassets/, public/ App icon and static assetsArchitecture rules every change follows
Section titled “Architecture rules every change follows”These rules are what make OrbitTest Client safe to trust with credentials and decrypted traffic:
- The renderer is sandboxed. The UI has no Node.js access. Anything privileged (files, network, OS) goes through a named IPC channel exposed in
electron/preload.cjsand handled inelectron/main.cjs. - The main process validates its inputs. Every IPC argument is treated as untrusted: types are checked, numbers clamped, and renderer-supplied strings are never passed into a shell or file path without checks.
- Secrets never touch the workspace file. Tokens, keys and passwords live in the OS-encrypted store (Electron
safeStorage). Variables marked secret are redacted from exports and Git pushes. - User scripts run in a locked-down Web Worker with no DOM, no network and no bridge. Changes to
src/lib/script-runtime.tsorsrc/lib/tests.tsneed extra care and tests.
Making a change
Section titled “Making a change”-
Fork the repository and create a branch from
main, such asfix/oauth-refreshorfeat/grpc-support. -
Keep it focused: one bug fix or one feature per pull request.
-
Add or update tests. Pure logic in
src/lib/orcli/gets a Vitest test next to it (something.test.ts). New or changed IPC handlers get a check inscripts/smoke-test.cjs. -
Run the same checks as CI:
Terminal window npm run format:checknpm run lintnpm run lint:eslintnpm run test:unitnpm testnpm run build -
Format with Prettier (
npm run format). CI fails on unformatted files. -
Update the docs. If users will notice the change, add a line under
## UnreleasedinCHANGELOG.md, and update the User Guide if a feature’s behavior changed.
Code style. TypeScript in strict mode for the UI and CLI, and CommonJS (.cjs) for the Electron main process. Prefer small, pure functions in lib/ modules that can be unit-tested without Electron. Comments explain why, not what. Don’t add a dependency when a few lines of code will do.
Commit messages follow Conventional Commits:
feat: add gRPC request supportfix(beacon): keep decrypted bodies when the upstream closes earlydocs: explain Surge ramp-up in the user guidePull request process
Section titled “Pull request process”- Open the pull request against
mainand fill in the template. For UI changes, attach a screenshot or a short recording. - Make sure CI is green. Pull requests with failing checks aren’t reviewed until they’re fixed.
- A maintainer reviews it. Requests for changes are a normal part of the process, not a rejection.
- Once approved, a maintainer merges it, usually as a squash merge.
Reporting a security issue
Section titled “Reporting a security issue”OrbitTest Client handles API tokens, OAuth credentials, client certificates, decrypted HTTPS traffic and a locally generated certificate authority, so security reports are taken seriously.
Please don’t report vulnerabilities in public issues, discussions or pull requests. Use GitHub’s private vulnerability reporting instead:
Include the type of issue, the app version and OS, steps to reproduce, a proof of concept if you have one, and what an attacker could achieve. You can expect:
- an acknowledgement within 5 business days
- an initial assessment within 10 business days
- regular updates while a fix is prepared
- coordinated disclosure: a GitHub Security Advisory when the fix ships, crediting you unless you’d rather stay anonymous
These are targets rather than guarantees for a community project. Areas where reports are especially welcome include renderer isolation and the IPC bridge, script-sandbox escapes, Beacon’s local CA and LAN mode, Ghost exposure, secret leaks into files or reports, Source Control and OAuth token handling, the auto-updater, and the integrated terminal. Only the latest release receives security fixes. Good-faith research under the security policy is covered by its safe-harbor terms.
How releases are made
Section titled “How releases are made”- A maintainer bumps
versioninpackage.json, renames## Unreleasedin the changelog to the new version and date, and writes the user-facing notes inbuild/release-notes.md. - They commit
release: vX.Y.Zand push an annotated tagvX.Y.Z. - The tag triggers the release workflow. It refuses a tag that doesn’t match
package.json, builds the Windows, macOS and Linux installers into a single draft release, and publishes it once the Windows installer and itslatest.ymlupdate manifest are in place.
The in-app auto-updater reads the same Releases page, and the workflow needs no secrets beyond GitHub’s built-in token. CI also runs CodeQL security scanning with a read-only workflow token.
Related: What is OrbitTest Client? · CLI reference · Download & Install