- Fixed JavaScript errors from missing HTML elements (install-code, usage-code, integration-code) - Added missing CSS classes for tabs, overview layout, sidebar, and integration content - Fixed tab navigation to display horizontally in single line - Added proper padding to tab content sections (removed from container, added to content) - Fixed tab selector from .nav-tab to .tab-btn to match HTML structure - Added sidebar styling with stats grid and metadata display - Improved responsive design with mobile-friendly tab scrolling - Fixed code block positioning for copy buttons - Removed margin from first headings to prevent extra spacing - Added null checks for DOM elements in JavaScript to prevent errors These changes resolve the routing issue where clicking on apps caused page redirects, and fix the broken layout where CSS was not properly applied to the app detail page.
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