Skip to main content

A fun CLI tool to track how often you clear your terminal.

Project description

 _________ .__                        __                        __    
 \_   ___ \|  |   ____ _____ ________/  |_____________    ____ |  | __
 /    \  \/|  | _/ __ \\__  \\_  __ \   __\_  __ \__  \ _/ ___\|  |/ /
 \     \___|  |_\  ___/ / __ \|  | \/|  |  |  | \// __ \\  \___|    < 
  \______  /____/\___  >____  /__|   |__|  |__|  (____  /\___  >__|_ \
         \/          \/     \/                        \/     \/     \/ 

cleartrack CLI

PyPI version Downloads Release License

Track your terminal clear habits with style.

Features

  • Replaces your default clear command seamlessly
  • Logs every clear invocation locally for detailed tracking
  • Supports useful flags:
    • --stats — display detailed clear stats with charts
    • --reset — reset your clear count and logs
    • --ascii — display fun ASCII art
  • Easy installation via pip
  • Encourages productive and fun terminal usage tracking

Example

$ clear --stats
[🧼] You've cleared 69 times  just getting started!

🧹 Terminal Clear Stats (Last 10 days)

2025-05-21 | ██████████████████████████████ 3

Average clears per day: 3.0

Installation

pip install cleartrack

Then add the following alias to your shell config .bashrc, .zshrc, or .config/fish/config.fish:

alias clear="cleartrack"

Reload your shell configuration:

source ~/.bashrc  # or source ~/.zshrc, depending on your shell

Usage

Command Description
clear Clear screen and increment counter
clear --stats Show detailed clear stats
clear --reset Reset clear counter and logs
clear --ascii Display ASCII art

Developer Mode

git clone https://github.com/anilrajrimal1/cleartrack.git
cd cleartrack
pip install -e .

📄 License

MIT © Anil Raj Rimal

Clear the noise. Count the habit. — cleartrack

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cleartrack-1.0.2.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cleartrack-1.0.2-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file cleartrack-1.0.2.tar.gz.

File metadata

  • Download URL: cleartrack-1.0.2.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for cleartrack-1.0.2.tar.gz
Algorithm Hash digest
SHA256 123eb7c5d19d1cecf367c71ef633195d176a481d1e249bd6498cad8e2247c65d
MD5 c06533cc5c6cbf7b084ed326ee06e08c
BLAKE2b-256 581e2b4b5f00c7f182cf5e941c3886f2e66fc0e16f185bd7ff62a3ee45bbde4b

See more details on using hashes here.

File details

Details for the file cleartrack-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: cleartrack-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for cleartrack-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0859c13083acfda83ed864dc78e769ca5d0bf9226a2de858ae33111bd00d712e
MD5 2f5e1c68f56316ce2693122db280dc2c
BLAKE2b-256 bf25a6e7ba67ca96509bdfd4f8bda97418e5c349f65141fa6068c79fce5812f4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page