Github user information on terminal :D

Overview

octofetch

Use this if youre too lazy to open github lol

Installation

Local install with cargo

Run cargo install --git https://github.com/azur1s/octofetch

Arch

AUR (Not by me, but usable)

Github (requires Cargo)

  1. Clone git repos: git clone https://github.com/azur1s/octofetch
  2. Change directory: cd octofetch
  3. Build binary make or cargo bulid
  4. Change directory to ./target/debug and then run it!

Features

fetch github user stats lol

Usage

octofetch <username>

FAQ

Why rust? that language can also do the same thing!

Yes, I agree with that but, This is my first project on rust and I might implement some more feature in the future too. Pretty proud of it ngl :D

Comments
  • make install

    make install

    • Install octofetch with cargo install
    • Help message for make print help message if no make command is specified

    $ make

    output

    Commands
    
      build	 	 compile octofetch
      install	 compile and install octofetch
    
    
    opened by Senpai-10 1
  • Error handling

    Error handling

    image You deleted my error handling part, and now it errs again. Let me tell you why this happens. Rust prohibits saving null values in variables, for memory safety. What you're doing is trying to save a null value, and Rust kills the command BEFORE the expect command is even started. That's why you should check if the argument is null or not BEFORE the command that saves the variable. OK?

    opened by ghost 1
  • Expects Name as String

    Expects Name as String

    https://github.com/azur1s/octofetch/blob/d584513792144dcfa330fadd54fd9edf9f1a2e43/src/main.rs#L16

    Fun little tool! I hadn't set my name on my profile and it complained about receiving null value, if you feel like adding some more error checking :smile:

    bug 
    opened by alan-carroll 1
  • docs(readme): update installation

    docs(readme): update installation

    • rename Github (requires Cargo) to Manual install with cargo
    • fix typo bulid -> build
    • remove AUR section and add Linux section
      • now contains a badge that automatically updates as your code is published to more repositories
      • for example, I published octofetch on nix and it can be seen there
      • clicking on the badge shows all packages and whether they are up to date
    opened by jyooru 0
  • Add contribution history graph

    Add contribution history graph

    I've looked into this, apparently github doesn't have an endpoint for fetching the contribution calendar however you can get the data with GraphQL https://docs.github.com/en/graphql/reference/objects#contributionscollection noted here, we could use some boxes such as ■ to display the history

    Would look something like this: ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■

    enhancement 
    opened by Geoxor 0
  • Some improvements/fixes

    Some improvements/fixes

    1-FIXED-#13. Look at the output. There's a useless newline. I have no exclusive/special knowledge in Rust, so I don't know the various macros in the program. I think there could be a fix. image It happens here too. 2. How about displaying the profile picture on the left of the box? Looks like the viuer crate could do the job. 3. image This never happens if the terminal size is sufficient, but when the terminal is small, the output becomes garbled in a very unfashionable way. Neofetch solves the problem by detecting the terminal size and cutting the output. Looks like https://docs.rs/term_size/0.3.2/term_size/ could help you out.

    bug good first issue 
    opened by ghost 6
Releases(0.3.3)
Owner
Natapat Samutpong
09/04/2007
Natapat Samutpong
Terminal information for Rust.

terminfo Terminal capabilities with type-safe getters. Usage Add this to your Cargo.toml: [dependencies] terminfo = "0.1" and this to your crate root:

null 23 Dec 5, 2022
❗️ Small script to view GitHub notifications in the terminal

github-notifications Small script to view GitHub notifications in the terminal Shows and color-codes the notification source, eg if you're the owner o

Brian Shaginaw 1 Jan 10, 2022
Get your github contributions right in your terminal, blazingly fast!

GitColorScripts Get your github contributions right in your terminal! Installation Install via yay yay -S gitcolorscripts Install manually Download t

VoidCupboard 56 Jul 12, 2023
Build terminal user interfaces and dashboards using Rust

tui-rs tui-rs is a Rust library to build rich terminal user interfaces and dashboards. It is heavily inspired by the Javascript library blessed-contri

Florian Dehau 9.3k Jan 4, 2023
a terminal user interface for lemmy

Lemmy-Terminal-Viewer Terminal User Interface for lemmy for Linux Terminals (should work in MacOs but i can't test) Install and Usage Linux Download l

Luna 21 Oct 29, 2022
OSINT from your favorite services in a friendly terminal user interface

osintui Open Source Intelligence Terminal User Interface Report Bug · Request Feature Installation First, install Rust (using the recommended rustup i

Will Sheldon 639 Jan 4, 2023
Demo Rust Cursive crate for terminal user interface (TUI)

Demo Rust Cursive Demonstration of the Rust programming language and Cursvie crate for terminal user interface (TUI). Setup Create: cargo new demo Add

Joel Parker Henderson 5 Dec 27, 2022
Terminal User Interface to help debugging programs written for Triton VM.

Triton TUI Terminal User Interface to run and debug programs written for Triton VM. Getting Started Triton TUI tries to be helpful. ?? List possible (

Triton VM 4 May 7, 2024
A terminal ASCII media player. View images, gifs, videos, webcam, YouTube, etc.. directly in the terminal as ASCII art.

Terminal Media Player View images, videos (files or YouTube links), webcam, etc directly in the terminal as ASCII. All images you see below are just m

Max Curzi 36 May 8, 2023
ask.sh: AI terminal assistant that can read and write your terminal directly!

ask.sh: AI terminal assistant that read from & write to your terminal ask.sh is an AI terminal assistant based on OpenAI APIs such as GPT-3.5/4! What'

hmirin 5 Jun 20, 2023
A simple and efficient terminal UI implementation with ratatui.rs for getting quick insights from csv files right on the terminal

CSV-GREP csv-grep is an intuitive TUI application writting with ratatui.rs for reading, viewing and quickly analysing csv files right on the terminal.

Anthony Ezeabasili 16 Mar 10, 2024
Macchina - A system information frontend, with an (unhealthy) emphasis on performance.

macchina Fast, minimal and customizable system information frontend. Linux • macOS • Windows • NetBSD • FreeBSD • OpenWrt • Android About macchina let

Macchina CLI 682 Jan 5, 2023
Rust-battery - Rust crate providing cross-platform information about the notebook batteries.

battery Rust crate providing cross-platform information about the notebook batteries. Table of contents Overview Supported platforms Install Examples

svartalf 326 Dec 21, 2022
skyfetch ☁️ a system information fetch written in rust

skyfetch ☁️ a system information fetch written in rust requirements cargo install with curl

leo. 31 Dec 15, 2022
Are we lang yet? A simple website providing information about the status of Rust's language development ecosystem.

Are We Lang Yet This project answers the question "Is the Rust ecosystem ready to use for language development yet?". arewelangyet.com What is this? C

null 8 Dec 7, 2022
Binary Ninja plugin written in Rust to automatically apply symbol information from split debug info on Linux.

Load Symbols Binary Ninja plugin written in Rust to automatically apply symbol information from split debug info on Linux. Requirements Last tested wi

null 4 Jul 20, 2022
⚡ An extremely fast cross-compatible system information tool.

Lightfetch A extremely fast command-line system information tool written in Rust ⚡ . Gallery Sadly there isn't much to showcase right now. Download Av

bwtecode 2 Sep 12, 2022
⚡ An extremely fast cross-compatible system information tool.

Lightfetch A extremely fast command-line system information tool written in Rust ⚡ . Gallery Sadly there isn't much to showcase right now. Download Av

bwtecode 2 Sep 12, 2022
A utility written in Rust for dumping binary information out of Mach-O files inspired by objdump

Mach-O Dump (macho-dump) An objdump like tool for exploring and manipulating Mach-O files. Note: This project is in an early stage and most of the fea

Irides 2 Oct 17, 2022