- Change API_BASE to relative '/api' for production - Move marketplace to /marketplace instead of /marketplace/frontend - Update MkDocs navigation - Fix logo path in marketplace index
Crawl4AI Marketplace
A terminal-themed marketplace for tools, integrations, and resources related to Crawl4AI.
Setup
Backend
- Install dependencies:
cd backend
pip install -r requirements.txt
- Generate dummy data:
python dummy_data.py
- Run the server:
python server.py
The API will be available at http://localhost:8100
Frontend
- Open
frontend/index.htmlin your browser - Or serve via MkDocs as part of the documentation site
Database Schema
The marketplace uses SQLite with automatic migration from schema.yaml. Tables include:
- apps: Tools and integrations
- articles: Reviews, tutorials, and news
- categories: App categories
- sponsors: Sponsored content
API Endpoints
GET /api/apps- List apps with filtersGET /api/articles- List articlesGET /api/categories- Get all categoriesGET /api/sponsors- Get active sponsorsGET /api/search?q=query- Search across contentGET /api/stats- Marketplace statistics
Features
- Smart caching: LocalStorage with TTL (1 hour)
- Terminal theme: Consistent with Crawl4AI branding
- Responsive design: Works on all devices
- Fast search: Debounced with 300ms delay
- CORS protected: Only crawl4ai.com and localhost
Admin Panel
Coming soon - for now, edit the database directly or modify dummy_data.py
Deployment
For production deployment on EC2:
- Update
API_BASEinmarketplace.jsto production URL - Run FastAPI with proper production settings (use gunicorn/uvicorn)
- Set up nginx proxy if needed