Codync
免费开源的 1:1 Grok Bot 与 Muse 替代方案。可在 iPhone、Mac 或 Linux 桌面上将 Claude 代码、Codex、Cursor 以及 40 多个编码代理作为持久机器人使用。支持群组聊天、线程、应用。
AI 翻译
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Toasts for Expo and React Native with the react-hot-toast API. Real Liquid Glass on iOS 26, Material 3 snackbars on Android, frosted glass on the web. Progress bars, steps, Undo countdowns, notifications, banners, a HUD and a Dynamic Island capsule, all themeable.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Toasts for Expo and React Native, with the react-hot-toast API. On iOS 26 each
toast is drawn in Apple's own Liquid Glass, on Android as a Material 3
snackbar, and on the web in frosted glass. Beyond plain toasts: progress,
steps, Undo with a countdown, notifications, a HUD and a Dynamic Island
capsule. Plain React web apps get the same API through expo-hot-toast/web.
Try it on the website: every button there fires a real toast, from this library running in your browser.
Not on npm yet; install from GitHub, then add the peer dependencies:
npm install github:VanitasCaesar1/expo-hot-toast
npx expo install expo-glass-effect expo-haptics react-native-reanimated \
react-native-worklets react-native-gesture-handler \
react-native-safe-area-context react-native-svg
The peers are marked optional so that a web-only app, which uses
expo-hot-toast/web, is not made to install React Native. A native app needs
all of them: a missing one fails at bundle time with "Unable to resolve module".
Installation covers the app root and
React Native without Expo.
Mount one <Toaster /> at the root, then call toast from anywhere:
import { Toaster, toast } from 'expo-hot-toast';
export default function App() {
return (
<>
<Home />
<Toaster />
</>
);
}
toast.success('Changes saved');
toast.error('Could not reach the server');
toast('Message archived', { action: { label: 'Undo', onPress: restore } });
await toast.promise(upload(photo), {
loading: 'Uploading photo…',
success: 'Photo uploaded',
error: 'Upload failed',
});
expo-glass-effect. Older iOS, Android
and Reduce Transparency get an opaque surface; nothing imitates glass. The
web gets frosted glass, a CSS backdrop blur.expo-hot-toast/web is the same API in
Next.js or Vite, drawn with DOM and CSS in the same frosted glass, with no
React Native. See Web apps.const upload = toast.progress('Uploading 4 photos');
upload.set(0.4); // on the UI thread, no re-render
upload.success('4 photos uploaded');
toast.steps(['Compressing video', 'Uploading', 'Processing']);
toast('Conversation deleted', { action: { label: 'Undo', countdown: true, onPress: restore } });
toast.notify({ title: 'Maya Patel', body: 'Sent you 4 photos', avatar: { uri } });
toast.hud('Added to Library');
toast.island('AirPods Pro connected', { type: 'success' });
See Rich toasts.
react-hot-toast is web-only: it renders DOM elements. This package rebuilds its API on native views, so toast code from a React web app ports by changing the import. The differences fit on one page.
| Platform | Surface | Tested |
|---|---|---|
| iOS 26 | Liquid Glass | iOS 26.5 simulator in CI |
| Android | Material 3 snackbar, opaque | Android 15 emulator in CI |
| iOS before 26 | Opaque | Not yet |
| Web | Frosted glass | Built for the web in CI; runs the website's demos |
react-native-workletsIssues and pull requests are welcome. CONTRIBUTING.md covers setup and the test gates. docs/design.md explains the decisions behind the queue, the timing and the glass.
Please follow the code of conduct.
MIT © VanitasCaesar1