RAG-powered WordPress development assistant that provides intelligent, context-aware solutions using natural language queries.
Transform WordPress development from hours of documentation searching to instant, actionable hook-based solutions.
- Natural Language Queries: Ask "How do I add custom fields to WooCommerce checkout?"
- Working Code Solutions: Get battle-tested WordPress hook implementations
- Context-Aware: AI understands your specific use case and provides relevant examples
- TDD-First: Built with 80%+ test coverage and quality-first approach
- Framework: FastAPI + Python 3.11
- RAG Pipeline: LangChain + OpenAI GPT-4
- Vector DB: Pinecone
- Database: PostgreSQL + SQLAlchemy
- Testing: pytest with 80%+ coverage
- Framework: Next.js 14 + TypeScript
- UI: Tailwind CSS
- Testing: Jest + React Testing Library
- Authentication: NextAuth.js
This project follows strict Test-Driven Development:
- Red: Write failing test first
- Green: Write minimal code to pass
- Refactor: Improve code while keeping tests green
cd backend
pip install -r requirements.txt
pytest --cov=src --cov-report=htmlcd frontend
npm install
npm run test:coveragewordpress-rag-chatbot/
├── backend/
│ ├── src/wp_hook_assistant/ # Core application code
│ ├── tests/ # Test suite (unit/integration)
│ ├── requirements.txt # Python dependencies
│ └── pyproject.toml # Build config + test settings
├── frontend/
│ ├── src/ # Next.js application
│ ├── __tests__/ # Frontend tests
│ └── package.json # Node.js dependencies + test config
├── docs/
│ ├── SRS.md # Software Requirements Spec
│ └── PRD.md # Product Requirements Doc
└── README.md
- Target: WordPress developers, agencies, freelancers
- Pricing: $15-75/month subscription tiers
- Goal: $10K MRR by Month 6
- Python 3.11+
- Node.js 18+
- PostgreSQL
- OpenAI API key
- Pinecone account
- Clone & Setup
git clone https://github.com/yourusername/wordpress-rag-chatbot
cd wordpress-rag-chatbot- Backend Setup
cd backend
python -m venv venv
source venv/bin/activate # or venv\Scripts\activate on Windows
pip install -r requirements.txt- Frontend Setup
cd frontend
npm install- Run Tests (TDD)
# Backend
cd backend && pytest
# Frontend
cd frontend && npm test- Start Development
# Backend
cd backend && uvicorn src.wp_hook_assistant.main:app --reload
# Frontend
cd frontend && npm run devWe follow TDD strictly:
- Write tests first (aim for 80%+ coverage)
- Implement minimal code to pass
- Refactor while keeping tests green
- No code without tests
MIT License - see LICENSE for details