pkg.soopen package index

brew / 排名 6003

使用 Homebrew, chocolatey, Nix, scoop 安装 xidel

查看 xidel 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install xidel

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#xidel

nixpkgs package indexes · pkgs/by-name/xi/xidel/package.nix · 来源: api.github.com

Windows

Chocolatey已验证 · 92%
choco install xidel

Chocolatey community package catalog · xidel · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/xidel

Scoop official bucket manifest trees · bucket/xidel.json · 来源: api.github.com

概览

软件包摘要

XPath/XQuery 3.0, JSONiq interpreter to extract data from HTML/XML/JSON

命令和别名

  • xidel

历史

项目历史与用法

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.

时间线

  • 2012-09-05: initial Xidel release as a stand-alone command-line tool from the VideLibri backend.
  • 2012-11-06: version 0.6 adds XQuery support.
  • 2013-03-26: version 0.7 adds JSONiq support.
  • 2015-06-28: version 0.9 adds more XPath/XQuery 3.0 syntax, higher-order functions, and multipart form support.
  • 2016-06-08: version 0.9.4 completes much of XPath/XQuery 3.0 support and improves XQuery Test Suite conformance.
  • 2018-04-02: version 0.9.8 improves cookies, module loading, pattern matching, and multipage-template functions.
  • 0.9.9 development: the project advertises XPath/XQuery 3.1 progress and partial XPath 4.0 syntax support.

Related projects

  • VideLibri is the parent application/backend lineage from which Xidel was split as a stand-alone command-line tool.
  • XPath, XQuery, JSONiq, CSS selectors, and the W3C serialization/data-model standards are the query-language ecosystem Xidel packages for command-line use.
  • curl, wget, jq, and xmlstarlet are adjacent command-line tools that overlap with Xidel's web fetching, JSON querying, and XML processing use cases.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:interpreter

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
xidel可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本0.9.8
管理器更新时间2026-06-22
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:xidel
版本0.9.8
软件包管理器Homebrew
主页https://www.videlibri.de/xidel.html
仓库https://github.com/benibela/xidel
最后更新2026-06-22T14:06:41-07:00
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

xidel

nix profile install nixpkgs#xidel
  • normalized package name match
  • 匹配方式:Xidel
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/xi/xidel/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Chocolatey95%

xidel

choco install xidel
  • normalized package name match
  • 匹配方式:Xidel
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: xidel from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='8.17','wwphone-cti'
Scoop95%

main/xidel

scoop install main/xidel
  • normalized package name match
  • 匹配方式:Xidel
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/xidel.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation