8000 GitHub - kang8/cmd-wrapped: Find out what the past year looks like in commandline!
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kang8/cmd-wrapped

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English / 简体中文

cmd-wrapped

Find out what the past year looks like in commandline!

Stars   Release

Features

  • Analyze the commandline activity distribution for months, weekdays and hours, as well as frequently-used commands over the past years.
  • Github-style command distribution graph
  • Supports both Zsh & Bash
  • A cute Ferris on the cover

How to Use

  1. Build from source (recommended, but requires cargo installed):

    git clone git@github.com:YiNNx/cmd-wrapped.git
    cd cmd-wrapped
    # for the past year
    cargo run
    # or for any specific year
    cargo run -- 2022
    # specifying the shell [zsh/bash] 
    cargo run -- -s zsh
  2. Download from Release, unzip and run the binary file in the terminal:

    # for the past year
    ./cmd-wrapped
    # or for any specific year
    ./cmd-wrapped 2022

Note

In some cases, cmd-wrapped may fail to output correct data (such as all outputs being 0). This is because it relies on Zsh / Bash tracking the timestamp for each command, which requires configuring specific options extraly:

Commands executed before configuring the option won't be recorded with a timestamp and this will affect cmd-wrapped’s stats. If you find all your stats showing as 0, consider configuring the option now to view the cmd-wrapped stats next year :P

Credits & License

  • Special thanks to @jyi2ya for the cooool idea!
  • License: MIT

About

Find out what the past year looks like in commandline!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%
0