Skip to content

Getting started

Guide to cloning the repo, running the project for the first time, and knowing where to go next.

  • JDK 21 — Gradle uses toolchains (gradle/gradle-daemon-jvm.properties) and downloads it automatically if you don’t have it installed.
  • Git.
  • (Optional) IntelliJ IDEA or Android Studio with the Kotlin Multiplatform plugin, to use the IDE’s run configurations.
  • (Optional) Python 3 and pip, to serve this documentation.
  • (Optional) The tools some features use at runtime (Android SDK, Xcode, Herdr…), listed in Installation › Optional tools.
Terminal window
git clone <repo-url>
cd Taxilane
./gradlew build
Terminal window
./gradlew :desktopApp:run # standard run
./gradlew :desktopApp:hotRun --auto # hot reload

You can also use the IDE’s run widget. To try the taxilane command without packaging: ./gradlew :cli:run --args="status" (it works on the repository Gradle runs from).

Terminal window
./gradlew test

It also runs the desktop app’s end-to-end tests, which drive its interface against real Git repositories in an isolated home under desktopApp/build/e2e/. To run only them: ./gradlew :desktopApp:desktopE2eTest; they refuse to run from an IDE’s default test run, which would use your real home.

The project is a Kotlin/JVM desktop app built with Compose Multiplatform, plus the taxilane command-line tool, in three Gradle modules. core holds the domain and the infrastructure, without any UI; desktopApp holds the Compose UI and wires everything together; cli is the command:

core/src/main/kotlin/dev/taxilane/
├── domain/ # models, ports (interfaces), and use cases
└── infrastructure/ # implementations of the ports: processes, files, JSON settings, Android SDK, simctl, Herdr…
core/build/generated/buildInfo/ # BuildInfo.VERSION, generated from the Gradle version
desktopApp/src/main/kotlin/dev/taxilane/
├── infrastructure/ # AwtClipboardWriter, the only port that needs the desktop toolkit
├── ui/ # Compose screens, ViewModels, and navigation
├── AppContainer.kt # wires domain + infrastructure, no DI framework
└── main.kt # entry point
cli/src/main/kotlin/dev/taxilane/cli/ # the taxilane command

For the detail of each layer: Domain layer, Infrastructure layer, UI layer, Command-line tool.

Non-trivial changes are planned with OpenSpec before writing code: proposal → apply → archive. Check openspec/changes/ for changes in progress and openspec/changes/archive/ for the history.

If you’re going to work with an AI agent

Section titled “If you’re going to work with an AI agent”

Read AGENTS.md at the repo root — it captures the code and documentation style conventions agents (Claude, Copilot…) must follow in this project.

Terminal window
pip install -r requirements-docs.txt
mkdocs serve

See the “Where to look” table in Home to know which page to go to based on what you need to understand.