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

推荐订阅源

D
DataBreaches.Net
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
云风的 BLOG
云风的 BLOG
B
Blog
博客园 - Franky
I
InfoQ
A
About on SuperTechFans
博客园_首页
L
LangChain Blog
量子位
腾讯CDC
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
美团技术团队
V
V2EX
Apple Machine Learning Research
Apple Machine Learning Research
雷峰网
雷峰网
MongoDB | Blog
MongoDB | Blog
Microsoft Azure Blog
Microsoft Azure Blog
月光博客
月光博客
T
The Blog of Author Tim Ferriss
P
Proofpoint News Feed
G
Google Developers Blog
Last Week in AI
Last Week in AI

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 - darula-hpp/uigen: A runtime frontend for any Ope...
ombedzi · 2026-05-03 · via Hacker News: Show HN

Turn your API into an application. Automatically.

UIGen Demo

⚠️ Disclaimer: Project not ready for production yet, but we're fast approaching v1.


Getting Started

Quick Start

# 1. Initialize a new UIGen project
npx @uigen-dev/cli@latest init my-app

# 2. Navigate to your project
cd my-app

# 3. Start the development server
npx @uigen-dev/cli@latest serve openapi.yaml

Visit http://localhost:4400 to see your app.

What just happened?

  1. UIGen scaffolded a complete project with:
    • .uigen/config.yaml - Configuration file for annotations
    • .uigen/theme.css - Custom styling (Tailwind CSS v4)
    • .uigen/base-styles.css - Base styles
    • .agents/skills/ - AI agent skills for automation
    • openapi.yaml - Example API spec (if you didn't provide one)
  2. The serve command renders a complete UI from your OpenAPI spec at runtime
  3. When your API changes, the UI updates automatically - no regeneration, no code to maintain

Customize with AI Agents (Recommended)

UIGen includes AI agent skills that automate configuration. Use them with your favorite AI coding assistant (Cursor, Windsurf, Cline, etc.):

Auto-annotate your API (detects login, file uploads, relationships, etc.):

Ask your AI: "Use the auto-annotate skill to configure my OpenAPI spec"

Apply custom styling:

Ask your AI: "Use the applying-styles skill to create a modern dark theme"

The skills are located in .agents/skills/ and contain detailed instructions for AI agents. They eliminate manual configuration by intelligently analyzing your spec and generating the right annotations and styles.

Manual Configuration (Optional)

If you prefer manual control, use the visual config GUI:

npx @uigen-dev/cli@latest config openapi.yaml

In the Config GUI you can:

  • Define relationships between resources
  • Customize labels and visibility
  • Configure charts and file uploads
  • Edit theme CSS visually
  • All changes saved to .uigen/config.yaml

Try the Example App

Want to see UIGen in action with a real backend?

# Clone the repository
git clone https://github.com/darula-hpp/uigen
cd uigen/examples/apps/fastapi/meeting-minutes

# Setup backend (FastAPI + PostgreSQL)
docker compose up -d
docker compose exec app alembic upgrade head

# Initialize UIGen project
npx @uigen-dev/cli@latest init --spec openapi.yaml

# Start the UI
npx @uigen-dev/cli@latest serve openapi.yaml

Visit http://localhost:4400 to explore the meeting minutes application with full CRUD operations, authentication, file uploads, and relationships.


AI Agent Skills

UIGen includes powerful AI agent skills that automate configuration. When you run uigen init, these skills are copied to .agents/skills/ in your project.

Available Skills

1. Auto-Annotate (auto-annotate.md)

Automatically analyzes your OpenAPI spec and applies intelligent annotations:

  • Detects auth endpoints → Marks login, signup, password reset
  • Detects file uploads → Configures file types and size limits
  • Detects relationships → Links foreign keys to resources
  • Detects internal endpoints → Hides debug/health check endpoints
  • Detects chart opportunities → Adds visualizations for array data
  • Applies smart labels → Converts technical names to human-readable

Usage with AI assistant:

"Use the auto-annotate skill to configure my OpenAPI spec"

The AI will read your spec, detect patterns, and write annotations to .uigen/config.yaml.

2. Applying Styles (applying-styles-to-react-spa.md)

Generates custom CSS for your application:

  • Brand colors → Applies your color scheme
  • Dark mode → Full dark theme support
  • Component styling → Buttons, forms, tables, cards
  • Animations → Smooth transitions and effects
  • Responsive design → Mobile, tablet, desktop layouts

Usage with AI assistant:

"Use the applying-styles skill to create a modern dark theme with blue accents"

The AI will generate CSS and write it to .uigen/theme.css.

How It Works

  1. Skills are markdown files with detailed instructions for AI agents
  2. AI agents read the skills and follow the workflows
  3. Skills eliminate manual work by automating pattern detection and configuration
  4. You stay in control - review changes before committing

Using Skills with AI Coding Assistants

UIGen skills work with any AI coding assistant that can read files and execute commands:

  • Cursor - Reference skills with @.agents/skills/auto-annotate.md
  • Windsurf - Ask "Use the auto-annotate skill"
  • Cline - Provide skill file path in context
  • GitHub Copilot Chat - Reference skill files in prompts
  • Any AI assistant - Copy skill content into your prompt

Example Workflow

# 1. Initialize project
npx @uigen-dev/cli@latest init my-app --spec openapi.yaml

# 2. Ask AI to auto-annotate
"Use the auto-annotate skill to configure my spec"

# 3. Ask AI to apply styling
"Use the applying-styles skill to create a professional theme"

# 4. Start the server
npx @uigen-dev/cli@latest serve openapi.yaml

# 5. Iterate with AI
"Make the buttons more rounded and add hover animations"

The AI reads the skills, understands your OpenAPI spec, and generates the right configuration automatically.


What Just Happened?

UIGen uses runtime rendering to transform your OpenAPI spec into a complete, interactive frontend. Unlike code generators, UIGen interprets your spec at runtime - which means your UI stays in sync with API changes automatically. Here's the flow:

CLI Command
    |
    v
+----------------+     +----------------+     +----------+     +------+     +--------+     +--------------+
| API Document   |---->| Reconciler     |---->| Adapter  |---->|  IR  |---->| Engine |---->|  React SPA   |
| (YAML/JSON)    |     | (Config Merge) |     | (Parser) |     |      |     |        |     | (served)     |
+----------------+     +----------------+     +----------+     +------+     +--------+     +--------------+
       |                      ^                                                                    |
       |                      |                                                          +---------+
       |               +----------------+                                                v
       |               | Config File    |                                          +-----------+
       |               | (.uigen/       |                                          | API Proxy |---> Real API
       |               |  config.yaml)  |                                          +-----------+
       |               +----------------+
       |
       +---> (Source spec unchanged on disk)

UIGen reconciles your config with the spec, then parses it into a framework-agnostic Intermediate Representation containing:

  • Resources and their relationships
  • Operations (CRUD + custom actions)
  • Schemas with validation rules
  • Authentication flows
  • Pagination strategies

The React renderer interprets this IR at runtime (not code generation) and creates:

  • Table views with sorting, filtering, pagination
  • Create & edit forms with validation
  • Detail views with related resource links
  • Search interfaces from query parameters
  • Authentication flows (Bearer, API Key, HTTP Basic, credential-based login)
  • Multi-step wizards for complex forms
  • Custom action buttons for non-CRUD endpoints
  • Dashboard with resource overview
  • Dark/light theme toggle

Key advantage: Because UIGen uses runtime rendering instead of code generation, your UI automatically updates when your API changes. No regeneration step, no code to maintain, no drift between spec and UI.

Because the IR is framework-agnostic, you can swap renderers. The same spec works with @uigen-dev/react, @uigen-dev/svelte, or @uigen-dev/vue (coming soon).


Read More


Current Priorities

  • Better handling of resources and their relationships
  • Layout Config

License

MIT