forked from nekohepott/WTFWMI
WTF With My Internet - Network diagnostics tool written in Go
- Go 72%
- Nix 20.5%
- Makefile 7.5%
| assets | docs: change screenshot to newer | |
| src | feat: add --port flag and print port in output | |
| .gitignore | chore: add .gitignore | |
| flake.lock | flake.nix | |
| flake.nix | fix: chenged nix flake wrong hash | |
| go.mod | refactor: change old ping module to new pro-bing | |
| go.sum | refactor: change old ping module to new pro-bing | |
| LICENSE | chore: add MIT License | |
| Makefile | chore: remove useless test command from Makefile | |
| README.md | fix: chenged nix flake wrong hash | |
WTFWMI (What The F*** With My Internet) - Network diagnostics tool written in Go
Why?
One beautiful evening I was surfing the web and suddenly I couldn't access half of websites.
I couldn't figure out what was the problem, DNS was okay, google.com was pingable and worked, but other websites were not.
After 20 minutes I figured out that I had a 90% packet loss, and it was my provider's fault.
So I want to write a simple tool to check my internet connection and know what's wrong!
Installation
From source (any Linux)
git clone https://codeberg.org/nekohepott/WTFWMI.git
cd WTFWMI
make build
sudo make install
From Nix
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
wtfwmi.url = "git+https://codeberg.org/nekohepott/WTFWMI";
};
#and then output it like that:
outputs = { self, nixpkgs, wtfwmi, ... }: {
nixosConfigurations.Heavens-Door = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
{
environment.systemPackages = [
wtfwmi.packages.x86_64-linux.default
];
}
];
};
};
Special thanks❤️
- b1u3rchie for Nix flake.