openpurl is a CLI tool to open or print canonical URLs for software packages using the package-url specification.
openpurl pkg:pypi/uv@0.8.3
# Opens the URL https://pypi.org/project/uv/0.8.3
usage: openpurl [--print|-p] [pkg:...]
Clone the repository and build:
git clone https://github.com/becojo/openpurl.git && cd openpurl
go build -o openpurl
URL templates for each package ecosystem are defined in config.yaml
using Go templates.