<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mihir</title>
    <description>The latest articles on DEV Community by Mihir (@mihir95).</description>
    <link>https://dev.to/mihir95</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3091666%2F1a08383a-dafa-44ea-ac33-ad2dc01e4496.jpeg</url>
      <title>DEV Community: Mihir</title>
      <link>https://dev.to/mihir95</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mihir95"/>
    <language>en</language>
    <item>
      <title>Telert – Telegram/Slack/Desktop alerts when your terminal commands finish</title>
      <dc:creator>Mihir</dc:creator>
      <pubDate>Sat, 26 Apr 2025 05:10:26 +0000</pubDate>
      <link>https://dev.to/mihir95/telert-telegramslackdesktop-alerts-when-your-terminal-commands-finish-30ej</link>
      <guid>https://dev.to/mihir95/telert-telegramslackdesktop-alerts-when-your-terminal-commands-finish-30ej</guid>
      <description>&lt;p&gt;Hi everyone,&lt;/p&gt;

&lt;p&gt;I recently built a small open-source tool called &lt;strong&gt;&lt;a href="https://github.com/navig-me/telert/" rel="noopener noreferrer"&gt;Telert&lt;/a&gt;&lt;/strong&gt;.&lt;br&gt;
It helps you get notifications when your terminal commands or Python scripts finish running — useful when you run long processes and don't want to keep checking the terminal.&lt;/p&gt;

&lt;p&gt;I built it for myself initially, but realized it might help others too!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fypcpk117ovtqphqgiwtw.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fypcpk117ovtqphqgiwtw.gif" alt="Telert Demo" width="2074" height="1176"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  What Telert Does
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Works as a command-line utility and a Python hook&lt;/li&gt;
&lt;li&gt;Sends notifications via Telegram, Slack, Teams, desktop notifications, or audio alerts&lt;/li&gt;
&lt;li&gt;Customizable messages with status codes (success, failure, etc.)&lt;/li&gt;
&lt;li&gt;Hooks to auto-notify if a command runs longer than a set time&lt;/li&gt;
&lt;li&gt;Cross-platform install via pip: Linux, macOS, Windows&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  Quick Install
&lt;/h2&gt;

&lt;p&gt;Install Telert via pip:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pip install telert
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Set up your channels easily:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;telert config audio
telert config telegram --token "&amp;lt;token&amp;gt;" --chat-id "&amp;lt;chat-id&amp;gt;" --set-default
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Track your long running commands&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sleep 5 | telert
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You'll get an alert when the command completes!&lt;/p&gt;

&lt;h2&gt;
  
  
  Example Use Cases
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Monitor long-running ETL jobs and get notified when they complete&lt;/li&gt;
&lt;li&gt;Receive Telegram or Slack alerts after server updates, backups, or cronjobs finish&lt;/li&gt;
&lt;li&gt;Track the completion of machine learning model training or batch predictions&lt;/li&gt;
&lt;li&gt;Get desktop notifications after code compilation, testing, or Docker builds during development&lt;/li&gt;
&lt;li&gt;Get notified if any command takes longer than a set time &lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  GitHub Repository
&lt;/h2&gt;

&lt;p&gt;You can check out Telert here:&lt;br&gt;
&lt;a href="https://github.com/navig-me/telert" rel="noopener noreferrer"&gt;https://github.com/navig-me/telert&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Would love feedback, ideas, or suggestions on how to improve it!&lt;br&gt;
If you find it useful, a GitHub star ⭐ would be appreciated.&lt;/p&gt;

</description>
      <category>cli</category>
      <category>devops</category>
      <category>python</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
