All Projects β†’ irevenko β†’ Tsukae

irevenko / Tsukae

Licence: mit
πŸ§‘β€πŸ’»πŸ“Š Show off your most used shell commands

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects
golang
3204 projects

Projects that are alternatives of or similar to Tsukae

Typin
Declarative framework for interactive CLI applications
Stars: ✭ 126 (-63.48%)
Mutual labels:  command-line-tool, terminal-based, cli, terminal, command-line, command
You Dont Need Gui
Stop relying on GUI; CLI **ROCKS**
Stars: ✭ 4,766 (+1281.45%)
Mutual labels:  command-line-tool, commandline, cli, command-line, command
Cobra
A Commander for modern Go CLI interactions
Stars: ✭ 24,437 (+6983.19%)
Mutual labels:  commandline, cli, command-line, command
Py cui
A python library for intuitively creating CUI/TUI interfaces with widgets, inspired by gocui.
Stars: ✭ 380 (+10.14%)
Mutual labels:  terminal-based, terminal, command-line, command
Sultan
Sultan: Command and Rule over your Shell
Stars: ✭ 625 (+81.16%)
Mutual labels:  command-line-tool, cli, terminal, command-line
Jquery.terminal
jQuery Terminal Emulator - JavaScript library for creating web-based terminals with custom commands
Stars: ✭ 2,623 (+660.29%)
Mutual labels:  cli, terminal, command-line, command
Starcli
✨ Browse GitHub trending projects from your command line
Stars: ✭ 269 (-22.03%)
Mutual labels:  command-line-tool, commandline, cli, command-line
Ed
A modern UNIX ed (line editor) clone written in Go
Stars: ✭ 44 (-87.25%)
Mutual labels:  command-line-tool, cli, terminal, command-line
Brotab
Control your browser's tabs from the command line
Stars: ✭ 137 (-60.29%)
Mutual labels:  command-line-tool, commandline, cli, command-line
Tooling
Advancing Node.js as a framework for writing great tools
Stars: ✭ 98 (-71.59%)
Mutual labels:  command-line-tool, cli, terminal, command-line
Zoxide
A smarter cd command. Supports all major shells.
Stars: ✭ 4,422 (+1181.74%)
Mutual labels:  command-line-tool, cli, terminal, command-line
Gitlab Cli
Create a merge request from command line in gitlab
Stars: ✭ 224 (-35.07%)
Mutual labels:  command-line-tool, commandline, cli, command-line
Fd
A simple, fast and user-friendly alternative to 'find'
Stars: ✭ 19,851 (+5653.91%)
Mutual labels:  cli, terminal, command-line
gomphotherium
Gomphotherium (/ΛŒΙ‘Ι’mfΙ™ΛˆΞΈΙͺΙ™riΙ™m/; "welded beast"), a command line Mastodon client.
Stars: ✭ 22 (-93.62%)
Mutual labels:  commandline, command-line-tool, terminal-based
Sad
CLI search and replace | Space Age seD
Stars: ✭ 350 (+1.45%)
Mutual labels:  cli, terminal, command-line
Colorpedia
Command-line tool for looking up colors and palettes.
Stars: ✭ 255 (-26.09%)
Mutual labels:  command-line-tool, terminal-based, cli
dynamic-cli
A Modern, user-friendly command-line HTTP client for the API testing, and if you're stuck - Search and browse StackOverflow without leaving the CLI
Stars: ✭ 151 (-56.23%)
Mutual labels:  commandline, command, terminal-based
Ff
Find files (ff) by name, fast!
Stars: ✭ 257 (-25.51%)
Mutual labels:  command-line-tool, cli, command-line
Cliffy
NodeJS Framework for Interactive CLIs
Stars: ✭ 263 (-23.77%)
Mutual labels:  cli, command-line, command
Teip
Select partial standard input and replace with the result of another command efficiently
Stars: ✭ 280 (-18.84%)
Mutual labels:  cli, terminal, command-line

tsukae πŸ§‘β€πŸ’»πŸ“Š

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 <SHELL_NAME>

AUR package

Usage πŸ”¬

<SHELL_NAME> - zsh or bash or fish

Flags 🎌

-p, --piechart - use with <SHELL_NAME> (draws only piechart widget)
-b, --barchart - use with <SHELL_NAME> (draws only barchart widget)
-l, --list - use with <SHELL_NAME> (draws only list widget)
-s, --shell-path - use with <SHELL_NAME> Manualy provide the history file path

Draw all widgets

tsukae <SHELL_NAME>

Draw specific widget

tsukae <SHELL_NAME> -p

tsukae <SHELL_NAME> -b

tsukae <SHELL_NAME> -l

Pass certain commands number (1-15) and draw all widgets

tsukae <SHELL_NAME> 10

Draw specific widget with certain commands number

tsukae <SHELL_NAME> 10 -p
tsukae <SHELL_NAME> 5 -b
tsukae <SHELL_NAME> 3 -l

Pass certain history file

tsukae <SHELL_NAME> -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 if you don't want some commands to appear, you can just list them in this file
Example of blacklist file:

echo
clear
cd

Contributing 🀝

Contributions, issues and feature requests are welcome! πŸ‘
Feel free to check open 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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].