MicroFetch
Ultra-minimal browser engine with HTTP/3, JS support, cookie auth, passkeys, and anti-fingerprinting. Optimized for LLM token efficiency.
Smart Defaults: Auto-detects browser cookies, outputs markdown, zero configuration needed.
Features
- Zero Friction: Auto-detects default browser (Dia, Brave, Chrome, Firefox, Safari, Edge) and uses cookies automatically
- Token-Optimized: Markdown output by default (25× savings vs HTML)
- HTTP Acceleration: HTTP/2 multiplexing, HTTP/3 (QUIC) with 0-RTT, TLS 1.3, Brotli/Zstd compression
- Browser Fingerprinting: Realistic Chrome/Firefox/Safari profiles to avoid detection
- Authentication:
- Auto browser cookie extraction (default)
- 1Password CLI integration
- Apple Keychain password retrieval
- Browser password storage (Chromium-based)
- JavaScript: QuickJS engine with minimal DOM (ES2020 support)
- SPA Extraction: 80% success rate across Next.js, React, Nuxt, Vue apps
- Streaming: HLS/DASH streaming with native and ffmpeg backends
- Video/Audio Analysis: Transcription, annotation, and subtitle generation
- WebSocket: Full WebSocket support with JSON-RPC convenience layer
- Prefetching: Early Hints (103) support, link hint extraction
- Cross-Platform: Works on macOS, Linux, and Windows. Cookie extraction has the broadest browser support on macOS.
Requirements
- Rust 1.93+
- ffmpeg (optional, for streaming/analyze/annotate commands):
brew install ffmpeg/apt install ffmpeg - 1Password CLI (optional, for credential integration): Install guide
Installation
Usage
Fetch a URL
# Basic fetch (auto-detects browser cookies, outputs markdown)
# Disable cookies
# Force specific browser
# Raw HTML output (disable markdown)
# With 1Password credentials
Extract Data from SPAs (React, Next.js, Vue, Nuxt)
# Auto-extracts embedded JSON (__NEXT_DATA__, __NUXT__, window state)
# 80% success rate, auto-cookies, 5s wait, fetch logging
# Extract specific JSON path
# Structure summary
Streaming (HLS/DASH)
# Stream to player
# Stream to file with duration limit
Video/Audio Analysis
# Transcribe and analyze media
# Add subtitle annotations
Benchmark
Generate Browser Fingerprints
Test 1Password Integration
Token-Optimized Output (LLM-friendly)
# Markdown output (default, 25× token savings)
# Compact format: STATUS SIZE TIME
# 200 1234B 45ms
# JSON format for parsing
# Save full body to file (bypasses truncation)
# Raw HTML (disable markdown conversion)
Custom Headers & Session Warmup
# Add custom headers (API access)
# Auto-add Referer header
# Warmup session first (for APIs requiring prior page load)
Get OTP Codes
Validate All Features
Library Usage
use AcceleratedClient;
async
HTTP/3 Support
HTTP/3 is enabled by default. To disable:
Responsible Use
This tool includes browser cookie extraction and fingerprint spoofing capabilities. These features are intended for legitimate use cases such as accessing your own authenticated content and automated testing. Use responsibly and only on sites where you have authorization.
License
MIT License - see LICENSE for details.
Credits
Created by Mikko Parkkola