Codync
免費、開源的 1:1 替代方案,取代 Grok Bot 與 Muse。從 iPhone、Mac 或 Linux 桌面將 Claude Code、Codex、Cursor 與 40+ 程式碼代理人作為持續機器人傳訊。群組聊天、主題串…
AI 翻譯
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證TypeScript libraries for building apps that both people and agents can read. Typed failures, Standard Schema validation, and the @arki/dot app kernel.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗TypeScript libraries for building apps that both people and agents can read.
Arki is a family of small @arki/* packages. Use one on its own, like
@arki/date or @arki/money. Or compose a whole backend with
@arki/dot: typed units for infra, features and entrypoints,
wired by the compiler and booted in declaration order.
Every package follows the same rules:
@arki/failure.--json output on
every CLI, an llms.txt and an agent guide in every package.The full list, with the reason behind each rule, is in
docs/arki/principles.md.
bun add @arki/dot @arki/failure
import { defineApp, infra } from '@arki/dot';
import { isFailure } from '@arki/failure';
import { openDb } from './db'; // your own database client
const database = infra({
name: 'database',
provides: { db: () => openDb(process.env.DATABASE_URL) },
async dispose({ db }) {
await db.close();
},
});
const app = await defineApp('pizzeria').infra(database).start();
if (isFailure(app)) throw new Error(app.code);
Read the @arki/dot README for features,
entrypoints and the dot CLI.
| Package | What it does |
|---|---|
@arki/dot | Compose an app from typed units; the compiler checks the wiring |
@arki/cli | Typed CLIs from one defineCommand, with a JSON envelope when piped |
@arki/env | Type-safe environment variables |
@arki/http | Route contracts as data, schema-validated handlers |
@arki/contracts | Shared schemas and Drizzle contract helpers |
@arki/db | Drizzle repositories for Postgres and PGlite |
@arki/journal | Every entity change as an immutable event row |
@arki/live | Live queries for oRPC and TanStack Query on your own Postgres |
@arki/kv | Key-value store with pluggable adapters |
@arki/lock | Distributed locks over memory, Postgres, SQLite, Redis and files |
| Package | What it does |
|---|---|
@arki/schema | Standard Schema helpers: parse with typed failures |
@arki/date | Temporal-based dates, instants, durations and intervals |
@arki/string | Grapheme-aware string toolkit |
@arki/math | Exact Decimal and Rational arithmetic on bigint |
@arki/money | Exact, fast money for every runtime |
@arki/expr | A safe expression language with a typed AST |
@arki/cas | A bounded computer algebra system on @arki/expr |
@arki/async | Abortable sleep, debounce, throttle and concurrency helpers |
@arki/clock | A clock you can control in tests |
@arki/resilience | Retry, circuit breaker, timeout and bulkhead |
Packages marked "private": true in their package.json are still in
development and are not published yet.
Every package is below 1.0. While a package is 0.x, a breaking change
ships as a minor release and a fix as a patch. Read a package's
CHANGELOG.md before you upgrade.
You need Bun (version in package.json) and Node 26.
Docker is needed for tests that start Postgres or Redis.
bun install
bun run build # build every package
bun run typecheck
bun run test
bun run lint
Work on one package with a Turbo filter:
bun run turbo run test --filter=@arki/date
Issues and pull requests are welcome. Start with CONTRIBUTING.md. Security issues go through SECURITY.md, never a public issue.
@arki/queue | Typed background jobs on BullMQ, pg-boss or a database row |
@arki/schedule | Typed cron and interval handlers |
@arki/mail | Typed mail with schema-checked templates and transport failover |
@arki/auth | Sign-in on Postgres or SQLite: one definition, one engine |
@arki/payments | Stripe plans, subscriptions, refunds, dunning and tax |
@arki/log | Zero-dependency structured logging for every runtime |
@arki/failure | Typed failures returned as values |
@arki/testing | Testcontainers Postgres and Redis, typed factories |
@arki/ui | React components on Base UI and Tailwind v4 tokens |
@arki/tanstack-start | TanStack Start wiring for Arki apps |
@arki/ai | Local-first AI: generation, embeddings, vector index |
@arki/embeddings | One embedder shape over many providers |
@arki/chat-ui | Chat and agent UI for React |
@arki/ts| TypeScript utility types |
@arki/icons | Iconify, Phosphor and flag icon sets behind one React entry |
@arki/bench | Publishable benchmarks against competitors |