tongflow-modal-scrapling
June 21, 2026 · View on GitHub
Official TongFlow plugin. URL/link-to-text extraction with Scrapling, running on Modal CPU. Fetches a page with a stealth, anti-detection browser and turns its content into clean markdown text.
Unlike a plain HTTP fetch, Scrapling's StealthyFetcher runs a real browser with a spoofed fingerprint and can auto-solve Cloudflare challenges, so it succeeds on JavaScript-heavy and bot-protected pages — at the cost of a heavier image and slower cold start. The browser is CPU-only (no GPU required).
Capabilities
- Link → text (
link) — fetch a web page and convert its content to markdown text.
Credentials
Add in TongFlow Settings (gear icon, top-right):
| Key | Required | Notes |
|---|---|---|
MODAL_TOKEN_ID | ✅ | Create at modal.com/settings/tokens. |
MODAL_TOKEN_SECRET | ✅ | Paired with MODAL_TOKEN_ID. |
On first use the plugin deploys to your Modal account automatically and caches the build (browser binaries are baked into the image). No Hugging Face token required.
Credits
Powered by Scrapling by Karim Shoair (D4Vinci), licensed under the BSD 3-Clause License.