Codync
免费开源的 1:1 Grok Bot 与 Muse 替代方案。可在 iPhone、Mac 或 Linux 桌面上将 Claude 代码、Codex、Cursor 以及 40 多个编码代理作为持久机器人使用。支持群组聊天、线程、应用。
AI 翻译
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Multi-platform Rust abstractions of platform APIs and OS services
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗A collection of crates for accessing system features (platform APIs) in a cross-platform manner from Rust applications.
These robius crates have a few design goals and major advantages compared to other platform feature abstraction crates:
See the below Summary section for more info, or look at each individual crates' docs in crates/.
There's also a status table that shows what each crate supports on each platform, and what platform API it uses under the hood.
robius-authentication: asks the OS to show a native authentication prompt to verify the user.
polkit prompt on Linux.robius-directories: provides the canonical directory location where each platform wants your app to store its config, cache, data, downloads, etc.
Context.getFilesDir() on Android.directories crate, with Android support added (using our robius-android-env crate). Note that only ProjectDirs is implemented on Android, which is really the only thing your app probably needs.robius-file-picker: shows the OS's native open file, save file, or media picker dialogs/popup.
rfd.UIDocumentPickerViewController and PHPickerViewController.ACTION_OPEN_DOCUMENT/ACTION_CREATE_DOCUMENT, the system Photo Picker, or MediaStore.Downloads based on the current Android version (that's automatic, you don't have to pick it yourself).robius-location: gets the device's geolocation from the OS, and handles the permission prompts for you.
Symbol legend: ✅ fully supported · ⚠️ partial, or has issues · 🚧 under construction · ❌ not supported
| Crate | macOS | iOS | Android | Windows | Linux |
|---|---|---|---|---|---|
robius-authentication | ✅ LAContext (LocalAuthentication): TouchID + username/password | ✅ LAContext (LocalAuthentication): TouchID / FaceID / PIN | ✅ BiometricPrompt + screen lock | ✅ UserConsentVerifier (WinRT) for Windows Hello, with username/password fallback | ✅ polkit prompt via the desktop's auth agent (needs a .policy file) |
robius-directories | ✅ Apple Standard Directories (~/Library/...) | ✅ Apple Standard Directories (in app sandbox) | ✅ Context.getFilesDir(), getCacheDir() etc. via robius-android-env | ✅ Known Folders API | ✅ XDG Base Directory / User Directory |
robius-file-picker | ✅ NSOpenPanel, NSSavePanel (via rfd) | ✅ UIDocumentPickerViewController, PHPickerViewController | ✅ ACTION_OPEN_DOCUMENT, ACTION_CREATE_DOCUMENT, system Photo Picker, MediaStore.Downloads | ✅ IFileDialog (via rfd) | ✅ XDG portal FileChooser (via rfd) |
Each crate has its own Minimum Supported Rust Version (MSRV), typically 1.77, but we try to keep it as low as possible.
On Android, most crates support API Level 26 and up (Android 8.0), but we're always extremely careful to check the API level at runtime and only use features that are available. So you generally don't need to worry about that at all.
| Crate | MSRV | Android API Level |
|---|---|---|
robius-authentication | 1.77 | 28 for biometrics, 29 for password fallback |
robius-directories | 1.64 | None |
robius-file-picker | 1.88 | 26 |
robius-location | 1.77 | 26 |
robius-open | 1.72 | None |
robius-share | 1.77 | 26) |
robius-web-auth-session | 1.71 | Unsupported |
Due to platform requirements, most functions exposed by robius crates need to be invoked from the main UI thread. This is enforced at runtime and will return an error if mis-used.
The one exception is robius-file-picker, which can be invoked on any thread (it will jump to the main thread if the platform requires it), and the "file picked" callback always gets run on a separate native OS thread.
robius-openhttp://, tel:, mailto:, file://, custom schemes, and more.NSWorkspace on macOS, UIApplication on iOS, Intent on Android, xdg-open on Linux, and WinRT's Launcher on Windows.robius-share: opens the native system share sheet so you can share a file or other content with a different app on your system.
Intent.createChooser on Android, UIActivityViewController on iOS, NSSharingServicePicker on macOS, and the WinRT Share UI on Windows.robius-speech: streams native speech-to-text results and microphone levels on macOS, iOS, Android, and Windows.
robius-web-auth-session: runs an OAuth/SSO login process in the OS's own in-app browser session, and then sends the result back to your app.
ASWebAuthenticationSession. There's no other safe/supported way to do web login on iOS, because otherwise iOS will suspend your app while showing the browser.robius-location✅ CLLocationManager (CoreLocation) |
✅ CLLocationManager (CoreLocation) |
✅ LocationManager |
✅ Geolocator (Windows.Devices.Geolocation, WinRT) |
✅ XDG Location portal, with a GeoClue fallback |
robius-open | ✅ NSWorkspace.openURL | ✅ UIApplication.openURL | ✅ Intent (ACTION_VIEW) | ✅ Launcher.LaunchUriAsync (WinRT) | ✅ xdg-open |
robius-share | ✅ NSSharingServicePicker | ✅ UIActivityViewController | ✅ ACTION_SEND / ACTION_SEND_MULTIPLE via Intent.createChooser | ✅ WinRT Share UI (DataTransferManager) | ✅ XDG portal "Open With" chooser (OpenURI / OpenFile), or its SaveFiles dialog for multi-item payloads; xdg-open fallback |
robius-speech | ✅ SFSpeechRecognizer + AVAudioEngine | ✅ SFSpeechRecognizer + AVAudioEngine | ✅ SpeechRecognizer (needs an installed recognition service) | ✅ SAPI dictation (needs an installed speech language) | ❌ no OS-native speech-to-text service exists |
robius-web-auth-session | ❌ not supported | ✅ ASWebAuthenticationSession | 🚧 planned (custom chrome tabs) | ❌ not supported | ❌ not supported |