Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kelyvin/google-messages-for-desktop

A "native-like" OS X, Windows, & Linux desktop app for Google Messages
https://github.com/kelyvin/google-messages-for-desktop

android android-messages desktop desktop-app electron google linux mac macos messages nativefier sms windows

Last synced: 5 days ago
JSON representation

A "native-like" OS X, Windows, & Linux desktop app for Google Messages

Awesome Lists containing this project

README

        

# Google Messages for Desktop

> This project is currently in maintenance mode and no new features will be added. If you'd like to use a similar app with potential richer functionality, go check out [OrangeDragon's android-messages-desktop project](https://github.com/OrangeDrangon/android-messages-desktop)!

![Google Messages Home Page](https://i.imgur.com/OVKBkNY.png)

A "native-like" desktop app for [Google Messages](https://www.messagesfordesktop.com/). This desktop app is supported by both [Nativefier](https://github.com/jiahaog/nativefier) and [Electron](https://github.com/electron/electron) version `^1.7.6`.

**The Mac, Windows, and Linux apps can be downloaded from the [latest release](https://github.com/kelyvin/Google-Messages-For-Desktop/releases).**

## Purpose
The purpose of this project is to build dedicated native-like desktop apps for Google Messages and leverage your OS's built in notification system.

This desktop app and project is not an official product of Google and I am not affiliated with Google in any way.

## Rebuilding the app
I have provided utility scripts through the `package.json` to automatically regenerate the app. Requires `nodejs v12+` and `npm v6+`

### Quick Commands
- `npm run mac` | Rebuild the mac app
- `npm run windows` | Rebuild the windows app
- `npm run windows:tray` | Rebuild the windows app w/ tray icon support
- `npm run linux` | Rebuild the linux app

## Windows

### Notifications
To receive notifications on Windows, you'll need to do the following:

1. Add a shortcut of this app to the Start Menu folder
2. In the "Windows Settings" app, check if the setting for "Show notifications in action center" is on (It might be off by default)

### Release Versions
Included in the Windows releases are two installation types for Google Messages.

1. Google Messages - when you close the app, it will completely end the process and stop running in the background
2. Google Messages with Tray - when you close the app, it will still exist in the system tray and run in the background

### For developers
These instructions were the result of an active issue with electron + Windows 8/10 and is resolved by setting `app.setAppUserModelId(process.execPath)` within `resources/app/lib/main.js` during electron initialization:

Example:

```javascript
const {app, shell} = electron;

app.setAppUserModelId(process.execPath); // Include this line

function getFilenameFromMime(name, mime) {
const exts = extName.mime(mime);
...
```

## Ubuntu Shortcut
Submitted by user [FlorentLM](https://github.com/kelyvin/Android-Messages-For-Desktop/issues/8), to create a shortcut for the Ubuntu launcher, please do the following:

1. Create and open the shortcut file
```bash
nano ~/.local/share/applications/Android-Messages.desktop
```

2. Copy and paste the following entry inside the file:

```ini
[Desktop Entry]
Version=1.0.0
Name=Google Messages
Comment=Send and recieve messages from your Android Phone
Keywords=Message;Messaging;Android;SMS
Exec=/path/to/installfolder/GoogleMessages
Icon=/path/to/installfolder/resources/app/icon.png
Terminal=false
Type=Application
Categories=Internet;Application;
StartupWMClass=android-messages-nativefier-f3cfa3
```

Be sure to replace /path/to/installfolder/ with your actual installation folder and Android Messages should appear along your other native apps.