Giter Club home page Giter Club logo

rsfetch's Introduction

logo

Fast (0.01s - 0.2s execution time) and somewhat(?) minimal fetch program written in Rust.

GitHub code size in bytes GitHub GitHub last commit GitHub issues

Table of Contents

Why I made it: I used to use neofetch, ufetch, and aurafetch a lot, but then that got me thinking. I have the skill to make my own script, so why not? At first, it was just a simple BASH script. Then I decided I wanted to try my hand at Rust, as it has interested me for a while. So... here's the end result. I am open to any criticisms you have. After all, I wish to make this better (as well as improve my Rust skills).

Things to Know

  1. The packages section only works for Arch (or Arch-based) distros as it uses pacman.

  2. If you plan to help, note that indentation is done with 4 spaces. It used to be tabs, but I have been told that spaces are the preferred indentation in the Rust community. Any new changes should be recorded in CHANGELOG.md.

Requirements

  • mpd + mpc for the music info. (Completely optional, as music info is turned off by default.)

Installation

I have prebuilt binaries in the releases tab for people who don't want to build from source, otherwise you can do this.

  1. Install rust and cargo.
  2. Clone the repository.
  3. cd fetch; make; sudo make install

Uninstall with sudo make uninstall.

AUR package

Optionally, if you use a Arch-based distro, you can use either of the following AUR packages:

  • rsfetch-git (This requires Rust as it builds from source.)
  • rsfetch-bin (This grabs the latest binary from releases.)

Screenshots

Help Help

Default Fetch Default

My Preference of Options + Execution Time Default

You can't see what options I choose because I aliased rsfetch to fetch. Here is the actual command ran.

rsfetch -C 0 -h false -i false -l false -u false

And yes, you saw right. Execution time was 0.012s! Crazy fast.

License

  • License has been set to Unlicense. Anybody can do anything with this repository. View license

rsfetch's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.