@christianirack/create-brainllm 0.1.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -5
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -14,14 +14,27 @@ Runs the same pinned BRAINLLM compiler and installs the generated app dependenci
|
|
|
14
14
|
|
|
15
15
|
# BRAINLLM
|
|
16
16
|
|
|
17
|
-
### The web compiler for LLMs.
|
|
17
|
+
### 🦀 The web compiler for LLMs, built in Rust. Blazing fast.
|
|
18
18
|
|
|
19
19
|
**Your LLM owns the frontend. Give it a language built for the job.**
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
> **Written in Rust, from parser to minifier.** One native binary, no toolchain to install. Warm production builds
|
|
22
|
+
> in **~34 ms**, about **4.5× faster than React + Vite** on [our open benchmark](#show-me-the-numbers).
|
|
22
23
|
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
<p align="center">
|
|
25
|
+
<img src="https://img.shields.io/badge/built%20with-Rust-dea584?logo=rust&logoColor=white" alt="Built with Rust">
|
|
26
|
+
<a href="https://chrisifm.github.io/BRAINLLM/"><img src="https://img.shields.io/badge/website-chrisifm.github.io%2FBRAINLLM-0071e3" alt="Website"></a>
|
|
27
|
+
<a href="https://www.npmjs.com/package/@christianirack/brainllm"><img src="https://img.shields.io/npm/v/@christianirack/brainllm?color=cb3837" alt="npm version"></a>
|
|
28
|
+
<a href="https://github.com/chrisifm/BRAINLLM/blob/main/LICENSE"><img src="https://img.shields.io/github/license/chrisifm/BRAINLLM" alt="License"></a>
|
|
29
|
+
</p>
|
|
30
|
+
|
|
31
|
+
<p align="center"><a href="https://chrisifm.github.io/BRAINLLM/"><img src="https://raw.githubusercontent.com/chrisifm/BRAINLLM/main/docs/site/assets/cover.png" alt="BRAINLLM — The web compiler for LLMs. Open the website: chrisifm.github.io/BRAINLLM"></a></p>
|
|
32
|
+
|
|
33
|
+
<p align="center"><b>🌐 <a href="https://chrisifm.github.io/BRAINLLM/">chrisifm.github.io/BRAINLLM</a></b></p>
|
|
34
|
+
|
|
35
|
+
BRAINLLM gives coding agents a compact language, a single specification and a native compiler written in Rust that
|
|
36
|
+
tells them how to fix mistakes. The model builds the frontend. You set the direction, inspect the result and decide
|
|
37
|
+
what ships.
|
|
25
38
|
|
|
26
39
|
`.brain` components compile to direct-DOM JavaScript and scoped CSS. The Rust toolchain handles parsing, checking,
|
|
27
40
|
code generation, bundling and minification. The agent can operate it through the CLI or MCP.
|
|
@@ -56,6 +69,7 @@ agent has to reconstruct while preserving code that a developer can read and rev
|
|
|
56
69
|
| Capability | What it does for the app-building loop |
|
|
57
70
|
|---|---|
|
|
58
71
|
| A served language contract | `brain spec` gives the model the implemented syntax and conventions |
|
|
72
|
+
| Task playbooks | `brain guide <topic>` (also MCP `brain_guide`): steps, checks, common mistakes and an example per task (views, data, forms, server, SEO, accessibility, WebMCP, tests, i18n, performance) |
|
|
59
73
|
| Components and reactive state | `.brain` files combine markup, BrainScript and scoped styles; `sig`, `drv` and `fx` express updates |
|
|
60
74
|
| Forms and data | Form validation, HTTP resources and server contracts give common app behavior a documented path |
|
|
61
75
|
| Routes and layouts | Views, layouts, loaders and guards put navigation and access checks into the project structure |
|
|
@@ -357,7 +371,7 @@ Never include app secrets, private source or customer data in a contribution.
|
|
|
357
371
|
|
|
358
372
|
## Know what you are adopting
|
|
359
373
|
|
|
360
|
-
BRAINLLM is **0.1.
|
|
374
|
+
BRAINLLM is **0.3.1** (see [CHANGELOG.md](https://github.com/chrisifm/BRAINLLM/blob/main/CHANGELOG.md)). Start with a small app or an isolated route and test the behavior you need. Features marked
|
|
361
375
|
as planned in the source specification are not a supported promise; `brain spec` serves the implemented contract.
|
|
362
376
|
Third-party React, Angular and Vue components do not become BRAINLLM components automatically. Benchmark wins in
|
|
363
377
|
build time do not imply that every runtime workload is faster.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@christianirack/create-brainllm",
|
|
3
|
-
"version": "0.1
|
|
4
|
-
"description": "npm create @christianirack/brainllm <app>: a new BRAINLLM app with its brain version pinned.",
|
|
3
|
+
"version": "0.3.1",
|
|
4
|
+
"description": "npm create @christianirack/brainllm <app>: a new BRAINLLM app (the Rust-built web compiler for LLMs) with its brain version pinned.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"create-brainllm": "bin/create.js"
|
|
7
7
|
},
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"node": ">=22"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@christianirack/brainllm": "0.1
|
|
16
|
+
"@christianirack/brainllm": "0.3.1"
|
|
17
17
|
},
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"author": "Christian Irack Flores Maldonado <christian@irack.mx> (https://ingenieria.dev)",
|