{"id":13582997,"url":"https://github.com/CamHenlin/iMessageModule","last_synced_at":"2025-04-06T18:31:45.823Z","repository":{"id":29844722,"uuid":"33389514","full_name":"CamHenlin/iMessageModule","owner":"CamHenlin","description":"A node module for sending iMessages on your Mac","archived":false,"fork":false,"pushed_at":"2021-09-18T07:15:23.000Z","size":2930,"stargazers_count":86,"open_issues_count":2,"forks_count":14,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-06T15:11:32.709Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CamHenlin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-04T00:54:13.000Z","updated_at":"2023-07-11T08:15:19.000Z","dependencies_parsed_at":"2022-09-06T21:52:38.564Z","dependency_job_id":null,"html_url":"https://github.com/CamHenlin/iMessageModule","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CamHenlin%2FiMessageModule","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CamHenlin%2FiMessageModule/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CamHenlin%2FiMessageModule/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CamHenlin%2FiMessageModule/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CamHenlin","download_url":"https://codeload.github.com/CamHenlin/iMessageModule/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247530982,"owners_count":20953883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T15:03:11.007Z","updated_at":"2025-04-06T18:31:45.477Z","avatar_url":"https://github.com/CamHenlin.png","language":"JavaScript","readme":"# Node iMessage Module\n## Requires OS X 10.7 or better, and an active iMessage account\n\n### What is this?\nThis is a node module that allows you to send iMessages, assuming you are running on a Mac that's signed in to an iMessage account.\n\n### How do I use it in my project?\n\nLike this:\n```\nvar imessagemodule = require(\"iMessageModule\");\n\nimessagemodule.sendMessage(\"recipient email, phone, or chat title\", \"message text\", function(err) {});\n```\n\nIt's really that simple! And you can send the messages as quickly as you like. iMessageModule will queue up them and send them as quickly as Messages.app will allow.\n\n### What's the purpose?\nNothing else on npm seems to deal with group chats correctly. I wanted something to use in my own project that I believed worked reliably and as quickly as possible. This uses an Automator script to run handle interacting with Messages.app. Should work with OS X 10.7 or better.\n\n### Why doesn't this handle reading the database?\nThere's already a pretty good library for that on npm at [imessage](https://www.npmjs.com/package/imessage) but personally I just read the Messages SQLite database directly in my other projects at [imessageclient](https://github.com/CamHenlin/imessageclient), [iMessageWebClient](https://github.com/CamHenlin/iMessageWebClient), and [imessagebot](https://github.com/CamHenlin/imessagebot).\n\n## This is clunky!\nThis would be better if it used some private APIs within OS X, but could be improved to use more. Private APIs within OS X should be able to be used to completely send messages without the use of Messages.app, but I haven't figured out how to do so yet. Right now I am using some private APIs to open a new message window and prefilling the To: field. Maybe you can help out and contribute? Check out [nodeprivatemessageskit](https://github.com/camhenlin/nodeprivatemessageskit) for more info.","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCamHenlin%2FiMessageModule","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCamHenlin%2FiMessageModule","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCamHenlin%2FiMessageModule/lists"}