Skip to main content

Command Completion Alerts—Stay Notified, Stay Productive!

Project description

TerminalAlert

contributors forks stars issues license

Command Completion Alerts—Stay Notified, Stay Productive!

Explore the repo

Table of Contents

Introduction

TerminalAlert is a command-line application that keeps you informed about the completion of your terminal commands.

Once a command completes, TerminalAlert sends a desktop notification indicating whether it succeeded or failed.

Perfect for multitaskers, this tool helps you stay productive without having to monitor the terminal constantly.

Features

  • Command Completion Alerts: Receive desktop notifications when your terminal commands finish executing.

  • Detailed Command Summary: After execution, the terminal displays:
    • Output: Standard output (if any).

    • Error: Standard error (if any).

    • Execution time: The time taken in seconds.

  • Success & Failure Indicators: Notifications clearly indicate whether the command succeeded or encountered errors.

  • Cross-Platform Support: Works on Windows, macOS, and Linux.

Installation

From PyPI (Using PIP)

pip install TerminalAlert

Usage

TerminalAlert is easy to use. Simply pass the command you want to execute as an argument, and you’ll receive a desktop notification upon its completion.

TerminalAlert does not save any of your commands.

usage: terminalalert [-h] [-u] command

Command Completion Alerts—Stay Notified, Stay Productive!

positional arguments:
  command       The command to run.

options:
  -h, --help    show this help message and exit
  -u, --update  Check if a new version is available.

Examples

Hello World

terminalalert "echo 'Hello World!'"

Clone a repo

terminalalert "git clone https://github.com/Jemeni11/TerminalAlert.git"

Check for an update

terminalalert -u

Roadmap

  • [✓] Initial MVP with desktop notifications

  • [ ] Fix Windows specific issues

See the open issues for a full list of proposed features (and known issues).

Why did I build this?

I was cloning a big git repo while coding. I didn’t want to monitor it 24/7, so I minimized the terminal and continued coding. To my surprise, when I checked after 10 minutes, the process had failed. My network connection was unreliable that day (let’s not name the ISP). I retried multiple times, and it failed multiple times. This experience inspired me to create a tool that could notify me when a terminal command completes.

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag “enhancement”. Don’t forget to give the project a star! Thanks again!

  1. Fork the Project

  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)

  3. Commit your Changes (git commit -m 'Add some AmazingFeature')

  4. Push to the Branch (git push origin feature/AmazingFeature)

  5. Open a Pull Request

Wait a minute, who are you?

TerminalAlert was built by Emmanuel Jemeni, a Frontend Developer with a passion for Python.

You can find me on various platforms:

If you’d like, you can support me on GitHub Sponsors or Buy Me A Coffee.

License

MIT License.

Changelog

Changelog

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

terminalalert-1.2.0.tar.gz (392.0 kB view details)

Uploaded Source

Built Distribution

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

TerminalAlert-1.2.0-py3-none-any.whl (387.4 kB view details)

Uploaded Python 3

File details

Details for the file terminalalert-1.2.0.tar.gz.

File metadata

  • Download URL: terminalalert-1.2.0.tar.gz
  • Upload date:
  • Size: 392.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for terminalalert-1.2.0.tar.gz
Algorithm Hash digest
SHA256 60ed8a20ff2b5d73ad7e6796e3059e79a69f22c26159ccb2fbba5ba925f06a2f
MD5 bc3e293ca0ddd9c8820e29611e55fbeb
BLAKE2b-256 bf020d78f12eae4047f76c41b3482efc09da2a8cc0f3e24a04cf9ca5d8bdd1a5

See more details on using hashes here.

File details

Details for the file TerminalAlert-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: TerminalAlert-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 387.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for TerminalAlert-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 40e76d60d5f31bbd1276f6bddfa8b26caa43fef84362b7c68ea4da48c286875e
MD5 1dcc4a6468ae638e3bfb6c1f60b73d3d
BLAKE2b-256 a79c8e8818cd8beca9075a9647168cdba2db55f3016aba39ff7b65d352cc71c2

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