Codync
免费开源的 1:1 Grok Bot 与 Muse 替代方案。可在 iPhone、Mac 或 Linux 桌面上将 Claude 代码、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.