Fetch system info via crfetch, similar to NeoFetch
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Konstantine d38346f580 corrected things for arch os settings 1 month ago
spec cpu methods now mostly work, updated readme and version as well 4 months ago
src corrected things for arch os settings 1 month ago
.editorconfig init 4 months ago
.gitignore init 4 months ago
.travis.yml init 4 months ago
Cakefile added Cakefile 4 months ago
LICENSE update name to crfetch and some cleanup 4 months ago
README.md updated readme 1 month ago
shard.lock add shard lock 4 months ago
shard.yml updated version 4 months ago

README.md

CrFetch

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

Installation

$ shards && cake # => ./bin/crfetch

Usage

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

Development

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.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Notes

I realize this depends a lot on the shell’s features IE grep and such, they idea is to wireframe the functions of the application via shell scripts then break out into modular Crystal or C code to make the application leaner and not rely on shell or any dependancies.

Creating flags and such are an optional element that I wish to add but the requires the use of admiral unless there’s another way to go about doing that.

General QOL will be having it work on all base platforms and printing out the distro’s symbol (ie Arch, FreeBSD, NixOS).