Code Monkey home page Code Monkey logo

cmd-wrapped's Introduction

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 [email protected]: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

cmd-wrapped's People

Contributors

yinnx avatar luckasranarison avatar hughnew avatar 0xdeafbeef avatar

Watchers

 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.