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

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

Metadata

Release files for cleartrack 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cleartrack 1.0.2
File Size Uploaded
cleartrack-1.0.2.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cleartrack 1.0.2
File Interpreter ABI Platform
cleartrack-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 9.5 kB

Release files / cleartrack-1.0.2.tar.gz

Download URL cleartrack-1.0.2.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
123eb7c5d19d1cecf367c71ef633195d176a481d1e249bd6498cad8e2247c65d
BLAKE2b-256 checksum
How to use checksums
581e2b4b5f00c7f182cf5e941c3886f2e66fc0e16f185bd7ff62a3ee45bbde4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.12

Release files / cleartrack-1.0.2-py3-none-any.whl

Download URL cleartrack-1.0.2-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0859c13083acfda83ed864dc78e769ca5d0bf9226a2de858ae33111bd00d712e
BLAKE2b-256 checksum
How to use checksums
bf25a6e7ba67ca96509bdfd4f8bda97418e5c349f65141fa6068c79fce5812f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.12

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page