[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-107664":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":15,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":25,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":16,"starSnapshotCount":16,"syncStatus":14,"lastSyncTime":29,"discoverSource":30},107664,"textjs","anomalyco\u002Ftextjs","anomalyco","A React framework for apps that render in the browser console.","https:\u002F\u002Ftextjs.org",null,"TypeScript",301,8,2,3,0,24,227,13,70.86,"MIT License",false,"dev",[],"2026-11-14 03:53:06","2026-11-23 15:09:18","\u003Cdiv align=\"center\">\n\n# ▼ Text.js\n\nText.js is a React framework for apps that render in the browser console.\n\n[Docs](https:\u002F\u002Ftextjs.org\u002Fdocs) · [Learn](https:\u002F\u002Ftextjs.org\u002Flearn) · [Playground](https:\u002F\u002Ftextjs.org\u002Fplayground) · [OpenCode](https:\u002F\u002Ftextjs.org\u002Fopencode)\n\n\u003Cimg src=\"brand\u002Fshare\u002F2-console-frame.png\" alt=\"A Text.js app rendered in the Chrome DevTools console\" width=\"720\" \u002F>\n\n\u003C!-- i18n:languages -->\nEnglish · [Bahasa Indonesia](docs\u002Freadme\u002FREADME.id.md) · [Deutsch](docs\u002Freadme\u002FREADME.de.md) · [Español](docs\u002Freadme\u002FREADME.es.md) · [Français](docs\u002Freadme\u002FREADME.fr.md) · [Italiano](docs\u002Freadme\u002FREADME.it.md) · [Polski](docs\u002Freadme\u002FREADME.pl.md) · [Português (Brasil)](docs\u002Freadme\u002FREADME.pt-BR.md) · [Tiếng Việt](docs\u002Freadme\u002FREADME.vi.md) · [Türkçe](docs\u002Freadme\u002FREADME.tr.md) · [Русский](docs\u002Freadme\u002FREADME.ru.md) · [हिन्दी](docs\u002Freadme\u002FREADME.hi.md) · [日本語](docs\u002Freadme\u002FREADME.ja.md) · [한국어](docs\u002Freadme\u002FREADME.ko.md) · [简体中文](docs\u002Freadme\u002FREADME.zh-CN.md) · [繁體中文](docs\u002Freadme\u002FREADME.zh-TW.md) · [\u003Cspan dir=\"rtl\">العربية\u003C\u002Fspan>](docs\u002Freadme\u002FREADME.ar.md) · [\u003Cspan dir=\"rtl\">עברית\u003C\u002Fspan>](docs\u002Freadme\u002FREADME.he.md) · [\u003Cspan dir=\"rtl\">فارسی\u003C\u002Fspan>](docs\u002Freadme\u002FREADME.fa.md) · [\u003Cspan dir=\"rtl\">اردو\u003C\u002Fspan>](docs\u002Freadme\u002FREADME.ur.md)\n\u003C!-- \u002Fi18n:languages -->\n\n\u003C\u002Fdiv>\n\n## Quick start\n\n```bash\nbunx create-text-app@latest\ncd my-app && bun install && bun dev\n```\n\nOpen [localhost:3000](http:\u002F\u002Flocalhost:3000) and [open the browser console](https:\u002F\u002Ftextjs.org\u002Fdocs\u002Finstallation#open-the-console). Text.js needs Bun 1.2+ or Node.js 22+ and Chrome, Edge, Firefox or Safari on desktop.\n\n## Example\n\n```tsx\n\u002F\u002F app\u002Fpage.tsx\nimport { useState } from \"react\";\nimport { Box, Text, useInput } from \"@textjs\u002Fapp\";\n\nexport default function Page() {\n  const [count, setCount] = useState(0);\n\n  useInput((e) => {\n    if (e.key === \"up\") setCount((c) => c + 1);\n    if (e.key === \"down\") setCount((c) => c - 1);\n  });\n\n  return (\n    \u003CBox className=\"flex-col border rounded p-1\">\n      \u003CText bold>▼ Hello, console\u003C\u002FText>\n      \u003CText color=\"muted\">count = {count}\u003C\u002FText>\n    \u003C\u002FBox>\n  );\n}\n```\n\nEach frame is laid out with Yoga, run-length encoded into `%c` spans and written in one `console.log`. A frame with no changed cells logs nothing. [`ARCHITECTURE.md`](ARCHITECTURE.md) covers the rendering pipeline.\n\n## Packages\n\n| Package | Version | Description |\n| --- | --- | --- |\n| [`@textjs\u002Fapp`](packages\u002Fapp) | [![npm](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F@textjs\u002Fapp)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@textjs\u002Fapp) | App Router, the `text` CLI and route handlers |\n| [`@textjs\u002Freact`](packages\u002Freact) | [![npm](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F@textjs\u002Freact)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@textjs\u002Freact) | Reconciler, components and hooks |\n| [`@textjs\u002Fcore`](packages\u002Fcore) | [![npm](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F@textjs\u002Fcore)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@textjs\u002Fcore) | Cell buffer, layout and the `%c` console driver |\n| [`@textjs\u002Ffont`](packages\u002Ffont) | [![npm](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F@textjs\u002Ffont)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@textjs\u002Ffont) | FIGlet font parser and renderer |\n| [`@textjs\u002Fopencode`](packages\u002Fopencode) | [![npm](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F@textjs\u002Fopencode)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@textjs\u002Fopencode) | Local bridge between textjs.org\u002Fopencode and an OpenCode server |\n| [`create-text-app`](packages\u002Fcreate-text-app) | [![npm](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002Fcreate-text-app)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fcreate-text-app) | Project generator |\n| [`eslint-plugin-textjs`](packages\u002Feslint-plugin-textjs) | [![npm](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002Feslint-plugin-textjs)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Feslint-plugin-textjs) | ESLint rules for Text.js apps |\n\nThe editor and browser extensions live here too:\n\n- [`packages\u002Fvscode-textjs`](packages\u002Fvscode-textjs): the [VS Code extension](https:\u002F\u002Ftextjs.org\u002Fdocs\u002Fvscode), with a live preview, App Router scaffolding and error code links\n- [`packages\u002Fdevtools-extension`](packages\u002Fdevtools-extension): the [Chrome DevTools extension](https:\u002F\u002Ftextjs.org\u002Fdocs\u002Fdevtools-extension), with a component tree, frame inspector and timeline\n\n## Development\n\n```bash\nbun install\nbun test packages\u002F\nbun run typecheck\nbun run --cwd apps\u002Fweb dev\n```\n\nThe site runs at [localhost:3000](http:\u002F\u002Flocalhost:3000). [CONTRIBUTING.md](CONTRIBUTING.md) covers the other apps, the end-to-end scripts and the release process.\n\n## Contributing\n\nBug reports and pull requests are welcome. Read [CONTRIBUTING.md](CONTRIBUTING.md) first, and report security issues as described in [SECURITY.md](SECURITY.md).\n\n## License\n\n[MIT](LICENSE). Bundled third-party files keep their own licenses: the FIGlet fonts in [`packages\u002Ffont`](packages\u002Ffont\u002FNOTICE) (BSD 3-Clause) and the fonts under `apps\u002Fweb` and `merch\u002Ffonts` (SIL Open Font License 1.1).\n","Text.js 是一个专为在浏览器开发者工具控制台中渲染 UI 的 React 框架。它基于 Yoga 布局引擎，将组件树编译为带 CSS 样式标记（%c）的 console.log 输出，支持状态驱动更新、键盘事件响应、文本样式与布局（如 flex、边框、圆角），并实现增量渲染（无变化帧不输出）。项目采用 TypeScript 编写，依赖 Bun 或 Node.js 22+，兼容主流桌面浏览器。适用于构建调试辅助工具、CLI 风格 Web 应用、终端式交互面板或前端开发教学演示等需轻量级控制台界面的场景。","2026-11-24 04:32:34","CREATED_QUERY"]