System Documentation
Comprehensive technical reference for the Qraft deployment infrastructure and AI-assisted development environment.
The AI-Native Frontend Cloud
Qraft is not a template engine; it's a revolutionary Browser-Based Infrastructure that eliminates the gap between an idea and a live URL. By merging Large Language Models with virtualized Node.js environments, we've created a verticalized stack for the next generation of web development.
Zero Latency
No local setup. No `npm install` on your machine.
Browser-OS
Full Node.js runtime running in your browser tab.
Instant Edge
Deploy to a global CDN in under 2 seconds.
The AI-Native Lifecycle
Understanding how Qraft transmutes natural language into a functional web application involves four critical phases:
Architectural Intent
When you provide a prompt, our Architect LLM analyzes the requirements. It identifies necessary technologies (React, Tailwind, Lucide), determines the file structure, and drafts the initial dependency map.
Runtime Polymerization
The WebContainer API initializes a virtual filesystem in your browser's RAM. It boots a Node.js process and executes the installation of libraries directly from the npm registry using a virtualized network pipe.
Recursive Code Synthesis
Qraft streams code directly into the virtual filesystem. The browser-based dev server detects these changes via HMR (Hot Module Replacement) and updates the preview frame in real-time.
Edge Finalization
Once you hit "Deploy", the virtual state is bundled and pushed to our Global Edge Network. Your application is assigned a persistent subdomain and SSL certificate instantly.
The Workspace Environment
A unified interface combining an AI Architect, Monaco Code Editor, and Live Preview Frame.
Intelligent Editing
Full TypeScript support, syntax highlighting, and AI-driven code completion powered by Monaco.
Live Preview
Hard-wired proxy to the WebContainer dev server reflects code changes within milliseconds.
Global Edge Infrastructure
Every project on Qraft is born for the web. Our deployment pipeline is optimized for high-performance frontend hosting.
Persistent Subdomains
Upon creation, your project receives a unique `ident.qraft.page` identifier. This URL remains static throughout the project lifecycle.
Automatic SSL (L7)
Every deployment is automatically provisioned with a TLS certificate, ensuring encrypted traffic from inception.
Custom Domain Mapping
Professional-scale projects (Deploy package) support bringing your own identity. Our DNS bridge allows you to point any apex domain or subdomain to our edge servers via a dedicated CNAME record.
Configure DNSEconomy & Compute
Qraft operates on a simplified credit-based economy. Acquire compute power via Solana Pay.
30-Day Purge Protocol
Credits remain active for 30 calendar days from the date of acquisition. Unused credits are automatically removed upon expiration.
Architecture & Security
Client-Side Isolation
The core of Qraft's security model is Process Isolation. Code execution happens entirely within your browser's security sandbox via WebAssembly. Our backend infrastructure never handles your application's logic, providing a level of privacy unattainable by traditional cloud IDEs.