Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/irevenko/tsukae
🐚📊 Show off your most used shell commands
https://github.com/irevenko/tsukae
cli command command-line command-line-tool commandline commands go golang golang-tools shell terminal terminal-based visualization
Last synced: 3 months ago
JSON representation
🐚📊 Show off your most used shell commands
- Host: GitHub
- URL: https://github.com/irevenko/tsukae
- Owner: irevenko
- License: mit
- Created: 2021-02-19T06:05:48.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-04-19T15:04:30.000Z (over 3 years ago)
- Last Synced: 2024-06-18T21:50:35.210Z (5 months ago)
- Topics: cli, command, command-line, command-line-tool, commandline, commands, go, golang, golang-tools, shell, terminal, terminal-based, visualization
- Language: Go
- Homepage:
- Size: 285 KB
- Stars: 434
- Watchers: 10
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - irevenko/tsukae - 🐚📊 Show off your most used shell commands (Go)
- awesome-fe-resources - tsukae
README
# 🐚📊 tsukae - Show off your most used shell commands
> Tsukae, 使え - means use in Japanese (so it refers to commands that you use)
Built on top of termui and cobra
Big shoutout to jokerj40 for suggesting this project idea (the original thought was to parse the history file)
# Installation 🔨
```go get -u github.com/irevenko/tsukae```
```tsukae ```
AUR package# Usage 🔬
`````` - zsh or bash or fish### Flags 🎌
```-p, --piechart``` - use with `````` (draws only piechart widget)
```-b, --barchart``` - use with `````` (draws only barchart widget)
```-l, --list``` - use with `````` (draws only list widget)
```-s, --shell-path``` - use with `````` Manualy provide the history file path### Draw all widgets
```tsukae ```
### Draw specific widget
```tsukae -p ```
```tsukae -b```
```tsukae -l```
### Pass certain commands number (1-15) and draw all widgets
```tsukae 10```### Draw specific widget with certain commands number
```tsukae 10 -p ```
```tsukae 5 -b```
```tsukae 3 -l```### Pass certain history file
```tsukae -s=$HOME/dir/hist_file```### Ignore commands by writing the to blacklist file
When you run ```tsukae``` for the first time it creates the blacklist file in ```$HOME/.config/tsukae``` and you can prevent some commands from displaying
Example of blacklist file:
```
echo
clear
cd
```# Contributing 🤝
Contributions, issues and feature requests are welcome! 👍
Feel free to check [open issues](https://github.com/irevenko/tsukae/issues).# Quick Start 🚀
```git clone https://github.com/irevenko/tsukae.git```
```cd tsukae```
```go get -d ./...```
```go build```# What I Learned 🧠
- Parsing Text Files using Go
- Drawing termui# License 📑
(c) 2021 Ilya Revenko. [MIT License](https://tldrlegal.com/license/mit-license)