A simple fetch program to print your system details for that sweet /g/ street cred
The idea is for it to work much like NeoFetch
$ shards && cake # => ./bin/crfetch
After making with cake run the binary
$ ./bin/crfetch
You can create an alias for this so it's easier to access
The idea is that it'll work like this to specify what you want to output
$ crfetch -c -i -cc
Follow install instructions.
Make sure to run tests:
$ crystal spec
All tests should pass before developing. If tests do not pass make sure to look at the log and figure out why, if it's a bug or a feature that you're wanting then make an issue and if you want to then make a pull request for it.
- Fork it (https://github.com/materialfuture/crfetch/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- Konstantine - creator and maintainer
Look into turning the lookup for system info into a Library after completing the basic version
- Get Operating System/Distro for all main machine types
- Get CPU Specs including number of cores (logical and physical)
- Get Memory; Total, Taken, Available
- Get GPU, Brand, VRAM, etc.
- Get HDD/SSD info,
- Get Shell used (fish, zsh, bash, etc)
- Get Packages installed via whatever package manager
- CPU temperatures, speed, etc.
- Add Shell shard to make shell commands easier to execute
- Integrate Admiral Shard to have flags and arguments
- Integrate the tablo (or other) Shard to cleanup output
- Break out MacOS commands via grep or awk