{"id":13581918,"url":"https://github.com/irevenko/tsukae","last_synced_at":"2025-04-06T14:12:21.249Z","repository":{"id":50713803,"uuid":"340274346","full_name":"irevenko/tsukae","owner":"irevenko","description":"🐚📊 Show off your most used shell commands","archived":false,"fork":false,"pushed_at":"2021-04-19T15:04:30.000Z","size":292,"stargazers_count":438,"open_issues_count":0,"forks_count":6,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-03-30T12:09:46.353Z","etag":null,"topics":["cli","command","command-line","command-line-tool","commandline","commands","go","golang","golang-tools","shell","terminal","terminal-based","visualization"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/irevenko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-19T06:05:48.000Z","updated_at":"2025-02-16T06:07:24.000Z","dependencies_parsed_at":"2022-09-18T08:50:35.025Z","dependency_job_id":null,"html_url":"https://github.com/irevenko/tsukae","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irevenko%2Ftsukae","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irevenko%2Ftsukae/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irevenko%2Ftsukae/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irevenko%2Ftsukae/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/irevenko","download_url":"https://codeload.github.com/irevenko/tsukae/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247492557,"owners_count":20947545,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","command","command-line","command-line-tool","commandline","commands","go","golang","golang-tools","shell","terminal","terminal-based","visualization"],"created_at":"2024-08-01T15:02:19.191Z","updated_at":"2025-04-06T14:12:21.228Z","avatar_url":"https://github.com/irevenko.png","language":"Go","readme":"# 🐚📊 tsukae - Show off your most used shell commands \n\n\u003e Tsukae, 使え - means \u003ci\u003euse\u003c/i\u003e in Japanese (so it refers to commands that you \u003ci\u003euse\u003c/i\u003e)\n\u003cp align=\"center\"\u003e\u003cimg src=\"tsukae.gif\"\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003eBuilt on top of \u003ca href=\"https://github.com/gizak/termui\"\u003etermui\u003c/a\u003e and \u003ca href=\"https://github.com/spf13/cobra\"\u003ecobra\u003c/a\u003e \u003c/p\u003e \u003cbr\u003e\n\u003cp align=\"center\"\u003eBig shoutout to \u003ca href=\"https://gitlab.com/jokerj40\"\u003ejokerj40\u003c/a\u003e for suggesting this project idea (the original thought was to parse the history file) \u003c/p\u003e\n\n# Installation 🔨\n```go get -u github.com/irevenko/tsukae``` \u003cbr\u003e\n```tsukae \u003cSHELL_NAME\u003e``` \u003cbr\u003e \u003cbr\u003e\n\u003ca href=\"https://aur.archlinux.org/packages/tsukae-git/\"\u003e AUR package \u003c/a\u003e\n\n\n# Usage 🔬\n```\u003cSHELL_NAME\u003e``` - \u003cb\u003ezsh\u003c/b\u003e or \u003cb\u003ebash\u003c/b\u003e or \u003cb\u003efish\u003c/b\u003e\n\n### Flags 🎌\n```-p, --piechart``` - use with ```\u003cSHELL_NAME\u003e``` (draws only piechart widget) \u003cbr\u003e\n```-b, --barchart``` - use with ```\u003cSHELL_NAME\u003e``` (draws only barchart widget) \u003cbr\u003e\n```-l, --list``` - use with ```\u003cSHELL_NAME\u003e``` (draws only list widget) \u003cbr\u003e\n```-s, --shell-path``` - use with ```\u003cSHELL_NAME\u003e``` Manualy provide the history file path\n\n### Draw all widgets\n```tsukae \u003cSHELL_NAME\u003e``` \u003cbr\u003e\n\u003cimg src=\"tsukae.gif\" width=\"300\"\u003e \n\n### Draw specific widget\n```tsukae \u003cSHELL_NAME\u003e -p ``` \u003cbr\u003e\n\u003cimg src=\"https://i.imgur.com/FsXDwsC.jpg\" width=\"300\"\u003e \u003cbr\u003e\n```tsukae \u003cSHELL_NAME\u003e -b```  \u003cbr\u003e\n\u003cimg src=\"https://i.imgur.com/O9q0SVx.jpg\" width=\"500\"\u003e \u003cbr\u003e\n```tsukae \u003cSHELL_NAME\u003e -l``` \u003cbr\u003e\n\u003cimg src=\"https://i.imgur.com/FEgw8wp.jpg\" width=\"300\"\u003e\n\n### Pass certain commands number (1-15) and draw all widgets\n```tsukae \u003cSHELL_NAME\u003e 10```\n\n### Draw specific widget with certain commands number\n```tsukae \u003cSHELL_NAME\u003e 10 -p ``` \u003cbr\u003e\n```tsukae \u003cSHELL_NAME\u003e 5 -b``` \u003cbr\u003e \n```tsukae \u003cSHELL_NAME\u003e 3 -l``` \n\n### Pass certain history file\n```tsukae \u003cSHELL_NAME\u003e -s=$HOME/dir/hist_file```\n\n### Ignore commands by writing the to \u003cb\u003eblacklist\u003c/b\u003e file\nWhen you run ```tsukae``` for the first time it creates the \u003cb\u003eblacklist\u003c/b\u003e file in ```$HOME/.config/tsukae``` and you can prevent some commands from displaying\nExample of \u003ci\u003eblacklist\u003c/i\u003e file:  \u003cbr\u003e \n```\necho\nclear\ncd\n```\n\n# Contributing 🤝\nContributions, issues and feature requests are welcome! 👍 \u003cbr\u003e\nFeel free to check [open issues](https://github.com/irevenko/tsukae/issues).\n\n# Quick Start 🚀\n```git clone https://github.com/irevenko/tsukae.git``` \u003cbr\u003e\n```cd tsukae``` \u003cbr\u003e\n```go get -d ./...``` \u003cbr\u003e\n```go build``` \u003cbr\u003e\n\n# What I Learned 🧠\n- Parsing Text Files using Go\n- Drawing termui\n\n# License 📑 \n(c) 2021 Ilya Revenko. [MIT License](https://tldrlegal.com/license/mit-license)\n","funding_links":[],"categories":["Go","应用相关"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firevenko%2Ftsukae","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firevenko%2Ftsukae","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firevenko%2Ftsukae/lists"}