High-performance web scraping and browser automation platform
WebLinq is a modern web scraping and browser automation platform that revolutionizes performance through intelligent browser session reuse. Built on Cloudflare's edge infrastructure, it provides lightning-fast web operations while maintaining reliability and scalability.
π― Perfect for: Realtime web access in chat apps, Browser automation, Data aggregation, Competitor analysis, and Market research.
- π Browser Session Reuse: Intelligent architecture that reduces operation latency from ~2-3s to ~200-500ms
- β‘ High Performance: Built on Cloudflare Workers for global edge deployment
- π― Comprehensive API: Search, Screenshot capture, Markdown / HTML extraction, PDF generation, AI data extraction
- π§ MCP Integration: Model Context Protocol server for AI assistant integration
- π‘οΈ Enterprise Ready: Authentication, rate limiting, and secure API key management
- π± Modern Dashboard: Full-featured web interface for API management
Try WebLinq instantly with our interactive API:
# Extract markdown from any webpage
curl -X POST "https://api.weblinq.dev/v1/web/markdown" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com"}'
# Take a screenshot
curl -X POST "https://api.weblinq.dev/v1/web/screenshot" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com"}'
π Get your free API key β’ π View live documentation
weblinq/
βββ backend/ # Core API server (Cloudflare Worker)
β βββ src/
β β βββ durable-objects/ # Browser session management
β β βββ routes/ # API endpoints
β β βββ lib/ # Core utilities and operations
β β βββ middlewares/ # Authentication and CORS
β βββ scripts/ # Build and deployment scripts
βββ frontend/ # Next.js 15 dashboard application
β βββ src/
β β βββ app/ # App router pages
β β βββ components/ # Reusable UI components
β β βββ lib/ # Client utilities
βββ weblinq-mcp/ # Model Context Protocol server
β βββ src/ # MCP implementation
βββ docs/ # Mintlify documentation site
β βββ api-reference/ # API documentation
β βββ guides/ # User guides and examples
βββ tests/ # Integration testing suite
WebLinq's core innovation lies in its intelligent browser session reuse architecture powered by Cloudflare Durable Objects:
- BrowserManagerDO: Orchestrates up to 10 concurrent browser sessions
- BrowserDO: Manages individual Playwright/Puppeteer browser instances
- Session Pooling: Maintains warm sessions across requests
- Blue-Green Refresh: Zero-downtime session rotation every 8.5 minutes
Metric | Traditional | WebLinq |
---|---|---|
Cold Start Latency | 2-3 seconds | 200-500ms |
Resource Efficiency | β New browser per request | β Persistent sessions |
Concurrent Operations | Limited by startup time | Up to 10 parallel sessions |
Cost Optimization | High browser startup overhead | Reduced slot usage |
- Session Management: Durable Objects maintain persistent browser sessions
- Intelligent Allocation: Available sessions are reused; new ones created on-demand
- Proactive Refresh: Sessions are refreshed before Cloudflare's 10-minute limit
- Fault Tolerance: Automatic recovery from crashes and network issues
Built with modern, high-performance technologies:
- Hono.js
^4.7.10
- Ultra-fast web framework - Drizzle ORM
^0.43.1
- Type-safe database operations - Zod
^3.25.28
- Runtime type validation - Better Auth
^1.2.8
- Modern authentication - @cloudflare/puppeteer - Browser automation
The weblinq-mcp/
directory contains a complete Model Context Protocol server implementation, enabling seamless integration with AI assistants like Claude Desktop and other MCP-compatible clients.
- π Direct API Integration: Connect AI assistants to WebLinq's full API
- π Real-time Operations: Screenshot capture, data extraction, web search
- π‘οΈ Secure Authentication: API key-based access control
- π Structured Responses: Type-safe data exchange with AI models
cd weblinq-mcp
npm install
npm run dev # Development server
npm run deploy # Deploy to Cloudflare Workers
The MCP server provides AI assistants with tools for web scraping, screenshot capture, and data extraction, making WebLinq's capabilities directly accessible within AI workflows.
# Clone and setup
git clone https://github.com/devhims/weblinq.git
cd weblinq
# Install dependencies
cd backend && pnpm install
cd ../frontend && pnpm install
# Setup environment
cp backend/.env.example backend/.env
cp frontend/.env.example frontend/.env.local
# Start development
cd backend && pnpm dev # Backend: http://localhost:8787
cd frontend && pnpm dev # Frontend: http://localhost:3000
Requirements: Node.js 18+, Cloudflare account with Workers/D1/Durable Objects enabled
π Full setup guide in CONTRIBUTING.md
- π API Documentation - Complete API reference and guides
- π Quick Start Guide - Get started in 5 minutes
- π§ Developer Guide - Integration examples
- π Authentication - API key setup
- π‘οΈ Security Policy - Vulnerability reporting and best practices
We welcome contributions! Please see our Contributing Guidelines for detailed information on:
- π οΈ Development setup and workflow
- π Code style and standards
- π§ͺ Testing requirements
- π Bug reporting process
- π‘ Feature request guidelines
This project is licensed under the MIT License - see the LICENSE file for details.
- Cloudflare - For Workers, Durable Objects, and Browser Rendering API
- Hono.js - For the clean, lightning-fast web framework
- Better Auth - The most complete authentication framework
Documentation β’ API Reference β’ Examples β’ Contributing
Made with β€οΈ by the WebLinq team