• Stars
    star
    450
  • Rank 97,143 (Top 2 %)
  • Language
    JavaScript
  • License
    ISC License
  • Created over 9 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ’ฌ Command-line messaging for Facebook Messenger

Messer

Command-line Messaging for Facebook Messenger

Downloads Version License

Messer is a rich Facebook Messenger client for your terminal. Send and receive messages, view chat historys and more!

demo

Installation

$ npm install -g messer

Quick Start

node version 12.x required

  1. Install messer

  2. Run messer

    $ messer
  3. Enter your login details (don't worry, we don't store a thing)

FAQ

Do you store any of my data?

We don't store your username, password, or any of your interactions on Messer.

The only thing we store is a temporary login token when you first log in. This let's us authenticate you with Facebook without you having to enter your username and password every time. If you want to get rid of it, simply run messer cleanup, or if you're in a Messer session, run the logout command.

Can I use a deactivated Facebook account?

No, unforunately not. If you use Messer with a deactivated Facebook account, your account will be reactivated.

How do group chats work?

Messages from group chats appear like

(My cool friends) John Smith - hey guys!!$$@@

Send a message to a group by using the message command. The name is the name of the group chat! Reply works as normal

Commands Reference

message

Sends a message to a given user

(message | m) "<user>" <message>

Examples

  • message "Matthew" hello world!
  • m "Matthew" hello world!

When sending a message, Messer picks the closest match to what you type in as user. For this reason, you should probably use last names if you want to avoid accidentally texting someone.

reply

Replys to the last message you recevied i.e. Sends a message to the user of the most recently received message.

(reply | r) <message>

Example

  • r "hey yo this is my reply"

Note: this will only work if you have received at least one message through Messer.

contacts

Lists all of your Facebook friends

contacts

history

Displays the last n messages in the conversation with a given user. The number of messages to retrieve are optional (default is 5).

(history | h) "<user>" [<n>]

Examples

  • history "Matthew" 10
  • h "Matthew"

recent

Displays the n most recent conversations. The number of threads is optional (default is 5). The --history option will display the 5 most recent messages in each thread.

recent [<n>] [--history]

Examples

  • recent
  • recent 10
  • recent --history

clear

Clears the number of unread messages in the window title. Since we cannot listen on focus events, it has to be done manually.

(clear | c)

logout

Logs you out

logout

mute

Mutes a thread. If no seconds are specified, the thread is muted indefinetely.

mute "<thread-name>" [seconds]

unmute

Unmutes a thread

unmute "<thread-name>"

settings

Configure your user settings on Messer

settings (set | get | list) [<key>=<value>]

Examples

  • settings list
  • settings get SHOW_READ
  • settings set SHOW_READ=true

For supported settings, see section below

Supported Settings

  • SHOW_READ
    • Marks conversation as "read" when using clear command

Lock-on Mode

Locking on to a user or group allows you to send messages without having to specify the message command; just type away!

lock "Tom Q"

To unlock, simply run:

--unlock

Secret Mode

When in this mode, any messages sent or recieved in the thread will be deleted for you (note, they won't be deleted for everyone).

lock "Tom Q" --secret

Non-interactive Mode

Messer can be run in non-interactive mode with command line arguments to execute a single command.

messer --command='<command>'

Login will be prompted if this is the first time logging in.

Examples

  • messer --command='m "John Smith" Hey, John'
  • messer --command='r Hey, John'

Cleanup

If ever you want to clean up any old Messer sessions and start from scratch, run:

$ messer cleanup

Contributing

Want to add a new command, fix a bug or improve Messer in another way? Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the ISC License - see the LICENSE file for details

More Repositories

1

Emoodji

๐Ÿ˜„ ๐Ÿ“น CLMTrackr tool which tracks emotions with a webcam and a big blob
JavaScript
46
star
2

JSML

๐Ÿ“œ Dynamic, JSON powered HTML
JavaScript
34
star
3

Stats

๐Ÿ“– Crude tool to track lines of code written on GitHub. Needs lots of improvement.
JavaScript
20
star
4

Mongit

๐Ÿ’พ Mongo-esque Reddit-based Database!
JavaScript
20
star
5

3DVectorFields

โ†—๏ธ Vector fields in 3D, with field-based geometry transformation!
JavaScript
15
star
6

VectorFields

A three.js app to visualize vector fields.
JavaScript
13
star
7

Icon-Generator

Kind of like GitHub's icon generator... But cooler...
JavaScript
11
star
8

SublimeGameOfLife

๐ŸŽฒ A Sublime Text package which simulates Conway's Game of Life through your Sublime Text file's contents!
Python
9
star
9

WaveSimulator

๐ŸŒŠ customizable 3D simulation of constructive/destructive interference
JavaScript
7
star
10

WebWatch

๐Ÿ‘“ Customizable Periodic Web Scraping Automation and Aggregation
JavaScript
7
star
11

Comrat

โ— GitHub notifications on the desktop!
JavaScript
7
star
12

MyoThreeArm

๐Ÿ’ช ThreeJS arm to be interfaced with using EMG signals
JavaScript
7
star
13

HackGTeeny-Backend

Backend workshop for HackGT3eny
JavaScript
7
star
14

ContentSpinner

๐ŸŽ 
CSS
6
star
15

SassRaytracing

๐ŸŒžโœ๏ธ Raytracing with Sass!
CSS
6
star
16

HackGTeeny-Frontend

Frontend workshop for HackGT3eny
JavaScript
5
star
17

AutoColor

Bot to do automatic chat color changes in FB Chats. Inspired by @helloworld
JavaScript
4
star
18

goose

goose
HTML
4
star
19

WebRRT

๐ŸŒด ๐Ÿค– RRT with SVG
JavaScript
4
star
20

jamnetic-algorhythms

๐Ÿ› ๐ŸŽผ Using genetic algorithms to improvise over jazz standards
Python
4
star
21

GroupMeStats

Give stats on random stuff in GroupMe convos
JavaScript
3
star
22

FernFractals

๐ŸŒฟ Trying to learn some procedural content generation for plants
JavaScript
3
star
23

BloomJS

A JavaScript implementation of the Bloom Filter
JavaScript
3
star
24

3draw

3Draw
JavaScript
3
star
25

Smudge

๐Ÿ’… Sketch plugin to emulate blend functionality from Adobe Illustrator
JavaScript
3
star
26

automataic-beats

๐Ÿ› ๐ŸŽต Melody generation using Conway's Game of Life
JavaScript
3
star
27

3DIG

3D Icon-Generator
JavaScript
3
star
28

ta-run

๐ŸŽน Fork of tarun with more options support
JavaScript
2
star
29

tarun

Tarun piano
JavaScript
2
star
30

hackmit-spo-tfidf-y

Jupyter Notebook
2
star
31

PrettyGrid

JavaScript
2
star
32

Zeit

Markdown supporting microplatform to publish virtual newspapers. Built with Meteor.
JavaScript
2
star
33

Snow

Snow emulator I made a while back
2
star
34

MSSG

Meteor Static Site Generator - Node module to render meteor routes as HTML, using PhantomJS
JavaScript
2
star
35

WASup

๐ŸŒ ๐Ÿ”‰ ๐Ÿ“Š WebSockets + Audio + SVG
JavaScript
2
star
36

3D-BML

A 3D representation of the BML Traffic Model
JavaScript
2
star
37

FetchPathPlanning

CS8803 Final Project
Python
2
star
38

Ulam

Ulam spiral in three.js
JavaScript
2
star
39

Swirl

๐ŸŒ€ JavaScript program to 'swirl' images
JavaScript
2
star
40

waterfall-svg

๐ŸŒŠ Animated SVG waterfall
HTML
2
star
41

bitcamp-chrome-extension

โค๏ธ Chrome extension workshop for Bitcamp
JavaScript
2
star
42

BeadSort

๐Ÿ”ต BeadSort in the web!
JavaScript
2
star
43

HackRU-TechTalk

Tech Talk for HackRU
JavaScript
1
star
44

MundaneHexagon

Java
1
star
45

HexText

Fork of http://github.com/mjkaufer/Hex, now using SVG masks.
JavaScript
1
star
46

Array-Split

This is basically the shell of something I plan on creating allowing one to type with their minds!
CSS
1
star
47

Geek-Sonnet

Sonnet I wrote for English a while ago.
1
star
48

KarmAI

A webapp to determine the best time to submit a post to a certain subreddit.
JavaScript
1
star
49

SMSTrip

๐ŸŒŽ Directions via SMS
JavaScript
1
star
50

LangtonJS

Text-based Langton's Ant simulator, supporting multiple ants.
JavaScript
1
star
51

Flume

A CMS written with Meteor.
JavaScript
1
star
52

Apophysis-Fractals

1
star
53

jamnetic-algorhythms-workshop

Python
1
star
54

Mountains

Procedurally generated mountains, with some cool shaders
JavaScript
1
star
55

Flock

๐Ÿ”ด ๐Ÿ”ต Experimenting with flock dynamics
JavaScript
1
star
56

calc-buggywebsite

JavaScript
1
star
57

pseudo-buttons

๐Ÿ”ฒ Button animations using pseudoselectors
CSS
1
star
58

WebMM

Mobile manipulator in the web
JavaScript
1
star
59

hulugan

TypeScript
1
star
60

threejs-plot-hover

HTML
1
star
61

DesktopTriangles

Triangle solver, desktop.
JavaScript
1
star
62

MobileTriangles2

JavaScript
1
star
63

WadGuitar

Online Guitar Tab Player
HTML
1
star
64

PixelSorts

Pixelsorting algorithm. Examples are at the link there ->
Python
1
star
65

GameOfLife

Conway's Game of Life in Java, not the Hasbro game.
Java
1
star
66

WhatsGoingOn

Tool to send automatic phone calls to your friends asking what's going on!
JavaScript
1
star
67

Messer-GUI

๐Ÿ“Ÿ Messer, with more features and a blessed-based GUI
JavaScript
1
star
68

JSML-Compiler

Tool to compile JSML to HTML online
JavaScript
1
star
69

Sublime-Tetris

Tetris in Sublime Text
Python
1
star
70

PHP-Source

Sublime Text 3 plugin to automagically create `.phps` files from `.php` files. Useful for generating php source automatically.
Python
1
star
71

spo-tfidf-y

๐Ÿ’ฟโ†—๏ธ Converting songs to vectors, and using said vectors to analyze artist discography
Jupyter Notebook
1
star
72

CoefficientCalculator

๐Ÿ”ขโœ–๏ธ Calculate coefficients of multinomials
Python
1
star