https://github.com/supernovae-st/novanet
๐ชฝ NovaNet โ Native content generation engine powered by Neo4j knowledge graphs (Turborepo monorepo)
https://github.com/supernovae-st/novanet
ai content-generation knowledge-graph localization mcp neo4j nextjs ratatui rust tui turborepo typescript
Last synced: 3 months ago
JSON representation
๐ชฝ NovaNet โ Native content generation engine powered by Neo4j knowledge graphs (Turborepo monorepo)
- Host: GitHub
- URL: https://github.com/supernovae-st/novanet
- Owner: supernovae-st
- License: other
- Created: 2026-01-26T15:04:26.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2026-03-30T17:04:22.000Z (3 months ago)
- Last Synced: 2026-03-30T19:07:36.015Z (3 months ago)
- Topics: ai, content-generation, knowledge-graph, localization, mcp, neo4j, nextjs, ratatui, rust, tui, turborepo, typescript
- Language: Cypher
- Homepage: https://qrcode-ai.com
- Size: 1.21 GB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG-LATEST.md
- License: LICENSE
- Roadmap: ROADMAP.md
Awesome Lists containing this project
README
# ๐ชฝ NovaNet
**Native content generation engine powered by Neo4j knowledge graphs**
> **Status: Active Development** โ NovaNet is the knowledge layer of the [SuperNovae](https://github.com/supernovae-st) ecosystem. Currently in stabilization while [Nika](https://github.com/supernovae-st/nika) (the runtime) prepares for its open source launch. v0.21.0 stable, 2,215 tests passing.
Generate culturally-native content across 200+ locales โ not translation, but true localization from semantic concepts.
[](https://github.com/supernovae-st/novanet/actions)
[](https://github.com/supernovae-st/novanet)
[](https://rust-lang.org)
[](https://typescriptlang.org)
[](https://neo4j.com)
[](https://turbo.build)
[](https://pnpm.io)
[](https://nodejs.org)
---
> **Generation, NOT Translation**
>
> ```
> Source โ Translate โ Target โ Traditional
> Entity (defined) โ Generate natively โ EntityNative โ
NovaNet
> ```
>
> Content is generated natively per locale from defined semantic entities, not translated from a source language.
> Each locale gets culturally-native content, preserving local nuances that translation would lose.
---
## Features
| | | | |
|:---:|:---:|:---:|:---:|
| **Knowledge Graph** | **200+ Locales** | **Graph Studio** | **AI-Powered** |
| 47 node types, 153 arcs | Native generation per locale | Interactive 2D visualization | Claude API for natural language queries |
| Neo4j with APOC | Locale knowledge layer | React Flow + ELK.js layouts | Cypher generation from text |
---
## Architecture
```mermaid
%%{init: {'theme': 'base', 'themeVariables': {
'primaryColor': '#6366f1',
'primaryTextColor': '#fff',
'primaryBorderColor': '#4f46e5',
'lineColor': '#94a3b8',
'secondaryColor': '#06b6d4',
'tertiaryColor': '#f8fafc'
}}}%%
flowchart TB
subgraph MONO["NovaNet Monorepo"]
direction TB
CORE["@novanet/core v0.24.0\nTypes ยท Schemas ยท Filters"]
DB["@novanet/db v0.24.0\nDocker ยท Seeds ยท Migrations"]
STUDIO["@novanet/studio v0.24.0\nNext.js 16 ยท React 19"]
RUST["novanet CLI v0.24.0\nRust ยท 30 commands ยท TUI"]
end
CORE --> STUDIO
RUST -.->|reads YAML| CORE
RUST -.->|generates| DB
NEO4J[("Neo4j 5.26\n~120,000 nodes")]
DB -.-> NEO4J
STUDIO --> NEO4J
RUST --> NEO4J
style CORE fill:#06b6d4,stroke:#0891b2,color:#fff
style DB fill:#10b981,stroke:#059669,color:#fff
style STUDIO fill:#8b5cf6,stroke:#7c3aed,color:#fff
style RUST fill:#DEA584,stroke:#B7410E,color:#fff
style NEO4J fill:#018bff,stroke:#0284c7,color:#fff
```
---
## Quick Start
**Prerequisites**



```bash
# 1. Clone the repository
git clone git@github.com:supernovae-st/supernovae-agi.git
cd supernovae-agi/novanet
# 2. Install dependencies
pnpm install
# 3. Start Neo4j
pnpm infra:up
# 4. Seed the database
pnpm infra:seed
# 5. Start development server
pnpm dev
```
Open [http://localhost:3000](http://localhost:3000) โ Neo4j Browser at [http://localhost:7474](http://localhost:7474)
---
## Monorepo Structure
```
novanet/
โโโ turbo.json # Turborepo pipeline config
โโโ pnpm-workspace.yaml # Workspace definitions
โโโ packages/
โ โโโ core/ # @novanet/core โ types, schemas, filters
โ โ โโโ models/ # YAML schema definitions (source of truth)
โ โ โ โโโ taxonomy.yaml # 2 realms (shared 4 + org 5), 9 layers
โ โ โ โโโ node-classes/ # node definitions by realm/layer
โ โ โ โโโ arc-classes/ # arc definitions by family
โ โ โโโ data/ # YAML data files (1,269 โ single source of truth)
โ โ โโโ src/ # TypeScript implementation
โ โโโ db/ # @novanet/db โ Neo4j infrastructure
โ โโโ docker-compose.yml # Neo4j 5.26 + APOC
โ โโโ seed/ # Cypher seed scripts
โ โโโ seed.sh # Seed runner
โโโ tools/
โ โโโ novanet/ # Rust CLI + TUI binary
โ โ โโโ src/ # Rust source (30 commands, 19 generators)
โ โ โโโ Cargo.toml # 2,215 tests passing, zero clippy warnings
โ โโโ novanet-mcp/ # MCP Server (7 tools)
โโโ apps/
โโโ studio/ # @novanet/studio โ web visualization
โโโ src/app/ # Next.js App Router
โโโ src/components/ # React components
โโโ src/stores/ # Zustand state management
โโโ src/lib/ # Utilities
```
---
## Packages
| Package | Version | Description |
|---------|---------|-------------|
| **@novanet/core** | `0.24.0` | Types, Zod schemas, NovaNetFilter API, Cypher generators |
| **@novanet/db** | `0.24.0` | Docker Compose for Neo4j, Cypher seeds, migrations |
| **@novanet/studio** | `0.24.0` | Interactive graph visualization with AI chat |
| **tools/novanet** | `0.24.0` | Rust CLI + TUI for schema generation, validation, queries |
| **tools/novanet-mcp** | `0.24.0` | MCP Server for AI agent integration (7 tools) |
---
## Commands
### Development
| Command | Description |
|---------|-------------|
| `pnpm dev` | Start Studio dev server |
| `pnpm build` | Build all packages |
| `pnpm lint` | Lint all packages |
| `pnpm type-check` | TypeScript type checking |
| `pnpm test` | Run all tests |
### Infrastructure
| Command | Description |
|---------|-------------|
| `pnpm infra:up` | Start Neo4j container |
| `pnpm infra:down` | Stop Neo4j container |
| `pnpm infra:seed` | Seed database with initial data |
| `pnpm infra:reset` | Reset database (down + up + seed) |
### Rust CLI (tools/novanet)
```bash
# Schema operations (YAML โ Cypher/TS/Mermaid)
cargo run -- schema generate # Regenerate all artifacts
cargo run -- schema validate # Validate YAML coherence
# Navigation
cargo run -- blueprint # Schema-graph visualization
cargo run -- doctor # System health check
# Seed pipeline (YAML-first data management)
cargo run -- seed export # Parse Cypher seeds โ YAML data files
cargo run -- seed generate-data # Generate Cypher from YAML data
cargo run -- seed validate # Validate YAML data files (CI gate)
cargo run -- seed diff # Compare YAML data with Neo4j
cargo run -- seed scaffold # Scaffold pages, blocks, instructions for entities
# Data management
cargo run -- data backup # Save Neo4j data to YAML
cargo run -- data status # Compare backup vs live
cargo run -- data promote # Promote runtime nodes to seed
cargo run -- data pull # Pull Neo4j native content to YAML data
# Interactive TUI
cargo run -- tui # Galaxy-themed terminal UI
```
### Turborepo Filters
```bash
pnpm build --filter=@novanet/core # Build only core
pnpm test --filter=@novanet/studio # Test only studio
pnpm build --filter=...[HEAD^1] # Build changed packages
```
---
## Neo4j Access
```
Browser: http://localhost:7474
Bolt: bolt://localhost:7687
User: neo4j
Password: (see NEO4J_PASSWORD env var)
```
---
## Graph Schema
NovaNet models content as a knowledge graph with **2 Realms** and **9 Layers** (v0.24.0):
| Realm | Layers | Description |
|-------|--------|-------------|
| **Shared** | config, locale, geography, knowledge | Universal definitions + locale knowledge (READ-ONLY) โ 33 nodes |
| **Org** | foundation, structure, semantic, instruction, output | Organization-specific content โ 14 nodes |
Arcs are classified by **6 ArcFamilies**: ownership, localization, semantic, generation, mining, schema.
See [`packages/core/models/taxonomy.yaml`](packages/core/models/taxonomy.yaml) for complete schema.
---
## TUI (Terminal UI)
**NovaNet TUI** is an interactive terminal explorer for the knowledge graph:
```
โญโ โ Data โ Org โ Foundation โ Entity (12) โโโโโโโโโโโโโโโโโโโฎโญโ Identity โโโโโโโฎ
โ โถ Node Classes (47) โโโ โ โ Entity โ
โ โโโถ โ Shared (33) โ โ โ realm: org โ
โ โ โโโถ โ config (2) โโโ โ layer: found. โ
โ โ โโโถ ๐ locale (3) โ โ โ โ
โ โ โโโถ ๐บ geography (7) โโโ โ โฐโฐโฐโฐโฐโฐโฐโฐโฑโฑ 80%โ
โ โ โโโถ ๐ง knowledge (21) โ โ โฐโโโโโโโโโโโโโโโโโโฏ
โ โโโถ โ Org (14) โโโ โญโ Properties โโโโโฎ
โ โโโถ ๐ foundation (6) โ โ โ key qr-code โ
โ โ โโ Entity (12) โ โ โ name QR Code โ
โ โ โ > qr-code ยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยท โฐโฐโฐโฐโฐโฐโฐโฐโฑโฑ โ โ โ desc Quick... โ
โ โ โ barcode ยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยท โฐโฐโฐโฐโฐโฐโฑโฑโฑโฑ โ โ โ slug qr-code โ
โ โ โ nfc-tag ยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยท โฐโฐโฐโฑโฑโฑโฑโฑโฑโฑ โ โ โฐโโโโโโโโโโโโโโโโโโฏ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏโฐโฏ
```
*Galaxy-themed terminal UI with 40+ keybindings, fuzzy search, and live Neo4j data*
- **Viewport culling** โ Only renders visible lines (O(1) per frame)
- **5 render caches** โ Zero-allocation idle frames
- **Fuzzy search** โ nucleo-powered smart-case matching
- **Panel zoom** โ `z` maximizes any panel to full screen
- **YAML preview** โ Syntax-highlighted schema definitions
- **Atom tree** โ Browse knowledge atoms (Expression, Pattern, CultureRef) per class
- **Keyword tree** โ SEOKeyword locale/intent grouping with load-more
---
## MCP Server (AI Agent Integration)
**7 tools** for AI agents to interact with the knowledge graph via [Model Context Protocol](https://modelcontextprotocol.io):
| Tool | Purpose |
|------|---------|
| `novanet_describe` | Bootstrap โ first contact with graph |
| `novanet_search` | Find nodes + graph walk (4 modes) |
| `novanet_introspect` | Schema info (classes, arcs) |
| `novanet_context` | LLM context assembly (page/block/knowledge) |
| `novanet_write` | Mutations (dry_run=true to validate first) |
| `novanet_audit` | Quality checks + CSR metrics |
| `novanet_batch` | Parallel operations |
---
## Studio Features
**NovaNet Studio** is a web-based graph visualization tool:
```
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ NovaNet Studio โK โJ ? N F โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โโ Filters โโโโโโโ โโ Graph View โโโโโโโโโโโโโโโโโโโโโโ โโ Details โโโโโ โ
โ โ Realm โ โ โ โ Page โ โ
โ โ โ Shared โ โ [Locale]โโโ โ โ key: home โ โ
โ โ โ Org โ โ โ โผ โ โ realm: org โ โ
โ โ โ โ [Project]โโ[Page]โโ[Block] โ โ layer: struc โ โ
โ โ โ โ โ โ โ โ โ โ
โ โ Layer โ โ โผ โผ โ โ Relations: โ โ
โ โ โ Foundation โ โ [Entity]โโ[EntityNative] โ โ โ 3 blocks โ โ
โ โ โ Structure โ โ โ โ โ โ 1 project โ โ
โ โ โ Semantic โ โ โผ โ โ โ โ
โ โ ... โ โ [BlockNative] โ โ [Copy JSON] โ โ
โ โโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Mode: Graph โ 47 nodes โ 153 arcs โ Zoom: 100% โ Locale: fr-FR โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
```
*Interactive 2D graph visualization with AI-powered queries (โJ)*
- **Graph Mode** โ Unified tree exploration with `[1]` key
- **9 Filter Presets** โ Quick views via `1-8, 0` keys
- **AI Chat** โ Natural language to Cypher with `โJ`
- **40+ Keyboard Shortcuts** โ Full keyboard navigation
- **DX-First** โ Every property is copyable (JSON/TS/YAML)
---
## Tech Stack
**Runtime**




**Data**



**Tools**



---
## Environment Variables
Copy `.env.example` to `.env.local` in `apps/studio/`:
```bash
# Required
NEO4J_PASSWORD=novanetpassword
# Optional (for AI features)
ANTHROPIC_API_KEY=sk-ant-xxx
```
---
## Target Application
NovaNet powers **[QR Code AI](https://qrcode-ai.com)** โ generating native content across 200+ locales for the world's most advanced QR code platform.
---
## License
This project is **proprietary software** owned by [SuperNovae Studio](https://github.com/supernovae-st). All rights reserved.
---
**[SuperNovae Studio](https://github.com/supernovae-st)**