• This repository has been archived on 30/Nov/2021
  • Stars
    star
    2,170
  • Rank 21,251 (Top 0.5 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 9 years ago
  • Updated over 6 years ago

Reviews

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

Repository Details

This is not an official Facebook product, and is not affiliated with, or sponsored or endorsed by, Facebook.

Messenger for Desktop 2

UNMAINTAINED -- Caprine is a nice alternative

OS X build Windows build Linux builds Downloads total Services status Join the chat

A simple & beautiful desktop client for Facebook Messenger. Chat without distractions on OS X, Windows and Linux. Not affiliated with Facebook. This is NOT an official product.

@devs: If you're willing to help improve, fix or maintain the app, I can make you a collaborator to help me. Join me on Gitter and let's chat!

Sponsors

BrowserStack

Thanks!

Features ⭐

  • Themes & Mini Mode
  • Native Notifications (with reply on OS X)
  • Spell Checker & Auto Correct
  • Support for Facebook for Work
  • Keyboard Shortcuts
  • Launch on OS startup
  • Automatic Updates

How to install

Note: If you download from the releases page, be careful what version you pick. Releases that end with -beta are beta releases, the ones that end with -dev are development releases, and the rest are stable. If you're unsure which to pick, opt for stable. Once you download the app, you'll be able to switch to another channel from the menu.

  • dev: these releases get the newest and hottest features, but they are less tested and might break things
  • beta: these releases are the right balance between getting new features early while staying away from nasty bugs
  • stable: these releases are more thoroughly tested; they receive new features later, but there's a lower chance that things will go wrong

If you want to help me make Messenger for Desktop better, I recommend dev or beta. Let's go!

OS X

DMG or zip:

  1. Download messengerfordesktop-x.x.x-osx.dmg or messengerfordesktop-x.x.x-osx.zip
  2. Open or unzip the file and drag the app into the Applications folder
  3. Done! The app will update automatically

Using brew:

  1. Run brew cask install messenger-for-desktop in your terminal
  2. The app will be installed in your Applications
  3. Done! The app will update automatically (you can also use brew)

Windows

Installer (recommended):

  1. Download messengerfordesktop-x.x.x-win32-nsis.exe
  2. Run the installer, wait until it finishes
  3. Done! The app will update automatically

Portable:

  1. Download messengerfordesktop-x.x.x-win32-portable.zip
  2. Extract the zip wherever you want (e.g. a flash drive) and run the app from there
  3. Done! The app will NOT update automatically, but you can still check for updates

Linux

Ubuntu, Debian 8+ (deb package):

  1. Download messengerfordesktop-x.x.x-linux-arch.deb
  2. Double click and install, or run dpkg -i messengerfordesktop-x.x.x-linux-arch.deb in the terminal
  3. Start the app with your app launcher or by running messengerfordesktop in a terminal
  4. Done! The app will NOT update automatically, but you can still check for updates

You can also use apt-get (recommended):

# Download my gpg key to make sure the deb you download is correct
sudo apt-key adv --keyserver pool.sks-keyservers.net --recv 6DDA23616E3FE905FFDA152AE61DA9241537994D

# Add my repository to your sources list (skip if you've done this already)
# Replace <channel> with stable, beta or dev (pick stable if you're unsure)
echo "deb https://dl.bintray.com/aluxian/deb/ <channel> main" |
  sudo tee -a /etc/apt/sources.list.d/aluxian.list

# Install Messenger for Desktop
sudo apt-get update
sudo apt-get install messengerfordesktop

Fedora, CentOS, Red Hat (RPM package):

  1. Download messengerfordesktop-x.x.x-linux-arch.rpm
  2. Double click and install, or run rpm -ivh messengerfordesktop-x.x.x-linux-arch.rpm in the terminal
  3. Start the app with your app launcher or by running messengerfordesktop in a terminal
  4. Done! The app will NOT update automatically, but you can still check for updates

You can also use yum (recommended):

# Add my repository to your repos list (skip if you've done this already)
sudo wget https://bintray.com/aluxian/rpm/rpm -O /etc/yum.repos.d/bintray-aluxian-rpm.repo

# Install Messenger for Desktop
sudo yum install messengerfordesktop.i386     # for 32-bit distros
sudo yum install messengerfordesktop.x86_64   # for 64-bit distros

Arch Linux (AUR):

  1. Simply run yaourt -S messengerfordesktop
  2. Start the app with your app launcher or by running messengerfordesktop in a terminal
  3. Done! The app will NOT update automatically, but you can still check for updates

Repository URL: https://aur.archlinux.org/packages/messengerfordesktop/

For Developers

Contributions are welcome! Please help me make Messenger for Desktop the best app for Facebook Messenger. For feature requests and bug reports please submit an issue or get in touch with me on Gitter or Twitter @aluxian.

Build

Note: for some tasks, a GitHub access token might be required (if you get errors, make sure you have this token). After you generate it (see here if you need help; repo permissions are enough), set it as an env var:

  • Unix: export GITHUB_TOKEN=123
  • Windows: set GITHUB_TOKEN=123

Install pre-requisites

If you want to build deb and rpm packages for Linux, you also need fpm. To install it on OS X:

sudo gem install fpm
brew install rpm

Install dependencies

Global dependencies:

npm install -g gulp

Local dependencies:

npm install
cd src && npm install

Native modules

The app uses native modules. Make sure you rebuild the modules before building the app:

gulp rebuild:<32|64>

Build and watch

During development you can use the watch tasks, which have live reload. As you edit files in ./src, they will be re-compiled and moved into the build folder:

gulp watch:<darwin64|linux32|linux64|win32>

If you want to build it just one time, use build:

gulp build:<darwin64|linux32|linux64|win32>

For production builds, set NODE_ENV=production or use the --prod flag. Production builds don't include dev modules.

gulp build:<darwin64|linux32|linux64|win32> --prod
NODE_ENV=production gulp build:<darwin64|linux32|linux64|win32>

To see detailed logs, run every gulp task with the --verbose flag.

If you don't specify a platform when running a task, the task will run for the current platform.

App debug logs

To see debug messages while running the app, set the DEBUG env var. This will print logs from the main process.

export DEBUG=messengerfordesktop:*

To open the webview dev tools, type this in the main dev tools console:

wv.openDevTools();

If you want to automatically open the webview dev tools, use:

localStorage.autoLaunchDevTools = true; // on
localStorage.removeItem('autoLaunchDevTools'); // off

Pack

OS X

You'll need to set these env vars:

SIGN_DARWIN_IDENTITY
SIGN_DARWIN_KEYCHAIN_NAME
SIGN_DARWIN_KEYCHAIN_PASSWORD

Pack the app in a neat .dmg:

gulp pack:darwin64:<dmg:zip> [--prod]

This uses node-appdmg which works only on OS X machines.

Windows

You'll need to set these env vars:

SIGNTOOL_PATH=
SIGN_WIN_CERTIFICATE_FILE=
SIGN_WIN_CERTIFICATE_PASSWORD=

Create an installer. This will also sign every executable inside the app, and the setup exe itself:

gulp pack:win32:installer [--prod]

Or, if you prefer, create a portable zip. This will also sign the executable:

gulp pack:win32:portable [--prod]

These tasks only work on Windows machines due to their dependencies: Squirrel.Windows and Microsoft's SignTool.

Linux

Create deb/rpm packages:

gulp pack:<linux32|linux64>:<deb|rpm> [--prod]

Make sure you've installed fpm.

Release flow

develop -> staging -> deploy -> master

  1. All work is done on branch develop. Every push to develop will make the CIs run code linting and other checks.
  2. In order to build, push to staging. Every push to staging will make the CIs build the app and upload it to Bintray at aluxian/artifacts, available for testing.
  3. After a version is tested and is ready for release, push it to deploy. This will rebuild the app and upload it to GitHub, Bintray and other repositories.
  4. Now, the code is ready to be merged into master.

More Repositories

1

electron-superkit

⚑ An Electron starter kit with super powers. ⚑
CoffeeScript
214
star
2

squirrel-updates-server

A simple node.js server for Squirrel.Mac and Squirrel.Windows which uses GitHub releases.
JavaScript
134
star
3

nwjs-starter

⚑ NW.js starter project powered by Gulp. ⚑
JavaScript
123
star
4

fish-kube-prompt

⎈ kubectl context/namespace in your fish shell prompt
Shell
77
star
5

CPP-ML-LinearRegression

A linear regression implementation in C++
C++
47
star
6

gulp-github-release

Create GitHub releases and upload assets.
JavaScript
16
star
7

Tweeather

ML project that correlates Twitter sentiment to European weather.
Scala
8
star
8

aluxian.com

My home on the interwebs!
HTML
8
star
9

klout-desktop

Unofficial desktop client for Klout. Runs on OS X, Windows and Linux.
JavaScript
8
star
10

gulp-appdmg

Generate beautiful DMG-images for your OS X applications.
JavaScript
7
star
11

FII-Lorem-UI

Sample Android app with Material Design.
Java
7
star
12

Codementor

An Android app I built for chatting on Codementor.
Java
5
star
13

heroku-buildpack-logstash

Shell
5
star
14

Butler

Butler is a personal, voice-powered assistant for Android.
Java
4
star
15

UniNet

A social network for universities. Coded together with @datBumbleB at FII Practic Hackathon 2015.
CSS
4
star
16

Coursera-Coding-the-Matrix

Homework for the "Coding the Matrix" course on Coursera (not completed).
Python
3
star
17

Assignment-Problem-Weighted-Bipartite-Matching

Assignment Problem (Weighted Bipartite Matching)
Java
3
star
18

SusuCatBot

The perfect companion for students.
Scala
2
star
19

Coursera-Machine-Learning

My homework for the "Machine Learning" course on Coursera that I completed in December 2014.
MATLAB
2
star
20

dotfiles-fish

My fish shell config
Shell
1
star
21

WHIX

Campus Hack 19 - Social media app
Swift
1
star
22

CHS-Cattics

Community for Cat Lovers. http://alux-cattics.herokuapp.com/
JavaScript
1
star
23

CNRV-RO-Website

JavaScript
1
star
24

zsh-gpt

Shell
1
star
25

docker-sentry-github

Official Sentry image with GitHub plugin
1
star
26

node-fbmessages

Builders for messages on Facebook Messenger Bot Platform
JavaScript
1
star
27

node-acrypto

Promise based version of Node.js crypto module which only includes randomBytes and pbkdf2.
JavaScript
1
star
28

CodeCon-Problems

Solutions and attempts to problems from Bloomberg's CodeCon
Scala
1
star
29

FPPiS

Functional Programming Principles in Scala
Scala
1
star
30

HackerRank-Problems

Solutions and attempts at problems from HackerRank
Scala
1
star
31

FlightManager-WinForms

A flight management dashboard written in C#
C#
1
star
32

alablad

Cryptocoin
C++
1
star
33

node-envv

Simple util for config files that checks and returns an env var.
JavaScript
1
star
34

hapi-auth-ownership

Ownership-based access control for your routes.
JavaScript
1
star
35

UoS-CS2-LaBASIC

LaBASIC is a BASIC interpreter for the LaFortuna board
C
1
star