Codync
免費、開源的 1:1 替代方案,取代 Grok Bot 與 Muse。從 iPhone、Mac 或 Linux 桌面將 Claude Code、Codex、Cursor 與 40+ 程式碼代理人作為持續機器人傳訊。群組聊天、主題串…
AI 翻譯
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Cargo like build tool and package manager for Kotlin
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Kargo is Cargo for Kotlin. One kargo.toml and one CLI create, build, run, test and publish Kotlin projects for the JVM, WebAssembly, JavaScript, Kotlin/Native and Android.
$ kargo new hello && cd hello
Created application `hello` package
$ kargo run
Compiling hello v0.1.0 (jvm)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.47s
Running `java com.example.hello.MainKt`
Hello, Kotlin!
$ kargo test
No Gradle scripts, no plugins to wire up. If you have used Cargo, you already know how it works.
curl -fsSL https://enekocm7.github.io/kargo/install.sh | sh # Linux and macOS
irm https://enekocm7.github.io/kargo/install.ps1 | iex # Windows
You don't need Rust or a JDK: Kargo downloads a JDK when you have none. Nix, cargo binstall, cargo install and the other options are in the installation guide. Update later with kargo self update.
kargo.lock pins every resolved version and the SHA-256 of every artifact and tool.kargo.toml and drives the Android Gradle Plugin for you.kargo add, kargo tree, kargo why, workspaces, tasks and kargo-<name> plugins.kargo.toml[package]
name = "hello"
version = "0.1.0"
group = "com.example"
[kotlin]
version = "2.4.21"
[target.jvm] # no [target] at all means a JVM project
[target.wasm] # add more targets with `kargo target add`
[frameworks]
serialization = true
coroutines = true
[dependencies]
"org.jetbrains.kotlinx:kotlinx-datetime" = "0.7.1"
Every key is in the manifest reference.
| Target | What you get |
|---|---|
| JVM | Kotlin and Java sources, fat jars, zip/tar distributions, R8, jlink images, GraalVM native images and installers |
| WebAssembly | Node.js, WASI and browser apps (bundled with bun or Rollup), or npm libraries |
| JavaScript | Kotlin/JS for Node.js and browsers, ES, CommonJS or UMD modules with TypeScript declarations |
| Kotlin/Native | Executables and libraries for Linux, macOS, Windows and iOS, with C interop and XCFrameworks |
| Android | Apps and libraries through the Android Gradle Plugin, with flavors, signing, devices and emulators |
Built-in frameworks add their libraries, compiler plugins and flags with one line: serialization, coroutines, compose (desktop, web, iOS and Android), ktor, spring-boot, lombok and benchmark. Start from one with kargo new my-app --with ktor.
| Command | What it does |
|---|---|
kargo new <dir> | Create a project (--lib, -t jvm,wasm,js,native,android, --with compose,ktor,..., or --template <git URL or path> for your own) |
kargo build | Compile every target (--release for an optimized build) |
kargo run | Build and run the program, or serve a browser app (--watch restarts it on changes) |
kargo test | Compile and run the tests of every target (--suite integration for integration tests, --coverage for JVM code coverage) |
kargo add <group:artifact> | Add a dependency, at its latest version unless you give one |
kargo package | Build a fat jar, a runtime image, a native image, an installer or Android bundles |
kargo publish | Publish a library to Maven Central, a Maven repository or npm |
kargo import | Convert a Maven, Gradle or Kotlin Toolchain project (--keep-layout keeps the sources where they are) |
There are many more: check, coverage, fmt, lint, doc, tree, why, audit, bench, script for single files, and others. See the commands reference, or run kargo --list.
kargo lsp for every other editor.kargo import converts your project. See migrating from Gradle, from the Kotlin Toolchain and the feature parity table.Issues and pull requests are welcome. Found a bug? Run kargo report in the project: it writes a redacted report (versions, kargo.toml, the last failed build and kargo doctor) that you can paste into an issue, and kargo report --open opens a prefilled one. Nothing is uploaded.
Kargo is written in Rust:
cargo build
cargo test --workspace
The contributing guide covers the architecture, the end-to-end tests, the editor plugins, the website and releases.