惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
F
Fortinet All Blogs
云风的 BLOG
云风的 BLOG
MyScale Blog
MyScale Blog
D
DataBreaches.Net
Stack Overflow Blog
Stack Overflow Blog
A
About on SuperTechFans
Google DeepMind News
Google DeepMind News
Microsoft Security Blog
Microsoft Security Blog
腾讯CDC
The GitHub Blog
The GitHub Blog
Jina AI
Jina AI
B
Blog RSS Feed
I
InfoQ
N
Netflix TechBlog - Medium
T
The Blog of Author Tim Ferriss
Microsoft Azure Blog
Microsoft Azure Blog
Recent Announcements
Recent Announcements
GbyAI
GbyAI
H
Help Net Security
L
LangChain Blog
M
MIT News - Artificial intelligence
Y
Y Combinator Blog
aimingoo的专栏
aimingoo的专栏

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - treenix-io/treenix: Treenix is the typed runtime...
treenix_io · 2026-06-15 · via Hacker News: Show HN

Treenix - Fullstack AI-ready Platform

Treenix 3.0.12 Node.js 22 or newer Discord chat

Fullstack Platform.
ECS-style tree of typed components with context-aware rendering.

Early Beta. Bugs are expected — please report them so we can fix and stabilize. Open an issue on GitHub or ping us on Discord.

Docs: Introduction · Composition · Components · Quickstart & Setup · Tutorial · Thinking in Treenix · React Views · API

Write a class. Attach it to a node. Treenix turns it into stored data, editable forms, rendered views, server actions, MCP tools, access rules, realtime updates, and audit events.

Treenix is for building applications as a shared tree of composable nodes. Humans use the app and admin interface. Agents use the same tree through typed actions. Your business logic stays in one place instead of being copied across schema, API, UI, permissions, and agent tools.

Three Primitives

Node      = { $path, $type, ...components }
Component = { $type, ...data }
Context   = (Type, context) => handler

In ECS terms, a Node is the entity, a Component is a typed aspect attached to that entity, and Contexts provide the systems around it: React views, actions, services, validation, ACL, text rendering, and agent tools.

Treenix borrows ECS composition without forcing everything into a global game loop. A service can behave like a scoped system over a subtree, a React context can render the same component as a card or editor, and an action can mutate the same node through the validated server pipeline.

Create an App

npm create treenix my-app
cd my-app
npm run dev

Open http://localhost:3210.

Core Idea

One class defines a component's data and actions:

// mods/todo/types.ts
import { getCtx, registerType } from '@treenx/core/comp';

export class TodoItem {
  title = '';
  done = false;
  priority: 'low' | 'normal' | 'high' = 'normal';

  toggle() {
    this.done = !this.done;
  }

  remove() {
    const { node, tree } = getCtx();
    tree.remove(node.$path);
  }
}

registerType('todo.item', TodoItem);

Register a React view for the same type:

// mods/todo/view.tsx
import { useActions, view } from '@treenx/react';
import { TodoItem } from './types';

view(TodoItem, ({ value }) => {
  const { toggle, remove } = useActions(value);

  return (
    <div>
      <button onClick={() => toggle()}>
        {value.done ? 'Done' : 'Open'}
      </button>
      <span>{value.title}</span>
      <button onClick={() => remove()}>Remove</button>
    </div>
  );
});

The type and the view work on the same node. The view reads typed data from value and calls typed server actions through useActions(value).

ECS Composition

Model by attaching capabilities to nodes instead of building inheritance trees or join tables. A task can also be a discussion thread, an AI assignment, a calendar item, and a billing unit because those are separate components on the same addressable entity:

{
  $path: '/work/q2-launch',
  $type: 'todo.task',

  // Main component fields live at node level because $type === 'todo.task'.
  title: 'Ship Q2 launch',
  done: false,
  priority: 'high',

  // Additional components attach under named keys.
  thread: {
    $type: 'forum.thread',
    messages: [],
  },
  ai: {
    $type: 'metatron.assignment',
    agent: '/agents/release-manager',
  },
  schedule: {
    $type: 'calendar.entry',
    dueDate: '2026-05-15',
  },
}

Each component has its own type, schema, actions, views, and permissions. The node gives them shared identity (/work/q2-launch), shared realtime updates, shared audit history, and shared tree placement.

This is the main modeling rule:

  • If two pieces of data describe one thing and share lifecycle, put them on one

    node as components.

  • If they can live or be deleted independently, make them separate nodes and

    connect them with refs or child paths.

  • Add a capability by adding a component. Do not create a subclass just to say

    "task with chat" or "order with AI".

The node itself is its main component. getComponent(node, TodoItem) returns the node when node.$type === 'todo.task'; named keys are for additional components with their own $type.

Runtime Model

Treenix keeps the same object moving through one pipeline:

Layer What happens
Type A class defines fields, validation metadata, and actions for a component.
Component Typed aspects attach to nodes by key and can render or react independently.
Node Data lives at a path in the tree, such as /todos/ship-readme, with one main component and any number of extras.
Context React views, text renderers, services, ACL, schema, and action handlers resolve by (Type, context).
Action Class methods execute as server-side mutations from UI, services, workflows, or MCP clients.
Security ACL and validation run on reads, writes, subscriptions, and action calls.
Realtime Mutations stream patches to subscribed views and child queries.
Audit The runtime can record who changed what, when, and through which path.

Modules

Modules are Types + Views + Services packaged together. A module may define a workflow, a document editor, an MCP adapter, a board, or a domain-specific app.

Current module areas:

Area Examples
Ops Flow, Board, Brahman, Jitsi
Content Mindmap, Blocks, Doc, Table
AI Tagger, Agent, Whisper, Memory
Infra Row-layout, Backup, MCP, Query
Experimental Org, Grove, Resim

Next Steps

  • Quickstart & Setup — create a project and run it locally.
  • Tutorial — build a bookmark manager from a Type, actions, seed data, and views.
  • Create a Mod — package Types, Views, and Services into a reusable module.
  • React Views — register typed views and render children through contexts.

Community

  • GitHub: treenix/treenix-io
  • Discord: discord.gg/peX8CwHQPz
  • Telegram: t.me/treenix_io
  • X: x.com/treenix

License

FSL-1.1-MIT — Fair Source. Read, use, modify, and redistribute for non-competing purposes. Each version becomes MIT two years after release.