@cordlang/runix
v0.0.1-alpha.0
Published
Web framework on Cordlang — SEO, runtime, and deploy. Cordlang is the language; Runix is the product.
Maintainers
Readme
Runix
Framework web de producto sobre Cordlang.
Escribes .cord. Cordlang es el lenguaje (sintaxis 1.0, IR, check, preview). Runix es el framework: SEO, HTML por ruta, runtime de producción y deploy. No es un --backend del CLI de Cordlang.
npx @cordlang/runix init → .cord
│
cordlang check / IR
│
▼
Runix
SEO · SSG/SSR · runtime · deploy| Hoy (Fase 1, este paquete) | Destino (Fases 2–7) |
|----------------------------|---------------------|
| npx @cordlang/runix init / dev / check / build | HTML real por ruta, <head> de producto, datos de servidor, deploy |
| Preview = cordlang run | Runtime propio sobre el IR, no un wrap de Next/Kit |
Install (npm)
npm i -g @cordlang/runix@alpha
# or, no install:
npx @cordlang/runix@alpha init mi-sitio
cd mi-sitio
npx @cordlang/runix check
npx @cordlang/runix devRequisito: el CLI de Cordlang en PATH, o RUNIX_CORDLANG apuntando al exe, o un clone hermano ../cordlang. Runix no reparsea .cord.
runix doctor # encuentra cordlang + este paquete
runix init mi-sitio
runix init land --template landing
runix check
runix fmt
runix analyze
runix dev # preview del lenguaje
runix build # export ESM → dist/runixEl source de la app es Cordlang 1.0. No inventes JSX, onClick, className ni file-routing tipo Next dentro de .cord.
Paquete npm vs binario nativo
| Artefacto | Rol |
|-----------|-----|
| @cordlang/runix en npm | Superficie de producto (npx @cordlang/runix). Este es el paquete que se publica. |
| runix.exe (C) | Mismo contrato Fase 1, para quien compile este repo. Opcional. |
La API pública Node:
import { runCli, findCordlang, RUNIX_VERSION } from "@cordlang/runix";Schema: schema/runix.schema.json.
Split (no negociable)
| | Cordlang | Runix |
|---|----------|--------|
| Qué | Lenguaje + compilador + IR + preview | Framework web opinado |
| Repo | cordlang/cordlang | este (@cordlang/runix en npm) |
| Owns | .cord, check, emit Official | SEO, SSG/SSR, runtime, hosting |
| No es | Next / Vite / el framework | un cordlang --backend runix |
Docs
| Doc | Qué | |-----|-----| | docs/VISION.md | Por qué existe Runix | | docs/ROADMAP.md | Fases 1–8 | | docs/NPM.md | Publicar en npmjs | | docs/CONVENTIONS.md | Forma de un proyecto | | docs/ALLOWED_APIS.md | Superficie real (sin inventar) | | docs/CLI.md | Comandos | | docs/ARCHITECTURE.md | C hexagonal + paquete npm |
Build nativo (opcional)
build.batmakenpm test
powershell -ExecutionPolicy Bypass -File tests\run_tests.ps1License
Cordlang Attribution License 1.0. Los productos públicos deben acreditar "Built with Cordlang".
