Transform your website ideas into detailed, actionable prompts for AI development tools
Features β’ Getting Started β’ Usage β’ Tech Stack β’ Contributing
WebKnot is an intelligent prompt generator designed specifically for AI-powered development tools like Bolt.new and WebKnot.ai. It guides you through a comprehensive wizard to capture every aspect of your website vision and generates professional, detailed prompts that AI tools can understand perfectly.
- π― Precision: Capture every design detail with our guided wizard
- π Speed: Generate comprehensive prompts in minutes, not hours
- π‘ Smart: Intelligent defaults and suggestions based on your project type
- π¨ Beautiful: Stunning glassmorphism UI with smooth animations
- πΎ Auto-save: Never lose your progress with automatic local storage
- π± Responsive: Works seamlessly on desktop, tablet, and mobile
Step-by-step guidance through 11 comprehensive sections:
- Project Setup: Define your project's core identity
- Layout Selection: Choose from 10+ layout patterns
- Design Style: Pick from 9 modern design aesthetics
- Color Theme: Select or customize your color palette
- Typography: Fine-tune fonts and text styling
- Visual Elements: Choose icons, illustrations, and imagery
- Background Effects β¨: Select from 31 react-bits backgrounds
- UI Components β¨: Choose from 37 react-bits components
- Functionality: Select feature tiers and technical requirements
- Animations β¨: Add from 25 react-bits animations
- Preview: Review and generate your detailed prompt
β¨ = New React-Bits Integration - 93 production-ready components!
Real-time visualization of your selections with:
- Interactive layout previews
- Color theme swatches
- Typography samples
- Progress tracking
- Detailed Mode: Comprehensive 10-section prompt with full specifications
- Basic Mode: Concise summary for quick iterations
- Auto-save every second
- LocalStorage integration
- Resume from where you left off
- Export/import project configurations (coming soon)
- Glassmorphism design
- Smooth animations and transitions
- Floating geometric elements
- Dark theme optimized for long sessions
Boost your productivity with powerful keyboard shortcuts:
Ctrl/Cmd + β- Navigate to next stepCtrl/Cmd + β- Navigate to previous stepCtrl/Cmd + G- Generate promptEsc- Close modal dialogsTab- Navigate between interactive elementsEnter- Select focused option
Quickly find what you need across 93 react-bits components:
- Real-time search across titles and descriptions
- Tag-based filtering for precise results
- Combined search and tag filters
- Live result count display
- Instant filtering with no lag
Experiment freely with full history management:
- Undo recent selections (
Ctrl/Cmd + Z) - Redo undone actions (
Ctrl/Cmd + Shift + Z) - Visual indicators for available history
- Automatic state tracking
- Debounced history updates for performance
- Node.js 18+ and npm/yarn
- Modern web browser (Chrome, Firefox, Safari, Edge)
-
Clone the repository
git clone https://github.com/yourusername/WebKnot.git cd WebKnot -
Install dependencies
npm install # or yarn install -
Start the development server
npm run dev # or yarn dev -
Open your browser Navigate to
http://localhost:5173
npm run build
# or
yarn buildThe optimized build will be in the dist folder.
- Launch WebKnot and click "Get Started"
- Fill in Project Details: Name, description, type, and purpose
- Select Layout: Choose primary layout and special features
- Pick Design Style: Select from Material, Glassmorphism, Minimalist, etc.
- Choose Colors: Use preset themes or create custom palette
- Configure Typography: Select fonts and text styling
- Add Visuals: Choose icon styles, illustrations, and imagery
- Select Background β¨: Pick from 31 stunning background effects
- Choose Components β¨: Select from 37 UI components
- Select Functionality: Pick feature tier and technical requirements
- Enable Animations β¨: Add from 25 animation effects
- Generate Prompt: Review and copy your detailed prompt
β¨ = New React-Bits Integration - Professional components with installation commands!
- Click "Copy & Go to Bolt" button
- Paste the prompt in Bolt.new's input
- Watch your website come to life!
- Click "Copy & Go to Lovable" button
- Paste the prompt in WebKnot.ai's interface
- Let AI build your vision!
- Navigate quickly: Use
Ctrl/Cmd + βandCtrl/Cmd + βto move between steps - Generate instantly: Press
Ctrl/Cmd + Gfrom any step to generate your prompt - Close modals: Hit
Escto quickly close detail views
- Find components fast: Type keywords in the search box on Background, Components, or Animations steps
- Filter by tags: Click tag badges to filter by category (e.g., "3D", "Interactive", "Gradient")
- Combine filters: Use search + tags together for precise results
- Clear filters: Click "Clear" or remove all tags to see all options
- Experiment freely: Try different selections knowing you can undo
- Undo mistakes: Press
Ctrl/Cmd + Zor click the Undo button - Redo changes: Press
Ctrl/Cmd + Shift + Zor click the Redo button - Visual feedback: Buttons show when history is available
- React 18.3 - UI library
- TypeScript 5.5 - Type safety
- Vite 5.4 - Build tool and dev server
- React Router 7.9 - Client-side routing
- Tailwind CSS 3.4 - Utility-first CSS
- Radix UI - Accessible component primitives
- Lucide React - Beautiful icon library
- Class Variance Authority - Component variants
- React Context API - Global state
- LocalStorage - Persistence layer
- React Hook Form 7.53 - Form management
- Zod 3.23 - Schema validation
WebKnot/
βββ src/
β βββ components/
β β βββ cards/
β β β βββ ReactBitsCard.tsx # β¨ Reusable react-bits card
β β βββ layout/ # Layout components (Header, Sidebar, etc.)
β β βββ modals/
β β β βββ ReactBitsModal.tsx # β¨ React-bits detail modal
β β βββ steps/
β β β βββ BackgroundStep.tsx # β¨ NEW: Background selection
β β β βββ ComponentsStep.tsx # β¨ NEW: Component selection
β β β βββ AnimationsStep.tsx # β¨ UPDATED: React-bits animations
β β β βββ ... # Other wizard steps
β β βββ ui/ # shadcn/ui components
β β βββ ErrorBoundary.tsx
β β βββ StepErrorFallback.tsx # β¨ Error fallback component
β β βββ WelcomePage.tsx
β β βββ WizardLayout.tsx
β βββ contexts/
β β βββ BoltBuilderContext.tsx # Global state (updated with react-bits)
β βββ data/
β β βββ reactBitsData.ts # β¨ NEW: 93 react-bits components
β β βββ wizardData.ts # Static data (layouts, styles, etc.)
β βββ hooks/
β β βββ use-toast.ts # Toast notifications
β βββ lib/
β β βββ utils.ts # Utility functions
β βββ types/
β β βββ index.ts # TypeScript types (updated with react-bits)
β βββ App.tsx
β βββ main.tsx
β βββ index.css
βββ .kiro/
β βββ specs/
β βββ react-bits-integration/ # β¨ Integration spec documents
βββ public/
βββ REACT_BITS_INTEGRATION.md # β¨ NEW: Comprehensive documentation
βββ package.json
βββ tsconfig.json
βββ vite.config.ts
βββ tailwind.config.js
βββ README.md
βββ ROADMAP.md
β¨ = New or updated for React-Bits integration
All critical bugs have been fixed in the latest version:
- β Button component import issues resolved
- β useEffect dependency warnings fixed
- β Memory leaks in animations patched
- β Error boundary added for crash protection
Problem: TypeScript compilation errors
npm run build
# Error: Type 'X' is not assignable to type 'Y'Solution:
- Clear node_modules and reinstall:
rm -rf node_modules && npm install - Clear TypeScript cache:
rm -rf tsconfig.tsbuildinfo - Verify TypeScript version:
npm list typescript
Problem: Module not found errors
Error: Cannot find module '@/components/...'Solution:
- Check
tsconfig.jsonpaths configuration - Restart development server:
npm run dev - Verify file exists at the specified path
Problem: LocalStorage data corrupted
Error: Unexpected token in JSON at position 0
Solution:
- Open browser DevTools (F12)
- Go to Application > Local Storage
- Delete
WebKnot-projectkey - Refresh the page
Problem: Component not rendering
Error: Cannot read property 'map' of undefined
Solution:
- Check if data is loaded in BoltBuilderContext
- Verify component receives correct props
- Check browser console for additional errors
Problem: Slow initial load
Solution:
- Clear browser cache
- Check network tab for slow requests
- Verify bundle size:
npm run buildand checkdist/folder - Disable browser extensions temporarily
Problem: Laggy animations
Solution:
- Reduce number of selected components
- Close other browser tabs
- Check CPU usage in DevTools Performance tab
- Disable hardware acceleration if needed
Problem: Search not working
Solution:
- Verify search input has focus
- Check console for JavaScript errors
- Clear search query and try again
- Refresh the page
Problem: No results found
Solution:
- Check spelling in search query
- Clear tag filters
- Try broader search terms
- Verify data is loaded correctly
Problem: Shortcuts don't respond
Solution:
- Ensure no input field has focus
- Check if modal is open (Esc to close)
- Verify browser doesn't override shortcuts
- Try clicking on the page first
Problem: Undo button disabled
Solution:
- Make at least one selection first
- Wait for debounce period (500ms)
- Check if history is cleared
- Refresh page if issue persists
Problem: "Request Timeout" error
Error: Request timed out. The AI service took too long to respond.
Solution:
- Check your internet connection
- Wait a moment and try again
- The app will automatically use standard analysis
- AI features will resume once connection improves
Problem: "AI limit reached" message
Solution:
- Free users have 20 AI requests per hour
- Wait for the timer to reset (shown in error message)
- Use standard analysis in the meantime
- Consider upgrading to Premium for unlimited requests
Problem: AI suggestions not appearing
Solution:
- Ensure your project description is at least 20 characters
- Check that AI features are enabled in settings
- Verify you've given consent for AI features
- Check browser console for errors
- Try refreshing the page
Problem: AI consent dialog not showing
Solution:
- Check localStorage for 'webknot-ai-consent' key
- Delete the key to see the dialog again
- Refresh the page
- Accept consent to enable AI features
Problem: Slow AI responses
Solution:
- This is normal for first-time requests (no cache)
- Subsequent requests are much faster (cached)
- Check your internet speed
- Try during off-peak hours
- Use standard analysis for immediate results
If you encounter issues not listed here:
- Check GitHub Issues for similar problems
- Search GitHub Discussions
- Create a new issue with:
- Browser and version
- Steps to reproduce
- Error messages
- Screenshots if applicable
WebKnot is optimized for speed and efficiency:
- Initial Bundle: <500KB gzipped
- Lazy-loaded Chunks: 50-150KB per step
- Vendor Chunks: Cached separately for faster reloads
- Total Size: ~2.5MB uncompressed (optimized with code splitting)
- First Contentful Paint: <2 seconds
- Time to Interactive: <3 seconds
- Largest Contentful Paint: <2.5 seconds
- Cumulative Layout Shift: <0.1
- Performance: 90+ (desktop), 85+ (mobile)
- Accessibility: 95+
- Best Practices: 95+
- SEO: 100
- β Code splitting with React.lazy()
- β Manual chunk configuration for vendors
- β Tree-shaking for unused code
- β Terser minification in production
- β Debounced LocalStorage saves
- β Memoized components and callbacks
- β Optimized re-renders with React.memo
- β Lazy loading of wizard steps
- Chrome 90+ β
- Firefox 88+ β
- Safari 14+ β
- Edge 90+ β
- Use Chrome DevTools Lighthouse for audits
- Monitor bundle size with
npm run build - Check Network tab for slow requests
- Use React DevTools Profiler for component performance
- Test on slower devices and networks
We welcome contributions! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- Follow the existing code style
- Write meaningful commit messages
- Add tests for new features
- Update documentation as needed
- Ensure all tests pass before submitting PR
This project is licensed under the MIT License - see the LICENSE file for details.
- Bolt.new - AI-powered web development
- WebKnot.ai - AI website builder
- shadcn/ui - Beautiful component library
- Radix UI - Accessible primitives
- Tailwind CSS - Utility-first CSS
- π§ Email: hello@WebKnot.com
- π Issues: GitHub Issues
- π¬ Discussions: GitHub Discussions
- π Complete User Guide - β NEW! Step-by-step guide for creating amazing prompts
- β FAQ - Quick answers to common questions
- Quick Start - Get started in 5 minutes
- Troubleshooting - Common issues and solutions
- Documentation Index - Complete documentation hub
- Contributing Guide - How to contribute
- Architecture - Technical overview
- Roadmap - Planned features and improvements
WebKnot uses Google Gemini 2.5 AI to provide intelligent assistance throughout your design process.
-
Smart Project Analysis π§
- Analyzes your project description in real-time
- Suggests optimal design choices based on project type
- 85%+ confidence in recommendations
- Response time: < 5 seconds
-
Intelligent Defaults β‘
- Automatically pre-selects compatible options
- Based on industry best practices
- Saves time on common configurations
- Response time: < 50ms (cached)
-
Design Suggestions π¨
- Real-time compatibility checking
- Identifies potential design conflicts
- Suggests improvements for harmony
- Context-aware recommendations
-
Prompt Enhancement β¨
- Enhances generated prompts with best practices
- Adds accessibility, performance, and SEO sections
- Professional-grade output
- Response time: < 8 seconds
-
Natural Language Input π¬
- Describe your project in plain English
- AI extracts key requirements automatically
- No technical jargon needed
-
Context-Aware Chat π€
- Ask questions about your project
- Get instant, tailored assistance
- Understands your current selections
- Privacy First: Your data is anonymized before being sent to Google
- Consent Required: AI features require explicit user consent
- Rate Limits: Free users get 20 AI requests per hour
- Fallback System: App works perfectly even if AI is unavailable
- Caching: 80%+ cache hit rate for instant responses
- No Data Storage: We don't store your project data on our servers
| Feature | Target | Actual |
|---|---|---|
| Smart Defaults | < 50ms | ~45ms |
| Project Analysis | < 5s | ~3-4s |
| Prompt Enhancement | < 8s | ~6-7s |
| Cache Hit Rate | > 80% | ~85% |
Learn more: AI Features Guide | Privacy Policy
WebKnot includes 93 production-ready React components from React-Bits:
- 31 Backgrounds: Aurora, Particles, Meteors, Globe, and more
- 37 UI Components: Carousel, Cards, Timeline, Modals, and more
- 25 Animations: Blob Cursor, Magnetic Button, Scroll Reveal, and more
Each component includes:
- β Installation command (npx shadcn)
- β Dependencies list
- β Usage examples
- β Detailed descriptions
Learn more: React-Bits Integration Guide | Quick Reference
See ROADMAP.md for planned features and improvements.
Made with β€οΈ by the WebKnot Team
β Star us on GitHub if you find this helpful!