跳到正文

正在自动登录…

← 返回项目列表

anomalyco/textjs

控制台应用开发

Text.js 是一个用于在浏览器控制台渲染应用的 React 框架,提供组件、路由和 CLI 工具,适合开发者构建交互式控制台界面。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/11/3 14:06:41 · 查看原文

普通TypeScript库与框架兼有 开发工具
累计 Stars
55
当前热度
1 天内 · 小火
仓库创建时间
打开 GitHub ↗项目网站 ↗

选用指南

AI 根据 README 整理 · 2026/11/3 14:06:41

使用方式

通过命令行创建项目并启动开发服务器,应用在浏览器控制台渲染。

查看 README 依据
<div align="center"> # ▼ Text.js Text.js is a React framework for apps that render in the browser console. [Docs](https://textjs.org/docs) · [Learn](https://textjs.org/learn) · [Playground](https://textjs.org/playground) · [OpenCode](https://textjs.org/opencode) <img src="brand/share/2-console-frame.png" alt="A Text.js app rendered in the Chrome DevTools console" width="720" /> </div> ## Quick start ```bash bunx create-text-app@latest cd my-app && bun install && bun dev ```
Open [localhost:3000](http://localhost:3000) and [open the browser console](https://textjs.org/docs/installation#open-the-console). Text.js needs Bun 1.2+ or Node.js 22+ and Chrome, Edge, Firefox or Safari on desktop. ## Example ```tsx // app/page.tsx import { useState } from "react"; import { Box, Text, useInput } from "@textjs/app"; export default function Page() { const [count, setCount] = useState(0); useInput((e) => { if (e.key === "up") setCount((c) => c + 1); if (e.key === "down") setCount((c) => c - 1); }); return (
部署要求

需要 Bun 1.2+ 或 Node.js 22+,以及桌面版 Chrome、Edge、Firefox 或 Safari。

查看 README 依据
Open [localhost:3000](http://localhost:3000) and [open the browser console](https://textjs.org/docs/installation#open-the-console). Text.js needs Bun 1.2+ or Node.js 22+ and Chrome, Edge, Firefox or Safari on desktop. ## Example ```tsx // app/page.tsx import { useState } from "react"; import { Box, Text, useInput } from "@textjs/app"; export default function Page() { const [count, setCount] = useState(0); useInput((e) => { if (e.key === "up") setCount((c) => c + 1); if (e.key === "down") setCount((c) => c - 1); }); return (

README

正在加载 README…

收录信息

仓库创建时间
2026/11/3 00:23:36
首次达标收录
2026/11/3 14:01:41
统计更新时间
2026/11/3 16:01:35

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

模型评估

普通加权总分 3.8 / 5

新颖度
4.0
实用价值
3.2
成熟度
4.3
实质含量
3.8

由 Jev 模型根据仓库描述与 README 评估,2026/11/3 14:01:41 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/11/3 15:12:27
许可证标识
MIT
Fork 数
0
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目