Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dipaolo/deepeasy-terminal-stats
A Command Line Tool to get your terminal statistics
https://github.com/dipaolo/deepeasy-terminal-stats
cli console history shell statistics terminal utils
Last synced: 3 days ago
JSON representation
A Command Line Tool to get your terminal statistics
- Host: GitHub
- URL: https://github.com/dipaolo/deepeasy-terminal-stats
- Owner: DiPaolo
- License: mit
- Created: 2024-11-13T07:58:34.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-13T08:28:18.000Z (2 months ago)
- Last Synced: 2025-01-21T09:11:57.799Z (3 days ago)
- Topics: cli, console, history, shell, statistics, terminal, utils
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DeepEasy Terminal Stats
A command line tool that shows up statistics of commands you mostly used in terminal.
## Supported Shells
It's just the very basic support at the moment: MacOS's zsh and Ubuntu's bash. Feel free to ask for any further support: either through issues or contact me [here](#contact).
## Usage
There is only one way to use the tool for now – by using Python interpreter.
There will be ready-to-use executable later on... probably...
### Installation Step
```shell
git clone [email protected]:DiPaolo/deepeasy-terminal-stats.git
``````shell
cd deepeasy-terminal-stats
``````shell
pip -m virtualenv .venv
```
```shell
source .venv/bin/activate
``````shell
pip install -r requirements.txt
```Here it is – it's now ready to use.
### The Actual Usage
To get help/usage:
```shell
python -m dpsy_terminal_stats --help
```Get statistics for MacOS's zsh shell:
```shell
python -m dpsy_terminal_stats -f ~/.zsh_history
```Get statistics for Ubuntu's bash shell:
```shell
python -m dpsy_terminal_stats -f ~/.bash_history
```Output will look like this:
```shell
Command Count %
--- ----------------------------------- ------- -----
1 python 735 16.58
2 ffmpeg 412 9.29
3 ffprobe 320 7.22
4 cd 318 7.17
5 ffplay 152 3.43
6 git 145 3.27
7 ll 141 3.18
8 curl 126 2.84
9 docker 115 2.59
10 rm 99 2.23
11 yt-dlp 98 2.21
12 cat 89 2.01
13 mkdir 87 1.96
14 npm 83 1.87
15 alembic 70 1.58
16 conan 67 1.51
17 ssh 58 1.31
18 find 56 1.26
19 scp 52 1.17
20 mv 50 1.13
...
```## License
**MIT License**Copyright (c) 2024 **Pavel Dittenbier**
Please refer to [License](https://github.com/DiPaolo/deepeasy-terminal-stats/blob/main/LICENSE) page for details.
## Contact
Please feel free to contact me:
- [[email protected]](mailto:[email protected])
- Telegram: https://t.me/dipaolo