Giter VIP home page Giter VIP logo

whatspup's Introduction

Whatspup

Use Whatsapp from commandline/console/cli using GoogleChrome puppeteer! ๐Ÿ˜„

Features

  • โœ… Send and receive messages
  • โœ… Read Receipts
  • โœ… Switch between users to chat with
  • โœ… Popup notifications for new chat messages
  • โœ… Privacy settings for popup notifications
  • โœ… One-time authentication, no need to scan QR code again and again
  • โœ… Windowless/headless (hidden) mode
  • โœ… Colorful chat messages

Of course, it is not possible to send/receive picture messages from command line.

Screenshot

Main Window

Requirements

  • Node v8+
  • puppeteer v0.13.0+

Tested on Windows with Node v8.9.1 and puppeteer v0.13.0

Installation

  • Clone this repository. git clone https://github.com/sarfraznawaz2005/whatspup.git
  • Type npm install
  • Type node chat.js USERNAME (case-sensitive)
  • Chrome will open up, now just scan Whatsapp QR Code once via whatsapp app in your mobile
  • Wait for connection and start typing your messages ๐Ÿ˜„

NOTE: Once you have connected by scanning QR code, your session will be saved so you won't have to scan it again and again unless you revoke from whatsapp app or by deleting tmp folder.

Commands

Changing User

You can switch chat with another user anytime by typing on console: --chat USERNAME (case-sensitive)

NOTE: USERNAME is supposed to be a person with whom you have already initiated a conversation in whatsapp. In other words, we use a selector to click that user's name from conversations list.

Clear Chat Screen

To clear chat screen, type --clear.

Options

You can set various options in config.js file.

Others

  • You can send common emojis directly by typing :smile:, :lol:, :happy:, :love:, :wink: OR ;-), :-), <3, etc

Contribute

You are welcome to contribute to this project.

Disclaimer

This project is not affiliated with official whatsapp in any sense.

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.