Automic VaultAutomic Vault

brew

Install onion-location with Homebrew

Discover advertised Onion-Location for given URLs. Version 0.1.0 via Homebrew; verified 2026-04-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install onion-location

local Homebrew formula metadata

overview

Package summary

Discover advertised Onion-Location for given URLs

Commands and aliases

  • onion-location

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2020: Tor Browser 9.5 introduced user-facing Onion-Location support, giving HTTPS sites a browser-visible way to advertise onion services.
  • 2024-08-02: onion-location 0.1.0 was released on PyPI.
  • 2026: Homebrew distributes onion-location as a formula with the same advertised purpose.

Related projects

  • The project is related to Tor Browser's Onion-Location feature, Tor onion services, and broader onion-service discovery work.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
onion-locationcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.1.0
manager updated2026-04-22
local dataok
upstreamnot checked
latest detectednot detected

https://codeberg.org/Freso/python-onion-location

install metadata

Package metadata

Package keybrew:onion-location
Version0.1.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/onion-location
Homepagehttps://codeberg.org/Freso/python-onion-location
Repositoryhttps://codeberg.org/Freso/python-onion-location
Upstream docshttps://codeberg.org/Freso/python-onion-location
LicenseAGPL-3.0-or-later
Source archivehttps://files.pythonhosted.org/packages/72/0d/e2656bdb8c66dc590da40622ca843f0513cd6f4b78bb1f9b6ed4592d283e/onion_location-0.1.0.tar.gz
Last updated2026-04-22T11:40:33Z
Pulseupdated
Dependenciespython@3.14
Uses from macOSlibxml2, libxslt
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameonion-location
Version Scheme0
Revision2
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment