thoughtfulllc/gridland
关于
Terminal apps that run anywhere - even the browser!
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Gridland
Build terminal apps that run in the browser (and the terminal) with React. The Gridland website is built with Gridland.
Gridland is built on the OpenTUI rendering engine.

Quick Start
Create a new project:
bunx create-gridland my-app
Note: Terminal apps require Bun to run in development. However, you can compile to a standalone binary that requires no runtime at all — users don't need Bun, Node, or npm installed.
Try the Demos
Run interactive demos in your terminal:
bunx @gridland/demo landing
bunx @gridland/demo gradient
bunx @gridland/demo chat
Add to an Existing Project
Vite
bun add @gridland/web
// vite.config.ts
import { gridlandWebPlugin } from "@gridland/web/vite-plugin";
export default defineConfig({
plugins: [gridlandWebPlugin()],
});
Next.js
bun add @gridland/web
// next.config.ts
import { withGridland } from "@gridland/web/next-plugin";
export default withGridland({});
Components
UI components are distributed via a shadcn registry. Install them individually so you own the code:
bunx shadcn@latest add @gridland/chat
bunx shadcn@latest add @gridland/spinner
bunx shadcn@latest add @gridland/table
Sandboxed Execution
Run any app in an isolated Docker container:
bunx @gridland/container @gridland/demo -- landing
Supports npm packages, GitHub repos, and local directories as sources.
Compile to Binary
Build a standalone executable with no runtime required:
bun build --compile src/cli.tsx --outfile my-app
Packages
| Package | Description |
|---|---|
@gridland/web |
Core canvas renderer and React integration |
@gridland/utils |
Portable hooks (useKeyboard, useTerminalDimensions) |
@gridland/bun |
Bun-native runtime for CLI apps |
@gridland/ui |
Pre-built UI components via shadcn registry |
@gridland/testing |
Test utilities for TUI components |
@gridland/demo |
Interactive demo runner |
@gridland/container |
Docker sandbox runner |
Documentation
Full docs at gridland.io/docs
Made with ❤️ by Chris Roth and Jessica Cheng
探索相关项目
加载中…