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 clear command
  • Logs every use locally
  • --silent, --stats, --reset, and --ascii flags
  • Easily installable via pip
  • Fun + productive tracking your random clear hitting habit

📸 Example

$ clear
[🧹] Cleared 69 times.

$ clear --stats
[🧹] You have cleared your terminal 69 times. Keep it clean!

Installation

pip install cleartrack

Then add this to your .bashrc, .zshrc, or .config/fish/config.fish:

alias clear="cleartrack"

Reload your shell config:

source ~/.zshrc  # or ~/.bashrc

Usage

clear            # Clears screen + increments counter
clear --silent   # no output, just logs for tracking
clear --stats    # Show counter without clearing
clear --reset    # Reset the counter to 0
clear --ascii    # Show some fun 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.1.tar.gz (3.5 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.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cleartrack-1.0.1.tar.gz
  • Upload date:
  • Size: 3.5 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.1.tar.gz
Algorithm Hash digest
SHA256 dbd0cc1eabea83809d242555f1d29280b69e16dbffa79affee21aca732650847
MD5 a0435fcf7c82746f9ef8f9087cdb81c1
BLAKE2b-256 11d3ca85fe5cfe3f06fe952f89993c8642ed0275b85ae2815a7b084026cab4fc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cleartrack-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2680da964729dfe52242f5fe113cfbee66ad742a648720e91d360c6c3cc3a370
MD5 1671f9e123553540c35f3a7ff6938a4f
BLAKE2b-256 5260d0095a5bd6bd2494a9a82399e48e71fe709fdb5c98bea5f83c25f91766c3

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