Discover and explore top open-source AI tools and projects—updated daily.
ion-designCapture live websites and generate runnable code projects
New!
Top 66.4% on SourcePulse
Summary
ditto.site transforms any public URL into a self-contained, deterministic TypeScript application, primarily targeting Next.js App Router or Vite React. It benefits engineers and power users by programmatically generating functional codebases from live web content, eliminating the need for original source code access and ensuring reproducible outputs.
How It Works
The core is a capture-to-code pipeline: a browser captures DOM, styles, layout, assets, and interaction states. This frozen capture undergoes deterministic inference to generate a byte-stable application. This approach prioritizes replicating the rendered output accurately, distinguishing it from LLM-based content generation by guaranteeing consistent code from identical inputs.
Quick Start & Requirements
Local setup involves cloning the repository, installing Node.js dependencies (npm ci), and Playwright (npx playwright install chromium). The primary command is npm run clone -- <URL> --out=<output_dir>. Hosted API usage requires obtaining an API key from https://www.ditto.site/api-key and setting DITTO_API_KEY and DITTO_API_URL environment variables, with examples provided via curl. Detailed documentation is available in docs/METHODOLOGY.md and docs/README.md.
Highlighted Details
.tgz archive of the cloned application.Maintenance & Community
The repository includes standard contribution guidelines (CONTRIBUTING.md, SECURITY.md, SUPPORT.md, CODE_OF_CONDUCT.md), indicating a structured development process. However, specific details on active maintainers, community channels (e.g., Discord, Slack), or sponsorships are not detailed in the provided README.
Licensing & Compatibility
The project is released under the permissive MIT License, allowing for commercial use and integration into closed-source projects without significant restrictions.
Limitations & Caveats
ditto.site does not replay or capture complex application logic, authentication flows, payment systems, personalization features, or arbitrary third-party JavaScript. The local CLI is currently repo-local and not available via npx.
20 hours ago
Inactive
SawyerHood
HKUDS