{"id":51020759,"url":"https://github.com/kfn-d0/netfetch","last_synced_at":"2026-06-21T16:01:20.868Z","repository":{"id":356345602,"uuid":"1232088444","full_name":"kfn-d0/netfetch","owner":"kfn-d0","description":"neofetch but for network","archived":false,"fork":false,"pushed_at":"2026-05-07T16:04:32.000Z","size":87,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-07T18:10:18.338Z","etag":null,"topics":["cpp","linux","windows"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kfn-d0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-07T15:19:44.000Z","updated_at":"2026-05-07T16:12:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/kfn-d0/netfetch","commit_stats":null,"previous_names":["kfn-d0/netfetch"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/kfn-d0/netfetch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kfn-d0%2Fnetfetch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kfn-d0%2Fnetfetch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kfn-d0%2Fnetfetch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kfn-d0%2Fnetfetch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kfn-d0","download_url":"https://codeload.github.com/kfn-d0/netfetch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kfn-d0%2Fnetfetch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34616512,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-21T02:00:05.568Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","linux","windows"],"created_at":"2026-06-21T16:01:18.713Z","updated_at":"2026-06-21T16:01:20.861Z","avatar_url":"https://github.com/kfn-d0.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Netfetch\n\nA lightweight, network diagnostic CLI for Windows and Linux, inspired by `neofetch`. It grabs your current network interfaces, speed, MTU, data usage, latency, public ASN/IP, and detects your OS to print it alongside a dynamic ASCII art logo.\n\n\u003cimg width=\"652\" height=\"421\" alt=\"1\" src=\"https://github.com/user-attachments/assets/9d72ee98-a009-4282-a95b-1e8a9c2738a3\" /\u003e \n\n\u003cimg width=\"827\" height=\"537\" alt=\"Captura de imagem_20260507_125902-1\" src=\"https://github.com/user-attachments/assets/adaeb775-1579-4299-834b-3f68fe434a7a\" /\u003e\n\n## Key Features (Linux Improvements)\n\nThis version includes several enhancements for Linux environments:\n- **Improved Latency Detection:** Falls back to the system `ping` command if raw socket permissions are missing.\n- **Smart Speed Detection:** Includes a fallback to check parent USB device speed (useful for RNDIS/USB Tethering devices like Xiaomi/Samsung phones).\n- **Accurate DHCP Info:** Better detection of dynamic address assignment on Linux.\n\n## Building from Source\n\nTo compile the project from source, you need a standard C++ compiler.\n\n**Windows (MinGW/GCC)**\nTo build the Windows executable with the embedded custom icon, make sure you link the resource file (`netfetch.res`) alongside the required networking libraries:\n```bash\ng++ netfetch.cpp netfetch.res -o netfetch.exe -lws2_32 -liphlpapi -lwininet\n```\n\n**Linux (GCC)**\nTo compile the binary for Linux, simply compile the source file. No external libraries are required:\n```bash\ng++ netfetch.cpp -o netfetch\n```\n\n## Installation\n\n### Global Installation\n\nTo install `netfetch` globally so you can run it from any terminal:\n\n#### Windows\n1. Open PowerShell or Command Prompt **as Administrator**.\n2. Run the executable with the install flag:\n   ```bash\n   .\\netfetch.exe --install\n   ```\n\n#### Linux\n1. Open a terminal.\n2. Run the compiled binary with the install flag:\n   ```bash\n   sudo ./netfetch --install\n   ```\n\n### Manual Installation\n- **Windows:** Copy `netfetch.exe` into your `C:\\Windows` folder.\n- **Linux:** Copy `netfetch` into your `/usr/local/bin` folder or `~/.local/bin/`.\n\n## Usage\n\nIf you installed it globally, simply run:\n\n```bash\nnetfetch\n```\n\nIf you are running it locally without installing, use:\n\n```bash\n# Windows\n.\\netfetch.exe\n\n# Linux\n./netfetch\n```\n\nFor a more compact view (hiding DHCP, MAC, etc.):\n\n```bash\nnetfetch --compact\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkfn-d0%2Fnetfetch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkfn-d0%2Fnetfetch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkfn-d0%2Fnetfetch/lists"}