2020-11-19 00:02:21 +01:00
2020-11-18 23:58:28 +01:00
2020-11-17 16:24:59 +01:00
2020-11-16 01:49:58 +01:00
2020-11-18 22:39:53 +01:00
2020-11-18 22:39:53 +01:00
2020-11-18 13:23:49 +01:00
2020-11-18 01:05:24 +01:00

whatscli

A command line interface for whatsapp, based on go-whatsapp and tview

┌─────────────────────────────────────────────────────────────────────────┐
│ WhatsCLI v0.4.2  Help: /name NewName | /addname 123456 NewName | /quit |│
├──────────────────────────────┬──────────────────────────────────────────┤
│Contacts                      │(03-14-12 22:59:00) Me: Hey, whatscli here│
│├──Peter                      │(03-14-12 23:00:00) Peter: Cool 😀        │
│├──Paul                       │                                          │
│└──Mary                       │                                          │
│                              │                                          │
│                              │                                          │
│                              │                                          │
│                              │                                          │
│                              │                                          │
│                              │                                          │
│                              │                                          │
│                              │                                          │
│                              │                                          │
│                              │                                          │
│                              │                                          │
│                              │                                          │
│                              │                                          │
│                              ├──────────────────────────────────────────┤
│                              │Yeah, love the shell!                     │
└──────────────────────────────┴──────────────────────────────────────────┘

Features

Things that work.

  • Allows sending and receiving WhatsApp messages in a command line app
  • Connects through the Web App API without browser
  • Uses QR code for simple setup
  • Binaries for Windows, Mac, Linux and RaspBerry Pi

Caveats

This is a WIP. Heres some things you might expect to work that don't. Plus some other things I should mention.

  • Only shows existing chats
  • Only fetches a few old messages
  • No support for images, videos, documents etc.
  • No incoming message notification / count
  • No proper connection drop handling
  • Not configurable at all
  • Leaves its config files in your home folder
  • FaceBook obviously doesn't endorse or like these kinds of apps and they're likely to break when FaceBook changes stuff in their web app

Installation / Usage

How to get it running and how to use it

  • Download a release
  • Put the binary in your PATH (optional)
  • Run with whatscli (or double-click)
  • Scan the QR code with WhatsApp on your phone (maybe resize shell)
Description
A command line interface for WhatsApp
Readme 675 KiB
Languages
Go 97.8%
Shell 2%
Makefile 0.2%