Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Hritik14 opened this issue Jul 31, 2023 · 3 comments
Open

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

Hritik14 opened this issue Jul 31, 2023 · 3 comments

Comments

@Hritik14
Copy link

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
Copy link

@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
Copy link
Author

Hritik14 commented Aug 1, 2023

@AyanSinhaMahapatra Sure! I've created a duplicate issue at package-url/packageurl-python#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
Copy link

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 ossf/wg-securing-critical-projects#74

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants