{"id":17682583,"url":"https://github.com/romanthekat/topper-go","last_synced_at":"2026-05-01T14:34:09.517Z","repository":{"id":78457096,"uuid":"91952680","full_name":"romanthekat/topper-go","owner":"romanthekat","description":"This little tool parses your .bash_history file, and calculates the most frequent commands.","archived":false,"fork":false,"pushed_at":"2022-03-01T15:19:50.000Z","size":21,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-22T09:46:09.707Z","etag":null,"topics":["bash","command-line-tool","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/romanthekat.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-05-21T11:38:31.000Z","updated_at":"2022-03-01T15:19:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"70d5bb39-41b0-43a4-95d9-073d2926871c","html_url":"https://github.com/romanthekat/topper-go","commit_stats":null,"previous_names":["evilkhaoskat/topper-go"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/romanthekat/topper-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romanthekat%2Ftopper-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romanthekat%2Ftopper-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romanthekat%2Ftopper-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romanthekat%2Ftopper-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/romanthekat","download_url":"https://codeload.github.com/romanthekat/topper-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romanthekat%2Ftopper-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32501403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bash","command-line-tool","golang"],"created_at":"2024-10-24T09:22:38.263Z","updated_at":"2026-05-01T14:34:09.493Z","avatar_url":"https://github.com/romanthekat.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# topper-go\nThis little tool parses your `.bash_history` file, and calculates the most frequent commands.\n\n## How to build\n* with makefile: \n\n`make build` will produce topper-go executable file\n\n`make build.mac` or `make build.linux`\n\n* with go command\n\n`go build -o topper-go main.go`\n\n or\n\n`go build -o tg main.go`\n\nthat will produce `topper-go` or `tg` executable file.\n\n## How to use\n\n`tg` - to show top 10 commands\n\n`tg 5` - to show top 5 commands\n\nwith output format:\n```\n  155: ping ya.ru (x26)\n   21: ./launch.sh  (x26)\n   39: ls (x16)\n   94: git pull origin (x13)\n  228: git status (x10)\n  309: psql (x7)\n...\n```\n\nWhere for `155: ping ya.ru (x26)`:\n\n- `155` - command number in terms of bash, e.g. `!155` allows to repeat command execution\n- `ping ya.ru` - command itself\n- `(x26)` - current execution count\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromanthekat%2Ftopper-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fromanthekat%2Ftopper-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromanthekat%2Ftopper-go/lists"}