🛠️
Tool

loom

by husu husu/loom
Free2AITools Nexus Index
61.4
S: Semantic 50

Query-time baseline · scored live at search

A: Authority 58
P: Popularity 52
R: Recency 97
Q: Quality 70
Tech Context
Vital Performance
- Lang
940 Stars
Alpha Reliability
Tool Information Summary
Entity Passport
Registry ID husu/loom
Provider github
📜

Cite this tool

Academic & Research Attribution

BibTeX
@misc{gh_tool_husu_loom,
  author = {husu},
  title = {loom Tool},
  year = {2026},
  howpublished = {\url{https://github.com/husu/loom}},
  note = {Accessed via Free2AITools.}
}
APA Style
husu. (2026). loom [Tool]. Free2AITools. https://github.com/husu/loom

🔬Technical Deep Dive

Full Specifications [+]

Quick Commands

🐙 GitHub Clone
git clone https://github.com/husu/loom
🐙 Git Clone
git clone https://github.com/husu/loom

⚖️ Free2AITools Nexus Index V2.0

Semantic (S) 50

Query-time baseline · scored live at search

Authority (A) 58
Popularity (P) 52
Recency (R) 97
Quality (Q) 70

💬 Index Insight

FNI V2.0 for loom: Authority (A:58), Popularity (P:52), Recency (R:97), Quality (Q:70). Semantic (S) is a query-time baseline scored live at search.

Free2AITools Nexus Index

Data Sources / Provenance

Open data Updated: Live data

📋 Specs

Language
License
Version
CODE

🔌 Usage & Integration

Quick Start

npm install -g @vegamo/loom
# 或
yarn global add @vegamo/loom

Technical Documentation

Loom

简体中文 | English

基于 AI 的 JSON Schema 文档生成器,集成 TUI 交互、Web 浏览器与 Mock 服务

Node.js TypeScript

✨ 特性

  • 🤖 AI 驱动的 Schema 生成 —— 通过 TUI 聊天界面与大模型(DeepSeek、OpenAI)对话生成和更新 JSON Schema API 文档
  • 🧩 实体(Entity)建模 —— 在 docs/entities 中维护可复用的实体 Schema,通过 x-entity-ref 在接口 Schema 中引用
  • 📚 现代 Web 浏览器 —— 基于 React 的 SPA,用于浏览模块、接口和实体,支持交互式 Schema 渲染
  • ⚡ Mock 服务 —— 基于 JSON Schema 动态生成贴近真实的 Mock 数据
  • 🖥️ TUI 内服务控制 —— 直接在 TUI 中启动/停止/重启 Mock 与 Web Viewer(/mock/view
  • 🗂️ Manifest 索引 —— 内置 loom manifest rebuild 命令重建依赖/索引一致性
  • ⬆️ 自动升级提示 —— 启动时检查 npm 上的新版本,确认后可自动升级
  • 🔧 TypeScript 优先 —— 完整类型定义,现代化的 TypeScript 架构

📦 安装

环境要求

  • Node.js ≥ 18.0.0
  • npm 或 yarn
  • DeepSeek API Key(必需)

全局安装

bash
npm install -g @vegamo/loom
# 或
yarn global add @vegamo/loom

⚙️ 配置

配置文件

默认全局配置路径:

  • macOS/Linux: ~/.loom/config.json
  • Windows: %APPDATA%/loom/config.json

首次运行 loom chat 时,会以交互向导的形式引导你创建/更新该全局配置文件。

聊天首次引导的默认值:

  • providerdeepseek
  • modeldeepseek-chat
  • baseURLhttps://api.deepseek.com/v1
  • apiKey:必填,需由用户输入

你也可以手动创建全局配置:

json
{
  "outDir": "docs",
  "llm": {
    "provider": "deepseek",
    "model": "deepseek-chat",
    "baseURL": "https://api.deepseek.com/v1",
    "apiKey": "your_deepseek_api_key",
    "temperature": 0.7,
    "maxTokens": 2000
  },
  "serve": {
    "port": 3000,
    "host": "0.0.0.0"
  },
  "mock": {
    "port": 3001,
    "host": "0.0.0.0"
  }
}

docs/ 目录仍保留在各项目目录中(通过 --dir 指定),不会被移动到全局存储。

🚀 快速开始

1. 生成 API 文档

bash
# 启动交互式 TUI 来生成 JSON Schema
loom chat

# 或指定项目目录
loom chat --dir ./my-api-project

loom chat 中,你也可以控制本地服务:

  • /mock/mock stop/mock restart [port]
  • /view/view stop/view restart [port]

2. 浏览文档

bash
# 启动 Web 文档浏览器
loom view

# 或指定端口
loom view --port 8080

Social Proof

GitHub Repository
940Stars
33Forks
🔄 Updated daily

Source summary: Based on GitHub metadata. Not a recommendation.

📊 FNI Methodology 📚 Knowledge Baseℹ️ Verify with original source

🛡️ Tool Transparency Report

Technical metadata sourced from upstream repositories.

Open Metadata

🆔 Identity & Source

id
gh-tool--husu--loom
slug
husu--loom
source
github
author
husu
license
tags
ai-agent, sdd

⚙️ Technical Specs

architecture
null
params billions
null
context length
null
pipeline tag
other

📊 Engagement & Metrics

downloads
0
stars
940
forks
33
github stars
940

Data indexed from public sources. Updated daily.