macOS
brew install onion-locationlocal Homebrew formula metadata
安装
brew install onion-locationlocal Homebrew formula metadata
概览
Discover advertised Onion-Location for given URLs
历史
onion-location is a small Python utility/library for discovering Onion-Location HTTP headers, the non-standard Tor Browser mechanism that lets a clearnet HTTPS site advertise its corresponding .onion service. Its package-nerd interest is less about a large standalone ecosystem and more about turning a Tor Browser convention into a scriptable CLI/library primitive.
The package appeared on PyPI as onion-location 0.1.0 on August 2, 2024, authored by Frederik "Freso" S. Olesen and licensed AGPL-3.0-or-later. PyPI describes the project as a Python library for discovering Onion-Location HTTP headers and shows a minimal API that resolves torproject.org to its advertised onion URL.
Its adoption evidence is modest: PyPI hosts the Python package and Homebrew packages it as onion-location. The project sits downstream of Tor's Onion-Location deployment guidance rather than defining the browser feature itself.
Developers and operators can use onion-location to check whether a URL advertises an onion counterpart without manually inspecting response headers. That makes it useful for audits of onion-service discoverability, small monitoring scripts, or package-index style metadata enrichment.
For package nerds, onion-location is a good example of a tiny package wrapping one operational convention: one HTTP response header, one Tor-specific validation model, and a CLI/package-manager surface that makes the convention easy to probe from automation.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
onion-location | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://codeberg.org/Freso/python-onion-location
安装元数据
| 软件包键 | brew:onion-location |
|---|---|
| 版本 | 0.1.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/onion-location |
| 主页 | https://codeberg.org/Freso/python-onion-location |
| 仓库 | https://codeberg.org/Freso/python-onion-location |
| 上游文档 | https://codeberg.org/Freso/python-onion-location |
| 许可证 | AGPL-3.0-or-later |
| 源码归档 | https://files.pythonhosted.org/packages/72/0d/e2656bdb8c66dc590da40622ca843f0513cd6f4b78bb1f9b6ed4592d283e/onion_location-0.1.0.tar.gz |
| 最后更新 | 2026-07-10T11:15:53Z |
| Pulse | updated |
| 依赖 | python@3.14 |
| macOS 提供的库 | libxml2, libxslt |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | onion-location |
| Version Scheme | 0 |
| Revision | 3 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.