neuron-explorer
Steering-first neuron explorer for Qwen3.5-4B: push every MLP neuron, keep every rollout, browse the results
翻译准备中
编写 React Native。发布真正的语义网和原生移动。基于 Rust 的 UI 编译器,在静态路径上零运行时,提供一流的可访问性和预计算样式。
AI 翻译
Write React Native. Ship true Semantic Web and native Mobile. A Rust-powered UI compiler with zero runtime on static paths, first-class accessibility, and precomputed styles.
开发工具TypeScript · RustGitHub @iray-tno在线运营者未确认
试用过了吗? 点一下就好,无需登录。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证一个由 Rust 驱动的通用 UI 编译器和以无障碍为先的层,适用于 React Native。
AI 翻译
A Rust-powered universal UI compiler and accessibility-first layer for React Native.
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
A Rust-powered universal UI compiler and accessibility-first layer for React Native.
Status: early, 0.x. Published to npm and crates.io. The Rust compiler, five
bundler and framework integrations, both lowering backends, the runtime
adapters and the conformance suite are implemented and tested. Public APIs
and package boundaries may still change in any minor release. See
docs/proposal.md for the design document (Japanese).
Hozo compiles React Native source toward the platform it actually runs on:查看完整 README ↗Write React Native. Ship semantic HTML on the Web and native UI on iOS and Android.
Hozo is a universal UI framework for React Native, compiled by a compiler
written in Rust. You write components with React Native's vocabulary (View,
Text, Pressable, and semantic primitives such as Heading and Section)
and Tailwind classes, or take them ready-made from @hozo/ui. The build turns
them into semantic HTML, CSS and ARIA on the Web, and into React Native
components and StyleSheet values on iOS and Android. What the build can read
is compiled; only what it cannot read is left to a small runtime. Along the way
it checks semantics and accessibility, and tells whoever runs it, a person or
an agent, what to change.
Documentation · Website · REPL · Storybook · Conformance · Releases
import { Heading, Section, Text } from '@hozo/core'
export function Welcome() {
return (
<Section accessibilityLabel="Welcome" className="gap-2 p-6">
<Heading level={2} className="text-xl font-bold">Hello</Heading>
<Text className="text-gray-600">Compiled at build time.</Text>
</Section>
)
}
On the Web, the build writes this (compiler output, unedited):
<section className="hozo-view hozo-9hei4i-r0-0" aria-label={"Welcome"}><h2 className="hozo-9hei4i-r0-1">Hello</h2><span className="hozo-9hei4i-r0-2">Compiled at build time.</span></section>
.hozo-9hei4i-r0-0 { gap: 8px; padding-top: 24px; padding-right: 24px; padding-bottom: 24px; padding-left: 24px; }
.hozo-9hei4i-r0-1 { font-size: 20px; line-height: var(--tw-leading, 28px); font-weight: 700; }
.hozo-9hei4i-r0-2 { color: oklch(44.6% 0.03 256.802); }
A <section> with a name is a region landmark, the heading is an <h2>, and
the classes are real CSS. No React Native for Web and no style runtime is
involved. On React Native the same source becomes View and Text with
StyleSheet values, and the heading a Text with the header role. The
REPL shows both outputs for anything
you type.
| Stack | Install | Guide |
|---|---|---|
| Vite 8+ | @hozo/vite | Vite |
| Next.js | @hozo/next | Next.js |
| React Native, Expo | @hozo/metro | Metro |
| Astro | @hozo/vite | Astro |
| Storybook | @hozo/storybook | Storybook |
| TanStack Start | @hozo/vite | TanStack Start |
On Vite, for example:
npm install --save-dev @hozo/vite @hozo/compiler
npm install @hozo/core
// vite.config.ts: hozo() before react(), so it sees the JSX as written
plugins: [hozo({ css: 'src/theme.css' }), react()]
If something stops you, Troubleshooting
lists what others hit first. For an existing React Native app,
npx @hozo/migration-audit . reports what Hozo would change before you
change anything.
Early, 0.x. Published to npm and crates.io, and tested in CI on every
change; the Native backend also runs weekly on an Android emulator and an iOS
simulator. Public APIs and package boundaries may still change in any minor
release.
What is partial, manual or not yet tested is listed in What Hozo does not do yet. How far the output matches Tailwind, React Native and WAI-ARIA is measured, not claimed: see the Conformance Matrix.
CONTRIBUTING.md has the repository layout, setup, and the checks a pull request runs. Agents also read AGENTS.md.
MIT — see LICENSE.