orhun/flawz

Press `space` to open the first http(s) reference in browser

mertssmnoglu opened this issue · 2 comments

Is your feature request related to a problem? Please describe.

I wanted to open the reference links of a random CVE and tried to clicking the urls with ctrl + click but it doesn't open anything. I need to write the whoole url to my web browser manually.

Describe the solution you'd like

Pressing space button can trigger xdg-open HTTP_URL, open HTTP_URL or something like that.

Describe alternatives you've considered

Surfing around the references with j,k or up,down keys and opening them in Web Browser via space

Additional context

The details page that I talking about.
20240518_23h31m07s_grim

There is also ftp:// urls too, thats why I highlighted http(s) in the feature request.

It's a good idea! Are you interested in contributing?

It's a good idea! Are you interested in contributing?

Yes, I'm into the contributing. I don't actively coding with Rust, but I will try to implement this feature in my fork.