Coder Social home page Coder Social logo

imessageclient's Introduction

terminal-based iMessage client for Mac OS X

note: no longer works in OS X 10.11 for sending iMessages.

Apple took away Messages.app UI scripting capabilities in OS X 10.11 to prevent this type of software. You can report this as a bug to Apple at: https://developer.apple.com/bug-reporting/ Alternatively, you can contribute to https://github.com/CamHenlin/iMessageModule and help figure out a way around scripting Messages.app.

note: if you would like a web-based iMessage client, check out iMessageWebClient or if you would like to run an iMessage bot, check out iMessageBot

iMessage client screenshot

requirements:

  • nodejs
  • Apple iMessages account signed in to Messages.app

How to run on your Mac:

Firstly, at the very minimum, you will have to enable assistive access to Terminal.app or iTerm2. If you want to run this over ssh, you will also need to enable access to sshd-keygen-wrapper. Next:

git clone https://github.com/CamHenlin/imessageclient.git

cd imessageclient

npm install

node app

How to use:

  • After starting, you should see your existing conversations on the right. Select one by pressing the up and down arrows, then press enter to load the conversation.
  • Once you have loaded a conversation, press the tab key to select the text entry field and type whatever you want to say.
  • Once you are ready to send your message, press the enter key. You should see the Messages app flash for a moment and send your message and then you should see it appear in the terminal.
  • In the text entry field, if you press tab, you will be brought back to the conversation selection list so you can select another conversation.
  • When you are selecting conversation, you can press the Q key to quit
  • To start a new conversation, press the N key while the message list is selected. To cancel, press escape.
  • You can toggle other services that you might have enabled in your Messages client by hitting the R button with the contact list selected
  • Press E button with contacts list highlighted to send an enter command to Messages.app, useful if it looks like your messages aren't being sent and you're running over ssh, clears most Messages.app dialogs and errors

This is clunky!

It seems to me that there is a way to access private APIs within OS X to send messages without the use of Messages.app, but I haven't figured out how to do so yet. Maybe you can help out and contribute? You can make this less clunky by helping out with this project nodeprivatemessageskit

Why did you make this?

Why not?

Sister project is available at: iMessageWebClient

Uses iMessageModule.

made with a mac

imessageclient's People

Stargazers

 avatar

Watchers

 avatar

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.