autoview  by wrtnlabs

Code generator for automated UI component creation

Created 7 months ago
688 stars

Top 49.4% on SourcePulse

GitHubView on GitHub
Project Summary

Autoview is an AI-powered code generator that transforms schema definitions (TypeScript types or OpenAPI documents) into functional frontend UI components, primarily for React. It aims to automate repetitive frontend development tasks, enabling faster prototyping and streamlining API integration for both frontend and backend developers.

How It Works

Autoview leverages LLM function calling to generate React viewer components. It takes a schema definition, processes it using an AI agent, and outputs compile-ready TypeScript code. The system combines LLM capabilities with real-time compiler and validator feedback for improved reliability. It supports generating components from TypeScript interfaces or Swagger/OpenAPI specifications, automatically creating a component for each API operation.

Quick Start & Requirements

  • Install: npm install @autoview/agent @autoview/ui openai and npm install -D @samchon/openapi typia. Run npx typia setup.
  • Prerequisites: Node.js, npm, OpenAI API key.
  • Setup: Requires defining TypeScript interfaces or providing a Swagger/OpenAPI file.
  • Links: Homepage, Documentation, Playground.

Highlighted Details

  • Automated viewer generation using LLM function calling.
  • Generates compile-ready TypeScript code from schemas.
  • Integrates with Swagger/OpenAPI documents for API-driven component generation.
  • Employs LLM function calling with compiler/validator feedback for reliability.
  • Aims to boost developer productivity by automating repetitive tasks.

Maintenance & Community

  • Maintained by Wrtn Technologies.
  • Discord community available for support and feedback.

Licensing & Compatibility

  • MIT License.
  • Permissive license suitable for commercial use and integration into closed-source projects.

Limitations & Caveats

The experimentalAllInOne flag is recommended for potentially better results, indicating that some features might still be experimental. The use of an OpenAI API key is a hard dependency for the agent's core functionality.

Health Check
Last Commit

3 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
6 stars in the last 30 days

Explore Similar Projects

Starred by Taranjeet Singh Taranjeet Singh(Cofounder of Mem0), Kevin Hou Kevin Hou(Head of Product Engineering at Windsurf), and
5 more.

coffee by Coframe

0%
2k
AI tool for rapid UI development in IDEs
Created 1 year ago
Updated 4 months ago
Feedback? Help us improve.