Giter Club home page Giter Club logo

cmd-wrapped's Introduction

English / 简体中文

cmd-wrapped

Find out what the past year looks like in command line!

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

  • Supported shell / history tool:

    • zsh
    • bash
    • fish
    • atuin
  • A cute Ferris on the cover

How to Use

Installation

  • Install using cargo

    cargo install cmd-wrapped
    cmd-wrapped
  • Download from Release, unzip and run the binary file in the terminal:

    ./cmd-wrapped

Usage

cmd-wrapped [<year>] [-s <shell>] 

# e.g.
cmd-wrapped               # for the past year & current shell
cmd-wrapped 2024 -s zsh   # specify the year & the shell type

Supported options for <shell> : zsh, bash, fish, atuin.

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 mgmcn avatar 0xdeafbeef avatar kang8 avatar aeghn 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.