An AI-powered application that generates a comprehensive software architecture plan, technology stack recommendation, cost analysis, project roadmap, and a detailed Product Requirements Document (PRD) based on a simple project idea.
- 🤖 AI-Powered Generation: Leverages the Gemini API to create detailed project plans from a single prompt.
- 🏗️ Architectural Overview: Generates a full system architecture, including frontend, backend, database, and deployment strategies.
- 💡 Tech Stack Recommendations: Suggests appropriate technologies for each part of the architecture.
- 💰 Cost Estimation: Provides a monthly cost breakdown visualized in a clear, interactive chart.
- 🗺️ Project Roadmap: Lays out a phased project roadmap with key tasks for each stage.
- 📄 PRD & Export: Creates a complete Product Requirements Document (PRD) that can be viewed in-app and exported as a Markdown file.
- 💅 Modern UI: Sleek, responsive, and stylish dark-mode interface built with React and Tailwind CSS.
- Frontend: React, TypeScript
- Styling: Tailwind CSS
- AI/ML: Google Gemini API (
@google/genai) - Charting: Recharts
- Deployment: Designed for modern static hosts (e.g., Vercel, Netlify, Cloudflare Pages, Firebase Hosting)
- An active Google AI Studio API Key.
- Node.js and npm installed.
- A modern web browser.
-
Clone the repository:
git clone https://github.com/your-username/archiai.git cd archiai -
Install dependencies:
npm install
-
API Key Configuration:
-
Create a
.env.localfile in the project root:GEMINI_API_KEY=your_google_gemini_api_key
-
Never commit your API key to version control.
-
-
Run the application locally:
npm run dev
Open the provided URL (e.g.,
http://localhost:5173) in your browser.
You can deploy ArchiAi to Cloudflare Pages, Netlify, or Vercel. All support environment variables and custom domains.
- Connect your GitHub repo in Cloudflare Pages.
- Build command:
npm run build - Output directory:
dist - Environment variable:
- Key:
GEMINI_API_KEY - Value: your Gemini API key
- Key:
- After deploy, add your custom domain (
archiai.thbz.in) in the Pages dashboard and follow the DNS instructions (add a CNAME forarchiaipointing to your Cloudflare Pages URL).
- Connect your GitHub repo in Netlify.
- Build command:
npm run build - Publish directory:
dist - Environment variable:
- Key:
GEMINI_API_KEY - Value: your Gemini API key
- Key:
- After deploy, go to Site settings → Domain management → Add custom domain (
archiai.thbz.in). Add a CNAME forarchiaipointing to your Netlify subdomain.
- Import your GitHub repo in Vercel.
- Framework preset: Vite
- Build command:
npm run build - Output directory:
dist - Environment variable:
- Key:
GEMINI_API_KEY - Value: your Gemini API key
- Key:
- After deploy, go to Project → Settings → Domains → Add
archiai.thbz.in. Add a CNAME forarchiaipointing to your Vercel subdomain.
- Type: CNAME
- Name:
archiai - Value: (your platform’s provided subdomain, e.g.,
your-site.netlify.app,your-site.pages.dev, oryour-site.vercel.app)
- Describe Your Idea: Open the application and you'll see a large text area. Type in a description of the software or application you want to build.
Example: "A social media platform for pet owners to share photos and schedule playdates."
- Generate the Plan: Click the "Generate Plan" button.
- Review the Dashboard: The AI will process your request and present a dashboard containing:
- The System Architecture Diagram
- The Project Roadmap
- The Monthly Cost Estimation
- The Scalability and Security Plans
- View the PRD: Click the "PRD" tab to see the detailed Product Requirements Document.
- Export: Click the "Export as Markdown" button within the PRD view to save a local copy of the document.
- Start a New Project: Click the "New Project" button in the header to clear the results and start over.
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
Distributed under the MIT License. See LICENSE for more information.
- Author: Tony Sebastian (THBZ)
- GitHub: tonysebastine
- LinkedIn: tonysebastine
Add screenshots or demo GIFs here to showcase the app UI and features.
Check out the live demo: archiai.thbz.in
References:
If you need step-by-step help for your specific host or DNS provider, let me know which one you’re using!