package-url / purl-spec

A minimal specification for purl aka. a package "mostly universal" URL, join the discussion at https://gitter.im/package-url/Lobby
https://github.com/package-url/purl-spec
Other
696 stars 161 forks source link

purl.fyi: Convert all purl to URLs seamlessly #244

Open Hritik14 opened 1 year ago

Hritik14 commented 1 year ago

To make sharing purls easy, I've deployed https://purl.fyi, appending the purl to this domain redirects to the relevant package homepage. Eg: https://purl.fyi/pkg:pypi/vulnerablecode@33.2.0

The support for purls is not heavy and depends directly on purl2url.py module from packageurl-python (with some additions). IMO we should expand the support for all purls in one project (either https://github.com/hritik14/purl.fyi or otherwise). Please list all the scattered code you can find for converting a purl to a URL here.

AyanSinhaMahapatra commented 1 year ago

@Hritik14 thanks for purl.fyi and for this issue. Perhaps this should be at https://github.com/package-url/packageurl-python? this is related to the purl2url and not related to the spec.

Hritik14 commented 1 year ago

@AyanSinhaMahapatra Sure! I've created a duplicate issue at https://github.com/package-url/packageurl-python/issues/127

Although, I'd like to keep this issue open as well in case anyone finds non-pythonic way of converting purl to url (JS, Golang etc). Those would also help

andrewpollock commented 1 year ago

This is pretty cool. I'm trying to figure out an easy way to generate a valid purl for software, given the various inputs, basically to be able to address https://github.com/ossf/wg-securing-critical-projects/issues/74