MCPcopy Index your code
hub / github.com/nuejs/nue

github.com/nuejs/nue @v2.0.0-beta sqlite

repository ↗ · DeepWiki ↗ · release v2.0.0-beta ↗
479 symbols 1,278 edges 113 files 3 documented · 1%
README

The UNIX of the Web

Web development became complicated. Hundreds of packages, 400MB of dependencies, hours of configuration before writing a single line of code. We forgot that it doesn't have to be this way.

How web development should work

Instant start - Create index.html or index.md and you're running. No setup, no configuration, no waiting.

Single-page apps - Write semantic HTML with dynamic expressions. Import business logic from pure JavaScript modules. Let your design system handle presentation.

Content sites - Front pages, documentation, blogs, marketing pages. Write Nuemark content, add layout modules for structure, trust your design system for consistency.

Universal hot reload - Content, CSS, layouts, data, components, server routes, configurations. Save and watch the browser update instantly.

Complete system - Content sites, SPAs, server routes, backend models.

One tool, complete control. The UNIX philosophy applied to web development.

Nue is the entire ecosystem in 1MB

Visit Nue website for comprehensive documentation.

Migration from React/Next.js

Less scaffolding - From 500MB+ of node_modules to 1MB global install. From complex project setups to just index.html to get started.

Pure separation - Business logic in JS modules. Structure in HTML. Design in CSS. No more mixed concerns in components.

Faster everything - Builds in milliseconds. Hot reload across frontend and backend. Pages 10x smaller.

See the migration guide for the complete story.

Core symbols most depended-on inside this repo

elem
called by 68
packages/nuemark/src/render-blocks.js
renderNue
called by 64
packages/nuedom/src/dom/render.js
renderLines
called by 42
packages/nuemark/src/render-blocks.js
renderInline
called by 42
packages/nuemark/src/render-tag.js
addContext
called by 30
packages/nuedom/src/compiler/context.js
domdiff
called by 24
packages/nuedom/src/dom/diff.js
tokenize
called by 24
packages/nuedom/src/compiler/tokenizer.js
parseBlocks
called by 24
packages/nuemark/src/parse-blocks.js

Shape

Function 476
Class 2
Method 1

Languages

TypeScript100%

Modules by API surface

packages/nuemark/src/render-tag.js29 symbols
packages/nuedom/src/dom/fakedom.js29 symbols
packages/nuestate/src/state.js25 symbols
packages/nuekit/client/transitions.js22 symbols
packages/nuedom/src/dom/node.js20 symbols
packages/nuekit/client/hmr.js15 symbols
packages/nuekit/src/server/model.js14 symbols
packages/nuekit/src/asset.js13 symbols
packages/www/@shared/lib/console/console.js12 symbols
packages/nuekit/src/render/page.js12 symbols
packages/nueglow/index.js12 symbols
packages/nuekit/src/render/svg.js11 symbols

Dependencies from manifests, versioned

nue-glow0.2.0 · 1×
nuedom0.1.0 · 1×
nuemark0.7.0 · 1×
nueserver0.1.0 · 1×
nueyaml0.1.0 · 1×

Datastores touched

myappDatabase · 1 repos

For agents

$ claude mcp add nue \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact