
Crawlberg
io.github.xberg-io由 GitHub 帳號 xberg-io 發布v1.12.3更新於 Oct 30, 2026
Scrape, crawl, and map websites to Markdown or JSON via local CLI.
概覽
Crawlberg 可擷取、爬取並梳理網站,把網頁與整站內容轉成乾淨的 Markdown 或 JSON,供助理直接使用。
- 可以做什麼
- 把單一頁面擷取為含中繼資料、連結、圖片與 JSON-LD 的 Markdown
- 並行爬取網站,可設定深度、頁數上限、URL 篩選並遵守 robots.txt
- 透過網站地圖與連結追蹤梳理網站結構
- 對大量依賴 JavaScript 的頁面改用無頭瀏覽器渲染
- 批次或串流處理大量 URL 並回傳結構化擷取結果
- 適用情境
- 適合需要把網頁內容變成乾淨文字或結構化資料而非原始 HTML 的情境,例如蒐集文件、研究頁面或網站清單,或把頁面內容交給後續分析。
- 執行需求
- 以本機程序透過 stdio 執行,以 OCI 映像(ghcr.io/xberg-io/crawlberg)散布,需要容器執行環境。僅限桌面端。未宣告驗證、環境變數或標頭。需要連線至目標網站的網路;無頭瀏覽器渲染為選用功能。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Crawlberg,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Crawlberg
Turn any website into clean, structured data. Point Crawlberg at a URL and get back Markdown, metadata, and links — from a single page or a whole site — in the language you already use.
What and Why?
You need data that lives on the web, and raw HTML is not it. Crawlberg does the crawling, scraping, and cleanup end-to-end: it fetches pages, follows links, converts each one to Markdown, and hands you structured metadata (titles, links, images, social-card and JSON-LD data) — so you skip the parsing and go straight to the content.
It runs from a single Rust core with identical results across 14 language bindings, and it handles the awkward parts for you: JavaScript-heavy pages fall back to a real headless browser, bot filters are detected and worked around, robots and sitemaps are respected, requests are throttled per domain, and requests to private or internal addresses are refused by default. Drive it from your code, an AI agent, a REST service, or the CLI.
Every part of the pipeline is a trait you can swap — the crawl frontier, rate limiter, storage, event stream, and content filters — so you can plug in your own behavior. Managed extras like proxy pools, tuned bot-evasion, authenticated sessions, scheduling, and billing live in xberg-enterprise.
Features
Supported Platforms
Precompiled binaries for glibc Linux (x86_64/aarch64), macOS, and Windows across every binding. On musl Linux (Alpine) coverage is deliberately partial — the CLI, Docker image, Rust, Ruby, Java, and Elixir work there; the Node, Python, Go, PHP, and C# bindings do not ship musl artifacts. See the platform support matrix for the full table and the Alpine workarounds.
⭐ Star this repo to show your support — it helps others discover Crawlberg.
Quick Start
Language Packages
Python
See Python README for full documentation.
Node.js
See Node.js README for full documentation.
Rust
See Rust README for full documentation.
Go
See Go README for full documentation.
Java
Available on Maven Central as io.xberg.crawlberg:crawlberg. See Java README for the dependency snippet and current version.
C#
See C# README for full documentation.
Ruby
See Ruby README for full documentation.
PHP
See PHP README for full documentation.
Elixir
Add {:crawlberg, "~> 0.3"} to your mix.exs dependencies. See Elixir README for full documentation.
Dart / Flutter
See Dart README for full documentation.
Kotlin (Android)
Available on Maven Central as io.xberg.crawlberg.android:crawlberg-android. See Kotlin README for the dependency snippet and current version.
Swift
Add via Swift Package Manager. See Swift README for full documentation.
Zig
See Zig README for installation and usage.
WebAssembly
See WebAssembly README for full documentation.
C/C++ (FFI)
C header + shared library from GitHub Releases. See FFI crate for full documentation.
AI Coding Assistants
Install the Crawlberg plugin from xberg-io/crawlberg. It ships the Crawlberg agent skills (site crawling, HTML→Markdown scraping, headless-Chrome fallback) plus the crawlberg MCP server, — select your runtime below.
The bundle targets Claude Code, Codex, Cursor, Gemini CLI, Kimi, OpenCode, Factory Droid, Hermes, Pi, Agent Plugins and GitHub Copilot CLI. Read the plugin guide for runtime resources, CLI prerequisites and configuration. MCP-capable adapters expose the product's tools; Hermes uses a local stdio bridge and explicitly selected skills. Pi loads skills and prompt templates and requires the product CLI for executable operations.
Install only the public Agent Skills, without a plugin or MCP registration, using the skills CLI:
Choose the skills and target agents interactively. Installing instructions does not install the product CLI or configure provider credentials.
Claude Code
Codex CLI
Then search for crawlberg and select Install Plugin.
Cursor
Settings → Plugins → Add from URL → https://github.com/xberg-io/crawlberg, then select crawlberg.
Gemini CLI
From a checkout of this repository:
The manifest is inside plugin/. See the Gemini extension reference
for local installation and updates.
Factory Droid
GitHub Copilot CLI
Pi
From a checkout of this repository:
After the next plugin release, install the same package used by OpenCode:
Pi loads the bundled skills and prompt templates. Use /crawlberg-scrape or /crawlberg-crawl with the input as arguments. Install the crawlberg CLI separately for shell access. This package does not register MCP servers, hooks, or native Pi extensions.
opencode
Add the package to opencode.json:
Documentation
Full guides, per-language API references, the substrate/operational model, antibot strategy, and observability live at docs.crawlberg.xberg.io.
Contributing
Contributions are welcome! See our Contributing Guide.
Part of Xberg.io
- Xberg — the open-source content-intelligence engine: text, tables, and metadata from 101 formats (115 file extensions), with OCR, transcription, and code intelligence. MIT.
- Xberg Pro — a complete self-hosted content-intelligence backend in a single container. Commercial.
- Xberg Enterprise — the distributed, governed content-intelligence platform, scaled on Kubernetes with team governance and support. Commercial.
- crawlberg — web crawling and scraping with HTML→Markdown and headless-Chrome fallback.
- html-to-markdown — fast, lossless HTML→Markdown engine.
- liter-llm — universal LLM API client with native bindings for 14 languages and 165 providers.
- tree-sitter-language-pack — tree-sitter grammars and code-intelligence primitives.
- alef — the polyglot binding generator that produces every per-language binding across the 5 polyglot repos.
License
Links
- Documentation
- GitHub Repository
- Issue Tracker
- Changelog
- Discord — community, roadmap, announcements.
來源:README.md,提交 0398c61
工具
0版本歷史
12- v1.12.3最新Oct 29, 2026
- v1.12.0Oct 22, 2026
- v1.11.0Oct 15, 2026
- v1.10.2Oct 6, 2026
- v1.10.1Oct 5, 2026
- v1.10.0Oct 5, 2026
- v1.9.0Oct 3, 2026
- v1.8.0Sep 27, 2026
- v1.7.2Sep 25, 2026
- v1.7.1Sep 16, 2026
- v1.7.0Sep 16, 2026
- v1.6.4Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分