ditto  by yoheinakajima

Coding agent for generating Flask apps from natural language

created 9 months ago
1,031 stars

Top 37.0% on sourcepulse

GitHubView on GitHub
Project Summary

Ditto is a no-code tool designed for users to generate multi-file Flask web applications from natural language descriptions. It automates the coding process by using a simple LLM loop and a few tools, aiming to translate user ideas into functional web applications with a modular structure.

How It Works

Ditto employs a loop that takes natural language input, plans the application structure, and generates code for routes, templates, and static files. This approach aims to simplify web development by abstracting away manual coding, allowing users to focus on describing their desired application.

Quick Start & Requirements

  • Install dependencies: pip install litellm
  • Set OPENAI_API_KEY environment variable.
  • Run the application: python main.py
  • Access the web interface at http://localhost:8080.
  • Requires Python 3.7+ and pip.
  • See GitHub Repository for full instructions.

Highlighted Details

  • Generates multi-file Flask applications.
  • Features a no-code, natural language input interface.
  • Automates planning and code construction.
  • Organizes generated code into a modular structure.

Maintenance & Community

The project creator has no further development plans but welcomes contributions. The creator intends to integrate this functionality into the BabyAGI framework. Contact via X/Twitter is preferred for contributions.

Licensing & Compatibility

Licensed under the MIT License. This license is permissive and generally compatible with commercial use and closed-source linking.

Limitations & Caveats

The project is described as a "quick exploration" with no further development plans by the author. The success rate of generating functional applications is stated as "occasional." The author primarily checks contributions via X/Twitter, indicating potentially limited direct PR review.

Health Check
Last commit

9 months ago

Responsiveness

Inactive

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

Explore Similar Projects

Starred by Chris Van Pelt Chris Van Pelt(Cofounder of Weights & Biases), Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), and
15 more.

developer by smol-ai

0.1%
12k
Agent for embedding a developer in your app
created 2 years ago
updated 1 year ago
Feedback? Help us improve.