A comprehensive Chrome extension and Next.js dashboard platform designed to help Jumia sellers optimize their product listings through AI-powered competitor analysis, keyword optimization, profit calculations, and automated data scraping across all 9 Jumia country domains.
- Profit Calculator: Real-time profit calculations with Jumia fees and margins
- Competitor Analysis: Automated scraping and analysis of competitor products
- AI-Powered Recommendations: Intelligent optimization suggestions for titles, descriptions, and pricing
- OCR Processing: Extract text from competitor product images using Tesseract.js
- Anti-Detection System: Stealth scraping with behavior simulation and session management
- Dynamic Content Handling: Advanced waiting strategies for JavaScript-heavy pages
- Multi-Marketplace Support: Works across all 9 Jumia domains
- Interactive Analytics: Comprehensive product performance analytics
- AI Content Generation: Automated product descriptions and specifications
- Competitor Comparison: Side-by-side analysis with actionable insights
- Keyword Analysis: SEO optimization and missing keyword identification
- Price Optimization: AI-driven pricing recommendations with profit impact
- File Upload & OCR: Bulk product analysis from screenshots
- Real-time Notifications: System alerts and recommendation updates
- User Management: Secure authentication with role-based access
- Google Gemini Integration: Advanced AI for content generation and analysis
- Intelligent Recommendations: Context-aware optimization suggestions
- Pattern Recognition: Market trend analysis and competitive intelligence
- Performance Prediction: ROI and conversion impact estimates
- Automated Categorization: Smart product category suggestions
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ Chrome โ โ Next.js API โ โ Database โ
โ Extension โโโโโบโ Routes โโโโโบโ PostgreSQL โ
โ โ โ โ โ /SQLite โ
โ โข Content โ โ โข /api/sync/ โ โ โ
โ Scripts โ โ โข /api/recommendโ โ โข Categories โ
โ โข Profit Calc โ โ โข /api/ocr/ โ โ โข Competitor โ
โ โข Competitor โ โ โข /api/ai- โ โ Listings โ
โ Analysis โ โ content/ โ โ โข OCR Data โ
โ โข Anti-Detectionโ โ โข /api/scraped- โ โ โข Recommendationsโ
โ โข Stealth โ โ data/ โ โ โข Notifications โ
โ Scraping โ โ โข /api/profit- โ โ โข Audit Logs โ
โโโโโโโโโโโโโโโโโโโ โ calculations/ โ โโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโ
- Next.js 15: React framework with App Router
- TypeScript: Type-safe development
- Tailwind CSS: Utility-first styling
- Radix UI: Accessible component primitives
- Framer Motion: Smooth animations
- React Hook Form: Form management with validation
- Zustand: State management
- Next.js API Routes: Serverless API endpoints
- Prisma: Database ORM with type safety
- NextAuth.js: Authentication and session management
- Firebase: Real-time database and cloud functions
- PostgreSQL/SQLite: Flexible database support
- Google Gemini: Advanced AI for content generation
- Tesseract.js: OCR processing for image text extraction
- React Query: Server state management
- Axios: HTTP client with interceptors
- Manifest V3: Modern Chrome extension architecture
- Content Scripts: DOM manipulation and data extraction
- Background Service Worker: Event handling and coordination
- Chrome APIs: Storage, tabs, and runtime communication
- Node.js 18+ and npm 8+
- Google Chrome browser
- Database (PostgreSQL for production, SQLite for development)
-
Clone the repository
git clone https://github.com/your-org/lysti-jumia-optimizer.git cd lysti-jumia-optimizer -
Install dependencies
npm run setup
-
Configure environment variables
# Copy example environment files cp .env.example .env.local cp dashboard/.env.example dashboard/.env.local # Edit with your configuration nano dashboard/.env.local
-
Set up the database
cd dashboard npx prisma generate npx prisma db push -
Start development servers
npm run dev
-
Install the Chrome extension
- Open Chrome and go to
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked" and select the project root folder
- Open Chrome and go to
Create dashboard/.env.local:
# Database
DATABASE_URL="file:./dev.db"
# Authentication
NEXTAUTH_SECRET="your-secret-key"
NEXTAUTH_URL="http://localhost:3000"
# AI Services
GEMINI_API_KEY="your-gemini-api-key"
AI_PROVIDER="gemini"
# Security
ENCRYPTION_KEY="your-32-character-encryption-key"
EXTENSION_ORIGIN="chrome-extension://your-extension-id"
# Rate Limiting
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=100- Navigate to any Jumia marketplace (jumia.com.ng, jumia.co.ke, etc.)
- Click the Lysti extension icon in your toolbar
- Use the profit calculator on product pages
- Analyze competitors and get AI recommendations
- Access the full dashboard for detailed analytics
- Upload: Bulk analyze products from screenshots
- Compare: Side-by-side competitor analysis
- Optimize: AI-powered recommendations and insights
- Analytics: Performance tracking and trend analysis
- Settings: User preferences and privacy controls
- ๐ณ๐ฌ Nigeria: jumia.com.ng
- ๐ฐ๐ช Kenya: jumia.co.ke
- ๐บ๐ฌ Uganda: jumia.ug
- ๐จ๐ฎ Ivory Coast: jumia.ci
- ๐ช๐ฌ Egypt: jumia.com.eg
- ๐ฌ๐ญ Ghana: jumia.com.gh
- ๐ธ๐ณ Senegal: jumia.sn
- ๐ฒ๐ฆ Morocco: jumia.ma
- ๐ฉ๐ฟ Algeria: jumia.com.dz
# All tests
npm test
# Extension tests only
npm run test:extension
# Dashboard tests only
npm run test:dashboard
# E2E tests
npm run test:e2e
# Coverage report
npm run test:coverage- Unit Tests: Component and service testing
- Integration Tests: API and database testing
- E2E Tests: Full workflow automation with Playwright
- Performance Tests: Load testing and optimization
- Security Tests: Authentication and data protection
npm run buildnpm run deploy:dashboardnpm run deploy:functionsnpm run package- Encryption: AES-256 encryption for sensitive data
- Row-Level Security: Database-level access control
- Data Retention: Automatic cleanup after 7 days
- GDPR Compliance: Privacy-first data handling
- Audit Logging: Comprehensive security monitoring
- Rate Limiting: Prevents abuse and ensures fair usage
- CORS Protection: Secure cross-origin requests
- Input Validation: Comprehensive data sanitization
- Authentication: Secure session management
- API Key Management: Server-side key protection
- Fast Loading: < 100ms initialization time
- Memory Efficient: Minimal resource usage
- Anti-Detection: Stealth scraping with human-like behavior
- Error Handling: Comprehensive error recovery
- Server-Side Rendering: Fast initial page loads
- Optimized Queries: Efficient database operations
- Caching: Smart caching strategies
- CDN Integration: Global content delivery
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Follow TypeScript best practices
- Write comprehensive tests
- Update documentation
- Follow security guidelines
- Test across all Jumia domains
- Extension Install Guide
- Setup & Security Guide
- AI Recommendation System
- API Documentation
- Developer Guide
- Extension not loading: Check permissions and developer mode
- Dashboard connection: Verify environment variables and CORS settings
- OCR processing: Check image quality and file size limits
- AI recommendations: Verify API keys and rate limits
- Check the troubleshooting guide
- Review documentation
- Open an issue on GitHub
- Contact the development team
This project is licensed under the MIT License - see the LICENSE file for details.
- Jumia: For providing the marketplace platform
- Google Gemini: AI-powered content generation
- Tesseract.js: OCR processing capabilities
- Next.js Team: Excellent React framework
- Prisma: Type-safe database toolkit
- Machine Learning Models: Enhanced prediction accuracy
- Multi-Language Support: Localization for all Jumia markets
- Advanced Analytics: Deeper market insights
- Mobile App: Native mobile companion
- API Integrations: Third-party service connections
- v1.0.0: Initial release with core features
- v1.1.0: AI recommendations and OCR processing
- v1.2.0: Anti-detection and stealth scraping
- v1.3.0: Advanced analytics and notifications
Built with โค๏ธ by the Lysti Team
Empowering Jumia sellers with intelligent optimization tools