Contributing & Development¶
Welcome to the Antimatter ecosystem! Antimatter is a community‑driven, open‑source companion app + VS Code extension for Google's AntiGravity IDE.
Community project
Antimatter is NOT affiliated with, endorsed by, or supported by Google.
Repository layout¶
Antimatter is a monorepo with two shippable sub‑projects plus the docs site:
antimatter/
├── extension/ # VS Code / AntiGravity extension (TypeScript) → see Extension reference
├── android/ # Companion Android app (Kotlin / Compose) → see Android reference
├── docs/ # MkDocs Material documentation (this site)
└── mkdocs.yml # Docs site configuration
Prerequisites¶
- Node.js 22+
- Android Studio (Koala or newer)
- Google AntiGravity IDE
Setting up the VS Code extension¶
Then press F5 in VS Code to launch an Extension Development Host with the bridge loaded.
| Task | Command |
|---|---|
| Type‑check / lint | npm run lint (tsc --noEmit) |
| Build bundle | npm run build |
Package .vsix |
npm run package |
Setting up the Android app¶
- Open the
android/directory in Android Studio. - Let Gradle sync and download dependencies.
- Build and run the
appconfiguration on an emulator or device. - (Optional) For Crashlytics in debug builds, add a valid
google-services.jsontoandroid/app/.
| Task | Command |
|---|---|
| Lint | ./gradlew lintDebug |
| Build debug APK | ./gradlew assembleDebug |
| Install debug build | ./gradlew installDebug |
Working on the documentation¶
The docs are built with Material for MkDocs:
pip install mkdocs-material
mkdocs serve # live preview at http://127.0.0.1:8000
mkdocs build --strict # verify there are no broken links/nav before pushing
Pages live in docs/ and the navigation is defined in mkdocs.yml. On merge to main, the
Deploy Documentation
workflow publishes the site to https://antimatter.saifmukhtar.dev.
Submitting pull requests¶
- Fork the repo and create your branch from
main. - Run formatting and linting:
- Extension:
npm run lint - Android:
./gradlew lintDebug
- Extension:
- Add tests for any code that should be tested.
- Open the pull request.
Code style¶
We enforce standard TypeScript formatting (ESLint / Prettier) and Kotlin formatting (Ktlint). Please configure your IDE to respect these rules.
See also the Code of Conduct.