pkg.soopen package index

brew / 順位 5107

xurls を Homebrew, Nix でインストール

xurls のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install xurls

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#xurls

nixpkgs package indexes · pkgs/by-name/xu/xurls/package.nix · ソース: api.github.com

概要

パッケージ概要

Extract urls from text

コマンドとエイリアス

  • xurls

履歴

プロジェクトの歴史と使われ方

xurls is Daniel Marti's Go library and CLI for extracting URLs from text with curated regular expressions. It exposes strict and relaxed matchers as Go APIs and ships `cmd/xurls` for shell pipelines.

プロジェクトの歴史

The GitHub repository was created in January 2015 and grew as a small Go package centered on reusable `regexp.Regexp` values. The README documents the v2 module path `mvdan.cc/xurls/v2`, strict and relaxed matching, cached compiled expressions, and a CLI install path via `go install`.

The release history shows the project adapting to URL edge cases rather than trying to become a full parser: Go modules, internationalized and punycode TLD handling, markdown punctuation cases, large-input CLI fixes, `xurls -fix`, redirect handling, and regular updates to TLD and scheme lists.

採用の歴史

xurls is used as both a library and a command because URL extraction from arbitrary text appears in log processing, documentation checks, chat exports, feed cleanup, and static analysis. Its package-manager presence points to a developer-tool audience rather than a large end-user app.

使われ方

As a CLI, `xurls` reads text and prints matched URLs for shell pipelines. As a Go package, callers use `xurls.Relaxed()` or `xurls.Strict()` and then call standard `regexp` methods such as `FindString` or `FindAllString`.

パッケージ好きにとっての重要性

xurls is package-nerd interesting because it packages a messy text-processing convention as a tiny, reproducible Go tool. Its history is mostly a record of edge cases in the public URL ecosystem: new schemes, TLD churn, Unicode, markdown punctuation, email ambiguity, and redirect cleanup.

タイムライン

  • 2015-01-12: GitHub repository created.
  • 2018-10-21: v2.0.0 converts the API to Go modules under `mvdan.cc/xurls/v2`.
  • 2019-09-22: v2.1.0 improves punycode and markdown-adjacent matching and fixes a large-input CLI crash.
  • 2020-04-17: v2.2.0 adds `xurls -fix` and improves non-ASCII TLD matching.
  • 2023-04-16: v2.5.0 expands `xurls -fix` behavior and adds a version flag.
  • 2025-01-02: v2.6.0 updates schemes/TLDs and refines relaxed matching.

Related projects

  • Go `regexp`: the standard API shape xurls deliberately exposes.
  • mvdan.cc/sh and shfmt: other developer tools by the same author.
  • Public TLD and URI-scheme data sources: the moving ecosystem xurls periodically tracks.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • Homebrew bottle メタデータは記録されていません。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
xurls実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-08-03
マネージャ版2.6.0
マネージャ更新日2026-07-25
ローカルデータ不明
上流利用不可
検出された最新未検出
  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:xurls
バージョン2.6.0
パッケージマネージャHomebrew
ホームページhttps://github.com/mvdan/xurls
リポジトリhttps://github.com/mvdan/xurls
最終更新2026-07-25T21:49:10+02:00
Pulseupdated
Bottle未記録
サービス宣言なし

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

xurls

nix profile install nixpkgs#xurls
  • normalized package name match
  • 一致条件: Xurls
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/xu/xurls/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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