Codync
免费开源的 1:1 Grok Bot 与 Muse 替代方案。可在 iPhone、Mac 或 Linux 桌面上将 Claude 代码、Codex、Cursor 以及 40 多个编码代理作为持久机器人使用。支持群组聊天、线程、应用。
AI 翻译
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Kestrel is a compiled programming language with deterministic memory management — no garbage collector, no borrow checker. It compiles to native code via Cranelift (default) or LLVM and ships with a full ecosystem: package manager, web framework, HTTP client, VS Code extension, and more — many written in Kestrel itself.
Currently in its first preview release, Kestrel can be used to write 2D games, CLI tools, and web apps.
See it live: wall.kestrel-lang.com is a public community sticky-note wall built entirely in Kestrel — Perch backend, SQLite, and an htmx frontend.
# Install Kestrel
curl -fsSL https://kestrel-lang.com/install | sh
# Compile and run a program
kestrel build hello.ks && ./hello
# Or use Flock (package manager)
mkdir myproject && cd myproject && flock init && flock run
Or build from source if you prefer.
module Cafe
enum Roast {
case Light
case Dark
case Custom(String)
}
struct Order {
let drink: String
let roast: Roast
let shots: Int64
var price: Int64 { self.shots * 250 }
func receipt() -> String {
let roast = match self.roast {
.Light => "light",
.Dark => "dark",
.Custom(name) => name
}
"\(self.drink) (\(roast)) — $\(self.price / 100)"
}
}
@main
func main() {
let orders = [
Order(drink: "Cortado", roast: .Dark, shots: 2),
Order(drink: "Oat Latte", roast: .Light, shots: 3),
];
orders.filter { it.shots > 2 }.forEach { println(it.receipt()) };
}
where clause constraintsnot Copyable for move-only types&T borrowed views with compile-time escape checking — no lifetime annotations, everdeinitthrows / try sugar over Result[T, E]it parameter"\(expr)" via the Formattable protocolfor-in loops with 20+ adapters (map, filter, zip, scan, take, ...)@extern(.C) for calling C functions and linking native libraries@main; return ExitCode, an integer, (), or a throwing Result via the Exitable protocolKestrel ships with Flock, a package manager written in Kestrel:
mkdir myproject && cd myproject
flock init && flock run
Install tools globally with flock install — it builds optimized binaries (pass --debug to opt out) and drops them into ~/.flock/bin:
flock install <org>/<pkg> # install from the registry
flock install # install the current package's binaries
See the Flock README for the full command reference.
Available packages:
| Package | Description |
|---|---|
| kestrel/perch | Web framework — routing, middleware, generic context |
| kestrel/swoop | HTTP/HTTPS client |
| kestrel/clutch | CLI argument parser |
| kestrel/quill | Serialization framework |
| kestrel/quill-json | JSON support for Quill |
| kestrel/quill-toml | TOML support for Quill |
| kestrel/http | Shared HTTP types |
| kestrel/plume | Template engine |
| kestrel/talon-sqlite | SQLite Wrapper |
| kestrel/uuid | UUID Type |
| kestrel/html-builder | HTML DSL |
| kestrel/sdl | SDL Bindings |
| kestrel/crypto |
Also included: Jessup (toolchain version manager, like rustup).
| Example | Description | Complexity |
|---|---|---|
| Notes App | Full-stack web app with htmx, perch backend, and SQLite database | Advanced |
| Weather Dashboard | Full-stack web app with Perch, htmx, and Open-Meteo API | Advanced |
| Pokédex | Kanto Pokédex using PokéAPI, Perch, and Plume | Advanced |
| Wordle | Wordle clone with shareable URL state | Intermediate |
| APOD | NASA Astronomy Picture of the Day viewer | Intermediate |
| Counter | HTMX counter app with Perch | Beginner |
| Game of Life | Conway's Game of Life with SDL2 | Intermediate |
| Breakout | Terminal brick breaker with Iterator-based game loop | Intermediate |
| Snake | Terminal snake with RAII terminal management | Intermediate |
| Pong | Terminal pong with AI opponent |
Kestrel ships with a language server (kestrel-lsp) with diagnostics, completions, go-to-definition, rename, and more. Install the VS Code extension to get started.
All public stdlib types are auto-imported — no import statements needed. See the full Standard Library Reference.
Kestrel is in early preview — expect breaking changes between releases.
-O0, fast compiles) and LLVM 18 for optimized builds (-O1, -O2)kestrel build -O 2 for release binaries; flock install builds optimized by defaultRequires Rust 2024 edition (1.85+).
git clone https://github.com/kestrellang/kestrel
cd kestrel
cargo install --path .
Apache-2.0 — see LICENSE.
| Crypto primitives |
| kestrel/datetime | Datetime library |
| Intermediate |
| SDL Pong | Graphical pong via SDL2 FFI bindings | Intermediate |