macOS
brew install xidellocal Homebrew formula metadata
安装
brew install xidellocal Homebrew formula metadata
nix profile install nixpkgs#xidelnixpkgs package indexes · pkgs/by-name/xi/xidel/package.nix · 来源: api.github.com
choco install xidelChocolatey community package catalog · xidel · 来源: community.chocolatey.org
scoop install main/xidelScoop official bucket manifest trees · bucket/xidel.json · 来源: api.github.com
概览
XPath/XQuery 3.0, JSONiq interpreter to extract data from HTML/XML/JSON
历史
Xidel is a command-line extraction and transformation tool for HTML, XML, and JSON. Its niche is combining downloader, scraper, XPath/XQuery interpreter, CSS selector tool, JSONiq/XPath JSON query support, and pattern-matching templates in one small CLI.
The official homepage dates the initial Xidel release to 2012-09-05 and describes it as the first stand-alone command-line release of the VideLibri backend. Author Benito van der Zander maintains the tool, and the homepage states that the source history lives in a SourceForge Mercurial repository with GitHub and GitLab mirrors.
Xidel's evolution is language-support driven. Version 0.6 added XQuery support in 2012, 0.7 added JSONiq in 2013, 0.8 improved JSONiq and added arbitrary precision arithmetic in 2014, 0.9 expanded XPath/XQuery 3 syntax in 2015, 0.9.4 completed much of XPath/XQuery 3.0 support in 2016, and the 0.9.9 development branch advertises broad XPath/XQuery 3.1 and partial XPath 4.0 syntax support.
Xidel is not a mass-market CLI like curl, but it has a loyal scraper/data-extraction niche because it can handle awkward mixed web data without gluing together several programs. The GitHub mirror metadata shows hundreds of stars, while the homepage documents prebuilt binaries for Windows, Linux, Android, and Mac preview builds, plus a single-binary usage model.
Its adoption path often overlaps with users of `curl`, `wget`, `xmlstarlet`, `jq`, XPath tools, and web scrapers. The difference is that Xidel can fetch, follow, query, pattern-match, transform, serialize, and export shell variables inside one XQuery-capable executable.
Typical usage is `xidel URL --extract QUERY`, where the query may be CSS, XPath, XQuery, JSONiq, or an annotated pattern template. The homepage examples include extracting Google result URLs, following links and printing titles, querying JSON APIs, submitting forms, transforming HTML, serializing JSON/XML/HTML, and exporting extracted values as shell variables.
Package users reach for Xidel when a one-liner needs more structure than grep/sed but less ceremony than a custom scraper. It is especially useful for HTML pages with broken markup, API responses that need XPath-like traversal, and data extraction tasks that mix downloading, following links, and transforming output.
Xidel is package-nerd significant because it is an unusually dense single-purpose CLI: web fetcher, query language runtime, and data serializer in one package. That makes it a useful example of a tool whose value comes from bundling several web-data primitives behind one stable command.
It also has a distinctive maintenance profile: FreePascal source, Mercurial origin, Git mirrors, SourceForge downloads, and modern package-manager distribution. That mix makes it feel like old-school Unix web tooling that kept absorbing newer query-language standards.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
xidel | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:xidel |
|---|---|
| 版本 | 0.9.8 |
| 软件包管理器 | Homebrew |
| 主页 | https://www.videlibri.de/xidel.html |
| 仓库 | https://github.com/benibela/xidel |
| 最后更新 | 2026-06-22T14:06:41-07:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
xidel
nix profile install nixpkgs#xidelxidel
choco install xidelmain/xidel
scoop install main/xidel来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.