Giter Site home page Giter Site logo

frankfanslc / cli-to-whatsapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cankush625/cli-to-whatsapp

0.0 1.0 0.0 1.61 MB

Script to send the CLI output of the linux command to the whatsapp contact as a message

License: MIT License

Shell 100.00%

cli-to-whatsapp's Introduction

CLI-To-Whatsapp

Script to send the CLI output of the linux command to the whatsapp contact as a message

This script is compatible with any linux distro like RHEL7/8, MX Linux, Ubuntu, etc.

How to use this script ?

  • Log in to the Whatsapp web

  • Run the following command to create link with phone number and CLI output as a message.
           var=$(sh whatsapp_message.sh)

    Note: The phone number must be entered in an international format and without + sign and space. Eg. For India country code is +91. So, for India phone number must start with 91 followed by a 10-digit mobile number as 91XXXXXXXXXX.

  • The variable named var contains the appropriate link to send the CLI output. We can open this link with google chrome using the following command:
           google-chrome $var

  • This will open the Whatsapp web app in the Google Chrome browser, automatically opens the chat window for an entered phone number, and fills the input message-box with the command line output we had passed through the link.

  • You are all done! As a final step, you are just required to click on the send button and our CLI output is sent to the contact.

Read my article to know more:

cli-to-whatsapp's People

Contributors

cankush625 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.