v0.1.0 โ€” First Molt โšก Compiled from .nyx source

NyxCode

The AI-native programming language for the web.
Designed for AI. Optimized for tokens. Built for humans.

68%
fewer lines vs React
0
boilerplate
121
lines for this entire page

Same output. Fewer tokens.

React20 lines
import React, { useState, useEffect } from 'react';

export default function UserList() {
  const [users, setUsers] = useState([]);
  useEffect(() => {
    fetch('/api/users')
      .then(r => r.json())
      .then(setUsers);
  }, []);
  return (
    <div className="container">
      {users.map(u => (
        <div key={u.id}>
          <h3>{u.name}</h3>
          <p>{u.email}</p>
        </div>
      ))}
    </div>
  );
}
NyxCode4 lines
page /users {
  data users = get /api/users
  each users -> card { h3 .name, p .email }
}

Real Numbers

Measured on this landing page โ€” same output, three implementations.

LinesBytesFilesSavings
NyxCode1213,6761โ€”
HTML/CSS12911,2281-68% bytes
React (TSX+CSS)3728,8422+-68% lines

What makes NyxCode different

๐Ÿง  AI-First Design

Every syntax decision optimizes for AI code generation. Fewer tokens = cheaper, faster, more fits in context.

๐Ÿ”’ Secure by Default

SQL injection, XSS, CSRF โ€” structurally impossible. You can't write insecure NyxCode without explicitly opting in.

๐ŸŽฏ Zero Config

No imports, no router config, no webpack. File location = route. One file = one thing.

๐ŸŒ Compiles to Standards

Output is vanilla HTML + CSS + JS. Works everywhere. No runtime, no framework lock-in.

Try it now

git clone --branch v0.1.0 https://github.com/fabudde/nyxcode.git
GitHub Language Spec โฌ‡ Download Starter View .nyx Source