html-anything  by nexu-io

AI-powered agentic HTML editor for local content creation

Created 1 week ago

New!

3,799 stars

Top 12.7% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

This project addresses the gap between writer-centric Markdown and reader-centric HTML, enabling users to generate professional, ship-ready HTML documents and assets using local AI coding agents. It targets content creators, developers, and designers who need to produce diverse outputs like articles, presentations, social media cards, and web prototypes quickly, without manual coding or API keys. The primary benefit is a streamlined, agent-driven workflow that transforms raw input into polished, multi-platform-ready HTML.

How It Works

The core approach is a local-first, zero-API-key editor that leverages existing AI coding agent CLIs (e.g., Claude Code, Copilot, Gemini) detected via the system's PATH. Users select from 75 "skill" templates across 9 "surface" modes (magazine, deck, poster, etc.). The agent generates HTML, which is live-previewed in a sandboxed iframe. The system integrates components from nexu-io/open-design, mdnice, and gcui-art, enforcing quality through hardcoded constraints in SKILL.md files (e.g., 8px grid, contrast ratios). Server-Sent Events (SSE) enable real-time streaming renders, allowing users to monitor progress and interrupt generation.

Quick Start & Requirements

  • Install: Clone the repository, run pnpm install, then pnpm dev.
  • Prerequisites: Requires one or more supported AI coding agent CLIs (Claude Code, Cursor Agent, Gemini CLI, GitHub Copilot CLI, etc.) already installed and logged in. pnpm is needed for installation.
  • Links: Repository: https://github.com/nexu-io/html-anything

Highlighted Details

  • Versatile Output: Offers 75 skills across 9 output modes, including magazine articles, keynote decks, posters, social media cards, web prototypes, and Hyperframes video scripts.
  • Agent Agnostic: Reuses existing local agent sessions, eliminating the need for new API keys or subscriptions.
  • Seamless Export: One-click export to WeChat, X (Twitter), Zhihu, PNG, and standalone HTML files.
  • Real-time Generation: SSE streaming allows users to watch HTML render live and interrupt unwanted output.
  • Secure Preview: All user-generated HTML is displayed in a sandboxed iframe for security.
  • Input Flexibility: Auto-detects and processes Markdown, CSV, TSV, JSON, SQL, and plain text inputs.

Maintenance & Community

The project is actively maintained by the "HTML Anything contributors," building on the nexu-io/open-design ecosystem. Community discussions and updates are primarily channeled through the open-design team's Discord server and X account (@nexudotio). A roadmap indicates planned features like browser extensions and improved video export.

Licensing & Compatibility

The project is licensed under Apache-2.0, a permissive license suitable for commercial use. Any bundled upstream components retain their original licenses, which are documented within their respective skill folders.

Limitations & Caveats

While the core functionality is stable, the project is described as "Early but real," with some advanced features like Hyperframes-to-MP4 conversion and a browser extension still in progress or planned. Its utility is contingent on users having compatible AI coding agent CLIs already set up and authenticated locally.

Health Check
Last Commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
37
Issues (30d)
30
Star History
3,854 stars in the last 9 days

Explore Similar Projects

Feedback? Help us improve.