sysinfo icon indicating copy to clipboard operation
sysinfo copied to clipboard

Get IP address in networks

Open my-lalex opened this issue 2 years ago • 7 comments

It would be awesome to have the IP address / submask / DNS / router for each network interface...

I'm not a Rust coder, but for a small application made with Tauri, even I could use your lib: thanks for the great DX 🙏🏻😎

my-lalex avatar Oct 17 '23 14:10 my-lalex

Glad to hear you liked it, thanks for the kind words!

As for the feature, why not. I don't plan to work on it any time soon but feel free to send a PR. :)

GuillaumeGomez avatar Oct 17 '23 14:10 GuillaumeGomez

It would have been such a pleasure if only I knew Rust a bit... 😅

Let's hope a rust coder having the skills will be interested in sending a PR... 😇

my-lalex avatar Oct 17 '23 15:10 my-lalex

I'd argue that it's a good occasion to learn. :wink:

GuillaumeGomez avatar Oct 17 '23 15:10 GuillaumeGomez

Oh I'd love that too 😍

byrnedo avatar Nov 13 '23 08:11 byrnedo

At the moment I use local-ip-address create for that, but would be nice if sysinfo had that included.

jb-alvarado avatar Nov 13 '23 08:11 jb-alvarado

If someone's not already working, can I try adding this? Would be having a similar approach of what https://github.com/EstebanBorai/local-ip-address has taken ?

PS - I am also not very good at Rust. But would love ot give it a try..

shubhexists avatar Nov 17 '23 14:11 shubhexists

Sure, go ahead.

GuillaumeGomez avatar Nov 17 '23 15:11 GuillaumeGomez

Done in https://github.com/GuillaumeGomez/sysinfo/pull/1218.

GuillaumeGomez avatar Mar 08 '24 15:03 GuillaumeGomez