autoview  by wrtnlabs

Code generator for automated UI component creation

created 6 months ago
684 stars

Top 50.6% 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

2 months ago

Responsiveness

Inactive

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

Explore Similar Projects

Feedback? Help us improve.