- Doprafetch -
Why?
You might have already wondered: what hardware your AP/Router have?
Well, I did and wanted to check it out!
Since you can SSH into your router, it's way easy to check it out. Even if you have commands like
display deviceInfo
it doesnt really show what's inside.
How?
The program get the system information mostly with few system comands and reading some "files". All made in Golang with 100 lines of code!
Download?
The project is open source! The link to the repository is https://github.com/princessmortix/doprafetch (What's GitHub/What is this link?)
You can either download it from github releases or build it youself.
Building
To build you'll need Golang. You can download it here.
After installing, clone the repositoru, either with
git clone https://github.com/princessmortix/doprafetch
(If you have git), or download by clicking there:

Then, on dropafetch folder, open a terminal window and paste these commands:
go get github.com/cloudfoundry/gosigar go get github.com/fatih/color go get github.com/ricochet2200/go-disk-usage/du
These commands downloads the needed libraries to compile Dropafetch.
After that, set the needed environment variables with these commands:
(On Windows:)
set GOOS=linux set GOARCH=arm
(On linux:)
export GOOS=linux export GOARCH=arm
These commands are necessary to tell the compiler to compile the program for the linux on the ARM architecture.
After that, you'll only need to run
go build
to build the program, simple as that, right?
What's next planned?
Configuration (using flags)
Compatibily between devices
Get the data before printing
An easy way to download the program on the AP/Router.
Screenshot:

=============================
If you have any suggestions, ideas or just wanna say hi, just reply to me in this post!
- Princess Mortix, 2021
=============================
Changelog:
V2.1 (Beta, not released yet)
Use build flags instead of using runtime library;
Smaller code.
V2:
Fixed uptime issues;
Fixed CPU detection;
Added disk usage;
Fixed shell/busybox version
Fixed typo (dropa -> dopra);
Added firmware version;
Fixed kernel version.

