SpecForge is a modern web application that helps you generate professional Product Requirement Documents (PRDs) in seconds using AI technology. Built with React, TypeScript, and powered by Google's Gemini AI, it provides a seamless and efficient way to create detailed product specifications.
- AI-Powered PRD Generation: Instantly generate comprehensive PRDs from simple product descriptions
- Real-time Markdown Preview: View your generated PRD with proper formatting in real-time
- Export Options: Download your PRD as a Markdown file or copy to clipboard
- Modern UI/UX: Beautiful, responsive interface with dark mode support
- Accessibility: Built with accessibility in mind, supporting keyboard navigation and screen readers
- Frontend Framework: React 19
- Language: TypeScript
- Styling: TailwindCSS
- UI Components: shadcn/ui
- AI Integration: Google Generative AI (Gemini)
- Build Tool: Vite
- Additional Libraries:
react-markdownfor Markdown renderinglucide-reactfor iconsnext-themesfor theme management@heroui/scroll-shadowfor scroll effectssonnerfor toast notifications
src/
├── components/ # Reusable UI components
├── pages/ # Page components
├── services/ # API and service integrations
├── hooks/ # Custom React hooks
├── lib/ # Utility functions and configurations
└── styles/ # Global styles and Tailwind configuration
-
Clone the repository
git clone [repository-url] cd [project-directory] -
Install dependencies
npm install
-
Set up environment variables Create a
.envfile in the root directory:VITE_GEMINI_API_KEY=your_gemini_api_key
-
Start the development server
npm run dev
The application will be available at
http://localhost:8080
npm run dev- Start development servernpm run build- Build for productionnpm run build:dev- Build for developmentnpm run preview- Preview production buildnpm run lint- Run ESLint
| Variable | Description |
|---|---|
VITE_GEMINI_API_KEY |
Google Gemini AI API key |
The project uses Tailwind CSS for styling. You can customize the theme by modifying:
tailwind.config.tsfor theme configurationsrc/index.cssfor global styles
Contributions are welcome! Please feel free to submit a Pull Request.
